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: 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