Update .gitlab-ci.yml
This commit is contained in:
@@ -15,9 +15,6 @@ 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
|
||||||
only:
|
|
||||||
changes:
|
|
||||||
- terraform/*
|
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||||
|
|
||||||
@@ -33,6 +30,10 @@ apply:
|
|||||||
- terraform/*
|
- terraform/*
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_BRANCH == "main"'
|
- if: '$CI_COMMIT_BRANCH == "main"'
|
||||||
|
changes:
|
||||||
|
compare_to: refs/heads/main
|
||||||
|
paths:
|
||||||
|
- '/terraform/*'
|
||||||
|
|
||||||
|
|
||||||
#apply:
|
#apply:
|
||||||
|
|||||||
Reference in New Issue
Block a user