Merge branch 'add-deploy-envs' into 'master'
Add envs See merge request spengreb/ephemeral-jamulus!3
This commit is contained in:
commit
0ee92b0eac
1 changed files with 24 additions and 0 deletions
|
|
@ -35,6 +35,30 @@ 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:
|
||||||
|
- tf-plan
|
||||||
|
when: manual
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
|
||||||
|
tf-apply:
|
||||||
|
stage: tf-apply
|
||||||
|
image:
|
||||||
|
name: hashicorp/terraform
|
||||||
|
entrypoint: [""]
|
||||||
|
before_script:
|
||||||
|
- apk add ansible
|
||||||
|
- ansible-galaxy collection install community.docker
|
||||||
|
- chmod 600 jamulus.pem
|
||||||
|
script:
|
||||||
|
- terraform init
|
||||||
|
- terraform apply plan.tfplan
|
||||||
|
environment:
|
||||||
|
name: Public Jammin
|
||||||
|
url: https://ejam.vereto.net
|
||||||
dependencies:
|
dependencies:
|
||||||
- tf-plan
|
- tf-plan
|
||||||
when: manual
|
when: manual
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue