mirror of
https://gitlab.durp.info/durfy/ci-includes/yml.git
synced 2026-05-07 07:50:30 -05:00
Update file terraform.yml
This commit is contained in:
parent
70c53b18a8
commit
9cd1491c49
1 changed files with 0 additions and 15 deletions
|
|
@ -9,27 +9,15 @@ include:
|
|||
file:
|
||||
- 'jobs/terraform.yml'
|
||||
|
||||
workflow:
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH
|
||||
changes:
|
||||
- terraform/**
|
||||
|
||||
format:
|
||||
stage: .pre
|
||||
allow_failure: false
|
||||
extends: .terraform_fmt
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||
when: always
|
||||
|
||||
validate:
|
||||
stage: .pre
|
||||
allow_failure: false
|
||||
extends: .terraform_validate
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||
when: always
|
||||
|
||||
plan:
|
||||
stage: plan
|
||||
|
|
@ -38,9 +26,6 @@ plan:
|
|||
allow_failure: false
|
||||
extends: .terraform_plan
|
||||
needs: ["validate","format"]
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||
when: always
|
||||
|
||||
apply:
|
||||
stage: apply
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue