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:
|
file:
|
||||||
- 'jobs/terraform.yml'
|
- 'jobs/terraform.yml'
|
||||||
|
|
||||||
workflow:
|
|
||||||
rules:
|
|
||||||
- if: $CI_COMMIT_BRANCH
|
|
||||||
changes:
|
|
||||||
- terraform/**
|
|
||||||
|
|
||||||
format:
|
format:
|
||||||
stage: .pre
|
stage: .pre
|
||||||
allow_failure: false
|
allow_failure: false
|
||||||
extends: .terraform_fmt
|
extends: .terraform_fmt
|
||||||
rules:
|
|
||||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
||||||
when: always
|
|
||||||
|
|
||||||
validate:
|
validate:
|
||||||
stage: .pre
|
stage: .pre
|
||||||
allow_failure: false
|
allow_failure: false
|
||||||
extends: .terraform_validate
|
extends: .terraform_validate
|
||||||
rules:
|
|
||||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
||||||
when: always
|
|
||||||
|
|
||||||
plan:
|
plan:
|
||||||
stage: plan
|
stage: plan
|
||||||
|
|
@ -38,9 +26,6 @@ plan:
|
||||||
allow_failure: false
|
allow_failure: false
|
||||||
extends: .terraform_plan
|
extends: .terraform_plan
|
||||||
needs: ["validate","format"]
|
needs: ["validate","format"]
|
||||||
rules:
|
|
||||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
||||||
when: always
|
|
||||||
|
|
||||||
apply:
|
apply:
|
||||||
stage: apply
|
stage: apply
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue