Update .gitlab-ci.yml
This commit is contained in:
@@ -19,9 +19,10 @@ plan:
|
|||||||
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/*'
|
- 'terraform/*'
|
||||||
|
- when: never
|
||||||
|
|
||||||
k3s:
|
k3s:
|
||||||
stage: build
|
stage: build
|
||||||
@@ -33,7 +34,8 @@ k3s:
|
|||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_BRANCH == "main"'
|
- if: '$CI_COMMIT_BRANCH == "main"'
|
||||||
- changes:
|
- changes:
|
||||||
- 'terraform/*'
|
- 'terraform/*'
|
||||||
|
- when: never
|
||||||
|
|
||||||
k3s-ansible:
|
k3s-ansible:
|
||||||
stage: build
|
stage: build
|
||||||
|
|||||||
Reference in New Issue
Block a user