Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
a6fb4c46
Commit
a6fb4c46
authored
May 10, 2020
by
Sven-Hendrik Haase
Browse files
Run terraform validate on both stages
parent
02112b04
Pipeline
#59
failed with stage
in 1 minute and 15 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
a6fb4c46
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment