Update .gitlab-ci.yml

This commit is contained in:
2022-11-05 13:06:46 +00:00
parent d1c712e8fc
commit fc8f6ae53a

View File

@@ -10,6 +10,21 @@ include:
- 'terraform.yml'
- 'ansible.yml'
format:
stage: lint
variables:
WORKDIR: $CI_PROJECT_DIR/terraform
allow_failure: false
extends: .terraform_fmt
#rules:
# - if: $CI_PIPELINE_SOURCE == "merge_request_event"
# changes:
# compare_to: refs/heads/main
# paths:
# - 'terraform/*'
# when: always
# - when: never
plan:
stage: lint
variables: