From 1e35ff22cdb6a2bbd386b5aa1b9a2c24d81bd6f4 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Thu, 22 Sep 2022 16:46:34 +0300 Subject: [PATCH] Hack to work around broken POSTGRES_DISTRIB_DIR path since v15 support --- .github/workflows/benchmarking.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/benchmarking.yml b/.github/workflows/benchmarking.yml index a967b10f13..3921f98952 100644 --- a/.github/workflows/benchmarking.yml +++ b/.github/workflows/benchmarking.yml @@ -140,7 +140,7 @@ jobs: env: TEST_PG_BENCH_DURATIONS_MATRIX: "60m" TEST_PG_BENCH_SCALES_MATRIX: "10gb" - POSTGRES_DISTRIB_DIR: /usr + POSTGRES_DISTRIB_DIR: /tmp/pg_install TEST_OUTPUT: /tmp/test_output BUILD_TYPE: remote SAVE_PERF_REPORT: ${{ github.event.inputs.save_perf_report || ( github.ref == 'refs/heads/main' ) }} @@ -201,6 +201,13 @@ jobs: env: PLATFORM: ${{ matrix.platform }} + - name: Hack psql path + run: | + mkdir /tmp/pg_install + ln -s /usr/ /tmp/pg_install/v14 + env: + BENCHMARK_CONNSTR: ${{ steps.set-up-connstr.outputs.connstr }} + - name: Set database options if: matrix.platform == 'neon-captest-prefetch' run: |