Loading .gitlab-ci.yml +4 −2 Original line number Diff line number Diff line Loading @@ -22,7 +22,8 @@ include: } function assert_defined() { if [[ -z "${!1}" ]] val=$(eval echo "\$$1") if [[ -z "$val" ]] then log_error "Variable '$1' should be defined" TBC_TEST_FAILS=$((TBC_TEST_FAILS + 1)) Loading @@ -30,7 +31,8 @@ include: } function refute_defined() { if [[ "${!1}" ]] val=$(eval echo "\$$1") if [[ "$val" ]] then log_error "Variable '$1' should not be defined" TBC_TEST_FAILS=$((TBC_TEST_FAILS + 1)) Loading Loading
.gitlab-ci.yml +4 −2 Original line number Diff line number Diff line Loading @@ -22,7 +22,8 @@ include: } function assert_defined() { if [[ -z "${!1}" ]] val=$(eval echo "\$$1") if [[ -z "$val" ]] then log_error "Variable '$1' should be defined" TBC_TEST_FAILS=$((TBC_TEST_FAILS + 1)) Loading @@ -30,7 +31,8 @@ include: } function refute_defined() { if [[ "${!1}" ]] val=$(eval echo "\$$1") if [[ "$val" ]] then log_error "Variable '$1' should not be defined" TBC_TEST_FAILS=$((TBC_TEST_FAILS + 1)) Loading