mirror of
https://gitlab.durp.info/durfy/ci-includes/yml.git
synced 2026-05-07 16:00:31 -05:00
Update file terraform.yml
This commit is contained in:
parent
81e318b0ac
commit
70c53b18a8
1 changed files with 2 additions and 9 deletions
|
|
@ -22,7 +22,6 @@ format:
|
|||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||
when: always
|
||||
- when: never
|
||||
|
||||
validate:
|
||||
stage: .pre
|
||||
|
|
@ -30,8 +29,7 @@ validate:
|
|||
extends: .terraform_validate
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||
when: always
|
||||
- when: never
|
||||
when: always
|
||||
|
||||
plan:
|
||||
stage: plan
|
||||
|
|
@ -43,7 +41,6 @@ plan:
|
|||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||
when: always
|
||||
- when: never
|
||||
|
||||
apply:
|
||||
stage: apply
|
||||
|
|
@ -52,11 +49,7 @@ apply:
|
|||
allow_failure: false
|
||||
extends: .terraform_apply
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == "schedule"
|
||||
when: never
|
||||
- if: '$CI_COMMIT_BRANCH == "main"'
|
||||
when: always
|
||||
- when: never
|
||||
- when: manual
|
||||
|
||||
destroy:
|
||||
stage: destroy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue