File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -457,17 +457,21 @@ jobs:
457
457
runs-on : [ self-hosted, us-east-2, x64 ]
458
458
container :
459
459
image : 369495373322.dkr.ecr.eu-central-1.amazonaws.com/build-tools:pinned
460
- options : --init
460
+ options : --init --user root
461
461
462
462
steps :
463
463
- uses : actions/checkout@v4
464
464
465
- - name : Download Neon artifact
466
- uses : ./.github/actions/download
467
- with :
468
- name : neon-${{ runner.os }}-${{ runner.arch }}-release-artifact
469
- path : /tmp/neon/
470
- prefix : latest
465
+ # until https://github.com/neondatabase/neon/issues/8275 is fixed we temporarily install postgresql-16
466
+ # instead of using Neon artifacts containing pgbench
467
+ - name : Install postgresql-16 where pytest expects it
468
+ run : |
469
+ apt-get update && apt-get install -y postgresql-common
470
+ /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y
471
+ apt-get -y install postgresql-16
472
+ mkdir -p /tmp/neon/pg_install/v16/bin
473
+ ln -s /usr/bin/pgbench /tmp/neon/pg_install/v16/bin/pgbench
474
+ ln -s /usr/bin/psql /tmp/neon/pg_install/v16/bin/psql
471
475
472
476
- name : Set up Connection String
473
477
id : set-up-connstr
You can’t perform that action at this time.
0 commit comments