From ad7a51b15ba2733fc6844d13ad4b8b93992d17bf Mon Sep 17 00:00:00 2001 From: Zach Hoffman Date: Thu, 14 Oct 2021 04:00:20 -0600 Subject: [PATCH] TO and TP integration tests GHAs: Do not export CiaB environment variables --- .github/actions/to-integration-tests/entrypoint.sh | 2 -- .github/actions/tp-integration-tests/entrypoint.sh | 2 -- 2 files changed, 4 deletions(-) diff --git a/.github/actions/to-integration-tests/entrypoint.sh b/.github/actions/to-integration-tests/entrypoint.sh index bf8ad39a0f..7171873471 100755 --- a/.github/actions/to-integration-tests/entrypoint.sh +++ b/.github/actions/to-integration-tests/entrypoint.sh @@ -109,8 +109,6 @@ resources="$(dirname "$0")" envsubst <"${resources}/cdn.json" >cdn.conf cp "${resources}/database.json" database.conf -export $(<"${ciab_dir}/variables.env" sed '/^#/d') # defines TV_ADMIN_USER/PASSWORD - truncate --size=0 traffic.ops.log # Removes output from previous API versions and makes sure files exist ./traffic_ops_golang --cfg ./cdn.conf --dbcfg ./database.conf & diff --git a/.github/actions/tp-integration-tests/entrypoint.sh b/.github/actions/tp-integration-tests/entrypoint.sh index 94398700cf..4993d72de3 100755 --- a/.github/actions/tp-integration-tests/entrypoint.sh +++ b/.github/actions/tp-integration-tests/entrypoint.sh @@ -110,9 +110,7 @@ to_build() { envsubst <"${resources}/cdn.json" >cdn.conf cp "${resources}/database.json" database.conf - export $(<"${ciab_dir}/variables.env" sed '/^#/d') # defines TV_ADMIN_USER/PASSWORD truncate -s0 out.log - ./traffic_ops_golang --cfg ./cdn.conf --dbcfg ./database.conf >out.log 2>&1 & popd }