infrastructure/.gitlab-ci.yml
2021-07-11 17:02:36 +01:00

18 lines
396 B
YAML

terraform:
image: hashicorp/terraform:latest
before_script:
- ./scripts/terraform/terraform.sh init -backend=false
script:
- ./scripts/terraform/lint.sh
ansible:
image: python:3.9-alpine
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
cache:
paths:
- .cache/pip
before_script:
- ./scripts/ansible/setup.sh
script:
- ./scripts/ansible/lint.sh