From 9c87bdf133e6c92781d40a43e67d626eac3b34c3 Mon Sep 17 00:00:00 2001 From: Conor McManus Date: Thu, 5 Jan 2023 14:23:11 +0100 Subject: [PATCH] Add fixes for ci-cd from baro project --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f75fcbe..d43de01 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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