This commit is contained in:
Conor McManus 2023-01-05 16:20:37 +01:00
parent 63930e5d34
commit c9bcfb8f41

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