Update .gitlab-ci.yml
This commit is contained in:
@@ -9,8 +9,7 @@ include:
|
|||||||
file:
|
file:
|
||||||
- 'terraform.yml'
|
- 'terraform.yml'
|
||||||
- 'ansible.yml'
|
- 'ansible.yml'
|
||||||
|
|
||||||
|
|
||||||
plan:
|
plan:
|
||||||
stage: lint
|
stage: lint
|
||||||
variables:
|
variables:
|
||||||
@@ -18,10 +17,13 @@ plan:
|
|||||||
ARGUMENTS: -var=pm_password=$pm_password -var=pm_api_url=$pm_api_url -var-file=terraform.tfvars
|
ARGUMENTS: -var=pm_password=$pm_password -var=pm_api_url=$pm_api_url -var-file=terraform.tfvars
|
||||||
allow_failure: false
|
allow_failure: false
|
||||||
extends: .terraform_plan
|
extends: .terraform_plan
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||||
- changes:
|
changes:
|
||||||
- 'terraform/*'
|
compare_to: refs/heads/main
|
||||||
|
paths:
|
||||||
|
- 'terraform/*'
|
||||||
|
when: always
|
||||||
- when: never
|
- when: never
|
||||||
|
|
||||||
k3s:
|
k3s:
|
||||||
|
|||||||
Reference in New Issue
Block a user