diff --git a/.github/actions/run-python-test-set/action.yml b/.github/actions/run-python-test-set/action.yml index 2344fba13c..01ddced313 100644 --- a/.github/actions/run-python-test-set/action.yml +++ b/.github/actions/run-python-test-set/action.yml @@ -80,14 +80,14 @@ runs: env: NEON_BIN: /tmp/neon/bin TEST_OUTPUT: /tmp/test_output - # this variable will be embedded in perf test report - # and is needed to distinguish different environments - PLATFORM: github-actions-selfhosted BUILD_TYPE: ${{ inputs.build_type }} AWS_ACCESS_KEY_ID: ${{ inputs.real_s3_access_key_id }} AWS_SECRET_ACCESS_KEY: ${{ inputs.real_s3_secret_access_key }} shell: bash -euxo pipefail {0} run: | + # PLATFORM will be embedded in the perf test report + # and it is needed to distinguish different environments + export PLATFORM=${PLATFORM:-github-actions-selfhosted} export POSTGRES_DISTRIB_DIR=${POSTGRES_DISTRIB_DIR:-/tmp/neon/pg_install} if [ "${BUILD_TYPE}" = "remote" ]; then @@ -155,7 +155,7 @@ runs: if [[ "${{ inputs.save_perf_report }}" == "true" ]]; then if [[ "$GITHUB_REF" == "refs/heads/main" ]]; then export REPORT_FROM="$PERF_REPORT_DIR" - export REPORT_TO=local + export REPORT_TO="$PLATFORM" scripts/generate_and_push_perf_report.sh fi fi