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