Add fixes for ci-cd from baro project
This commit is contained in:
parent
d6542f933a
commit
9c87bdf133
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue