mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 00:55:55 +00:00
12 lines
497 B
Bash
Executable file
12 lines
497 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# To run script: ./teardownSmokeTest.sh
|
|
# requires TF_VAR_gitlab_token env var to be set
|
|
if [ -z ${TF_VAR_gitlab_token+x} ]; then echo "TF_VAR_gitlab_token is unset"; else echo "TF_VAR_gitlab_token is set to '$TF_VAR_gitlab_token'"; fi
|
|
|
|
# requires TF_VAR_branch env var to be set
|
|
if [ -z ${TF_VAR_branch+x} ]; then echo "TF_VAR_branch is unset"; else echo "TF_VAR_branch is set to '$TF_VAR_branch'"; fi
|
|
|
|
cd qa/tf/ci/smoketest
|
|
export TF_IN_AUTOMATION=1
|
|
terraform destroy -auto-approve
|