mirror of
https://gitlab.durp.info/durfy/ci-includes/yml.git
synced 2026-05-07 07:50:30 -05:00
Update file terraform-gitlab.yml
This commit is contained in:
parent
6391a67b52
commit
b8a1ffd020
1 changed files with 33 additions and 0 deletions
33
pipelines/terraform-gitlab.yml
Normal file
33
pipelines/terraform-gitlab.yml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
stages:
|
||||
- plan
|
||||
- apply
|
||||
- destroy
|
||||
|
||||
include:
|
||||
- project: 'developerdurp/yml'
|
||||
ref: main
|
||||
file:
|
||||
- 'jobs/terraform.yml'
|
||||
|
||||
format:
|
||||
stage: .pre
|
||||
allow_failure: false
|
||||
extends: .terraform_fmt
|
||||
|
||||
validate:
|
||||
stage: .pre
|
||||
allow_failure: false
|
||||
extends: .terraform_validate
|
||||
|
||||
plan:
|
||||
stage: plan
|
||||
allow_failure: false
|
||||
extends: .terraform_plan
|
||||
needs: ["validate","format"]
|
||||
|
||||
apply:
|
||||
stage: apply
|
||||
allow_failure: false
|
||||
extends: .terraform_apply
|
||||
rules:
|
||||
- when: manual
|
||||
Loading…
Add table
Add a link
Reference in a new issue