mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-18 08:06:16 +01:00
21 lines
553 B
YAML
21 lines
553 B
YAML
image: "archlinux:latest"
|
|
|
|
before_script:
|
|
- 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
|
|
|
|
terraform-validate:
|
|
script:
|
|
- cd tf-stage1
|
|
- terraform init -backend=false
|
|
- terraform validate
|
|
- cd ../tf-stage2
|
|
- terraform init -backend=false
|
|
- terraform validate
|