From f232748d37ae1d824791987c5fd8c7d9204a2ff8 Mon Sep 17 00:00:00 2001 From: ocket8888 Date: Wed, 10 Jan 2024 10:52:23 -0700 Subject: [PATCH] Remove running TPv2 server and collecting logs --- .github/actions/tpv2-integration-tests/config.json | 8 -------- .github/actions/tpv2-integration-tests/entrypoint.sh | 4 ---- .github/workflows/tpv2.yml | 1 - 3 files changed, 13 deletions(-) delete mode 100644 .github/actions/tpv2-integration-tests/config.json diff --git a/.github/actions/tpv2-integration-tests/config.json b/.github/actions/tpv2-integration-tests/config.json deleted file mode 100644 index 00d1287511..0000000000 --- a/.github/actions/tpv2-integration-tests/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "insecure": true, - "port": 4200, - "trafficOps": "https://localhost:6443", - "tpv1Url": "https://localhost", - "useSSL": false, - "browserFolder": "$GITHUB_WORKSPACE/$BROWSER_FOLDER" -} diff --git a/.github/actions/tpv2-integration-tests/entrypoint.sh b/.github/actions/tpv2-integration-tests/entrypoint.sh index 4970b66a0d..e6d9343021 100755 --- a/.github/actions/tpv2-integration-tests/entrypoint.sh +++ b/.github/actions/tpv2-integration-tests/entrypoint.sh @@ -26,10 +26,6 @@ envsubst <../../.github/actions/tpv2-integration-tests/cdn.json >./cdn.conf ./traffic_ops_golang --cfg ./cdn.conf --dbcfg ../../.github/actions/tpv2-integration-tests/database.json > out.log 2>&1 & -cd "${GITHUB_WORKSPACE}/experimental/traffic-portal/dist/traffic-portal" -envsubst <${GITHUB_WORKSPACE}/.github/actions/tpv2-integration-tests/config.json >./config.json -node ./server/main.js -C config.json > "${GITHUB_WORKSPACE}/tp.log" 2>&1 & - timeout 3m bash </dev/null 2>&1; do echo "waiting for TO API" diff --git a/.github/workflows/tpv2.yml b/.github/workflows/tpv2.yml index 9ca1fb88be..354b0ded84 100644 --- a/.github/workflows/tpv2.yml +++ b/.github/workflows/tpv2.yml @@ -267,7 +267,6 @@ jobs: traffic_ops/traffic_ops_golang/out.log experimental/traffic-portal/logs experimental/traffic-portal/cypress/screenshots - tp.log - name: Save Alpine Docker image run: .github/actions/save-alpine-tar/entrypoint.sh save ${{ env.ALPINE_VERSION }}