Merge branch 'add-deploy-envs' into 'master'

Add envs

See merge request spengreb/ephemeral-jamulus!3
This commit is contained in:
spengreb 2023-01-05 15:38:33 +00:00
commit 0ee92b0eac

View file

@ -35,6 +35,30 @@ tf-apply:
script:
- terraform init
- 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:
- tf-plan
when: manual