Add fixes for ci-cd from baro project

This commit is contained in:
Conor McManus 2023-01-05 14:23:11 +01:00
parent d6542f933a
commit 9c87bdf133

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