aboutsummaryrefslogtreecommitdiffstats
path: root/csit.infra.dash/do_release.sh
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2023-02-07 08:00:57 +0000
committerPeter Mikus <peter.mikus@protonmail.ch>2023-02-07 08:08:18 +0000
commit154ebb61e6dcb8f7a3c84bde5aae7b373322d45f (patch)
tree044aca8261eb3667807430f8f3273cfde62c110c /csit.infra.dash/do_release.sh
parent6aecd61f0808c995d0003272f2ef2da7ea0fca26 (diff)
feat(dash): Change deploy script
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I3a7e3ec03adc80f6c5ab70c7e010957f097b8950
Diffstat (limited to 'csit.infra.dash/do_release.sh')
-rwxr-xr-xcsit.infra.dash/do_release.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/csit.infra.dash/do_release.sh b/csit.infra.dash/do_release.sh
index 2b49bd63b3..06d988c082 100755
--- a/csit.infra.dash/do_release.sh
+++ b/csit.infra.dash/do_release.sh
@@ -14,11 +14,12 @@ popd
pushd "../fdio.infra.terraform/"
pushd "terraform-aws-fdio-csit-dash-app-base"
-export BUILD_ID=43
+export BUILD_ID=44
export TF_VAR_application_version="${BUILD_ID-}"
export TF_LOG=INFO
-terraform validate
+terraform state rm
terraform init
+terraform validate
terraform apply -no-color -auto-approve
application_version="$(terraform output application_version)"
popd