Add ci cd #2

Merged
spengreb merged 2 commits from add-ci-cd into master 2023-01-05 13:25:32 +00:00
Showing only changes of commit 9c87bdf133 - Show all commits

View file

@ -31,6 +31,7 @@ tf-apply:
before_script:
- apk add ansible
- ansible-galaxy collection install community.docker
- chmod 600 barotrauma.pem
script:
- terraform init
- terraform apply plan.tfplan
@ -47,9 +48,10 @@ tf-destroy:
entrypoint: [""]
before_script:
- apk add ansible
- chmod 600 barotrauma.pem
script:
- terraform init
- terraform destroy plan.tfplan
- terraform destroy
dependencies:
- tf-plan
when: manual