Commit a6fb4c46 authored by Sven-Hendrik Haase's avatar Sven-Hendrik Haase
Browse files

Run terraform validate on both stages

parent 02112b04
Pipeline #59 failed with stage
in 1 minute and 15 seconds
image: "archlinux:latest"
before_script:
- pacman -Syu --needed --noconfirm ansible-lint
- pacman -Syu --needed --noconfirm ansible-lint terraform terraform-provider-keycloak
ansible-lint:
script:
# Fix weird ansible bug: https://github.com/trailofbits/algo/issues/1637
# This probably happens due to gitlab-runner mounting the git repo into the container
- chmod o-w .
- ansible-lint
- ansible-lint
terraform-validate:
script:
- cd tf-stage1
- terraform init -backend=false
- terraform validate
- cd ../tf-stage2
- terraform init -backend=false
- terraform validate
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment