You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by mi...@apache.org on 2021/10/14 16:40:32 UTC
[trafficcontrol] branch master updated: TO and TP integration tests
GHAs: Do not export CiaB environment variables (#6284)
This is an automated email from the ASF dual-hosted git repository.
mitchell852 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git
The following commit(s) were added to refs/heads/master by this push:
new 237d40e TO and TP integration tests GHAs: Do not export CiaB environment variables (#6284)
237d40e is described below
commit 237d40ec3db78ce80ce27f6dfe917eaef78f0a76
Author: Zach Hoffman <zr...@apache.org>
AuthorDate: Thu Oct 14 16:40:18 2021 +0000
TO and TP integration tests GHAs: Do not export CiaB environment variables (#6284)
---
.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 bf8ad39..7171873 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 9439870..4993d72 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
}