diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3a123016117746f0466d2d42533897abf4de7be1..ff71131ee43b85e9f7175773e92424d74b7b1e1e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,6 +5,15 @@ include: - project: shore/ci-templates file: templates/terraform.yml +default: + before_script: + # yamllint disable-line rule:line-length + - wget https://releases.hashicorp.com/terraform/0.15.3/terraform_0.15.3_linux_amd64.zip -O /tmp/terraform.zip + - unzip /tmp/terraform.zip terraform -d /usr/local/bin/ + - terraform version + - rm -r .terraform* + - touch payload.zip + Generate payload: stage: build image: registry.shore.co.il/ci-images:python3 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9c8f669f28a957f5dae2e885b03a7872534287a0..a0149885acb0bab5eef12d50d576fea1a503ac4c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -82,7 +82,7 @@ repos: - https://git.shore.co.il - repo: https://git.shore.co.il/nimrod/terraform-pre-commit.git - rev: v0.1.0 + rev: v0.1.2 hooks: - id: tf-fmt - id: tf-validate