Newer
Older
- apt-get update
- apt-get install -y terraform
Generate payload:
stage: build
image: registry.shore.co.il/ci-images:python3
variables:
XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache"
before_script:
- apt-get update
script:
make payload.zip
artifacts:
paths:
- payload.zip
cache:
paths:
- .cache/
Terraform plan:
cache:
paths: &tf_cache
- .terraform
- .terraform.lock.hcl
dependencies: &tf_apply_dependecies
- Generate payload
- Terraform plan
needs: *tf_apply_dependecies