Skip to content

Commit

Permalink
Update inspec container for new rubocop and terraform versions
Browse files Browse the repository at this point in the history
  • Loading branch information
slevenick committed Dec 12, 2019
1 parent fa41cff commit 6130258
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .ci/acceptance-tests/inspec-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ image_resource:
type: docker-image
source:
repository: gcr.io/magic-modules/terraform-gcloud-inspec
tag: '0.12.7-4.0'
tag: '0.12.16-4.0'

run:
path: magic-modules-gcp/.ci/acceptance-tests/inspec-integration.sh
2 changes: 1 addition & 1 deletion .ci/acceptance-tests/inspec-post-approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ image_resource:
type: docker-image
source:
repository: gcr.io/magic-modules/terraform-gcloud-inspec
tag: '0.12.7-4.0'
tag: '0.12.16-4.0'

run:
path: mm-approved-prs/.ci/acceptance-tests/inspec-post-approve.sh
2 changes: 1 addition & 1 deletion .ci/acceptance-tests/inspec-post-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ image_resource:
type: docker-image
source:
repository: gcr.io/magic-modules/terraform-gcloud-inspec
tag: '0.12.7-4.0'
tag: '0.12.16-4.0'

run:
path: mm-approved-prs/.ci/acceptance-tests/inspec-post-merge.sh
2 changes: 1 addition & 1 deletion .ci/acceptance-tests/inspec-vcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ image_resource:
type: docker-image
source:
repository: gcr.io/magic-modules/terraform-gcloud-inspec
tag: '0.12.7-4.0'
tag: '0.12.16-4.0'

run:
path: magic-modules-new-prs/.ci/acceptance-tests/inspec-vcr.sh
4 changes: 2 additions & 2 deletions .ci/containers/terraform-gcloud-inspec/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM gcr.io/magic-modules/go-ruby-python:1.11.5-2.6.0-2.7-v4

RUN apt-get install unzip
RUN curl https://releases.hashicorp.com/terraform/0.12.7/terraform_0.12.7_linux_amd64.zip > terraform_0.12.7_linux_amd64.zip
RUN unzip terraform_0.12.7_linux_amd64.zip -d /usr/bin
RUN curl https://releases.hashicorp.com/terraform/0.12.16/terraform_0.12.16_linux_amd64.zip > terraform_0.12.16_linux_amd64.zip
RUN unzip terraform_0.12.16_linux_amd64.zip -d /usr/bin
# Install google cloud sdk
RUN echo "deb http://packages.cloud.google.com/apt cloud-sdk-stretch main" >> /etc/apt/sources.list.d/google-cloud-sdk.list
RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
Expand Down
2 changes: 1 addition & 1 deletion .ci/magic-modules/coverage-spreadsheet-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ image_resource:
type: docker-image
source:
repository: gcr.io/magic-modules/terraform-gcloud-inspec
tag: '0.12.7-4.0'
tag: '0.12.16-4.0'

inputs:
- name: magic-modules-gcp
Expand Down
2 changes: 1 addition & 1 deletion .ci/unit-tests/inspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ image_resource:
type: docker-image
source:
repository: gcr.io/magic-modules/terraform-gcloud-inspec
tag: '0.12.7-4.0'
tag: '0.12.16-4.0'
run:
path: magic-modules/.ci/unit-tests/inspec.sh
params:
Expand Down

0 comments on commit 6130258

Please sign in to comment.