.gitlab-ci.yml 419 Bytes
Newer Older
Mike Horwath's avatar
Mike Horwath committed
1
2
3
4
5
6
7
8
9
10
11
image: alpine:latest

job:
  script:
    - apk update && apk upgrade && apk add git
    - wget -q https://releases.hashicorp.com/terraform/0.11.13/terraform_0.11.13_linux_amd64.zip -O/tmp/terraform.zip
    - unzip /tmp/terraform.zip -d /usr/bin
    - chmod 0755 /usr/bin/terraform
    - echo "removing backend.tf to test init" && rm -f backend.tf
    - /usr/bin/terraform version
    - /usr/bin/terraform init -upgrade