Skip to content
Snippets Groups Projects
Unverified Commit 6cf02038 authored by Timo Furrer's avatar Timo Furrer
Browse files

Rename `DEBUG_OUTPUT` to `GITLAB_TOFU_DEBUG`

Changelog: changed
parent bee398de
No related branches found
No related tags found
No related merge requests found
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
# #
# Respected Environment Variables: # Respected Environment Variables:
# -------------------------------- # --------------------------------
# GITLAB_TOFU_DEBUG: if set to true will enable xtrace.
# GITLAB_TOFU_SOURCE: forces this script in source-mode. Required when source auto-detection fails. # GITLAB_TOFU_SOURCE: forces this script in source-mode. Required when source auto-detection fails.
# GITLAB_TOFU_APPLY_NO_PLAN: if set to true, the apply command does not use a plan cache file. # GITLAB_TOFU_APPLY_NO_PLAN: if set to true, the apply command does not use a plan cache file.
# GITLAB_TOFU_PLAN_NAME: the name of the plan cache and json files. Defaults to `plan`. # GITLAB_TOFU_PLAN_NAME: the name of the plan cache and json files. Defaults to `plan`.
...@@ -42,7 +43,7 @@ ...@@ -42,7 +43,7 @@
# set some shell options # set some shell options
set -o errexit set -o errexit
if [ "${DEBUG_OUTPUT}" = "true" ]; then if [ "${GITLAB_TOFU_DEBUG}" = "true" ]; then
set -o xtrace set -o xtrace
fi fi
......
...@@ -7,7 +7,7 @@ load "$BATS_LIBS/bats-support/load" ...@@ -7,7 +7,7 @@ load "$BATS_LIBS/bats-support/load"
load "$BATS_LIBS/bats-assert/load" load "$BATS_LIBS/bats-assert/load"
setup() { setup() {
export DEBUG_OUTPUT=true export GITLAB_TOFU_DEBUG=true
# Change cwd to test specific directory # Change cwd to test specific directory
cd "$BATS_TEST_TMPDIR" cd "$BATS_TEST_TMPDIR"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment