add condition for broadcast server
This commit is contained in:
parent
227930cb33
commit
41383e2a47
1 changed files with 9 additions and 3 deletions
|
|
@ -38,7 +38,7 @@ tf-plan-public:
|
||||||
paths:
|
paths:
|
||||||
- plan.tfplan
|
- plan.tfplan
|
||||||
|
|
||||||
tf-apply:
|
tf-apply-private:
|
||||||
stage: tf-apply
|
stage: tf-apply
|
||||||
image:
|
image:
|
||||||
name: hashicorp/terraform
|
name: hashicorp/terraform
|
||||||
|
|
@ -50,8 +50,11 @@ tf-apply:
|
||||||
script:
|
script:
|
||||||
- terraform init
|
- terraform init
|
||||||
- terraform apply plan.tfplan
|
- terraform apply plan.tfplan
|
||||||
|
environment:
|
||||||
|
name: Just Jammin
|
||||||
|
url: https://ejam.vereto.net
|
||||||
dependencies:
|
dependencies:
|
||||||
- tf-plan
|
- tf-plan-private
|
||||||
when: manual
|
when: manual
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
|
@ -68,8 +71,11 @@ tf-apply-public:
|
||||||
script:
|
script:
|
||||||
- terraform init
|
- terraform init
|
||||||
- terraform apply plan.tfplan
|
- terraform apply plan.tfplan
|
||||||
|
environment:
|
||||||
|
name: Public Jammin
|
||||||
|
url: https://ejam.vereto.net
|
||||||
dependencies:
|
dependencies:
|
||||||
- tf-plan
|
- tf-plan-public
|
||||||
when: manual
|
when: manual
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue