Skip to content

Commit eefd744

Browse files
committed
debug
1 parent f7313ea commit eefd744

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,17 @@ jobs:
4343
--health-interval 10s
4444
--health-timeout 5s
4545
--health-retries 5
46+
db-1:
47+
image: postgres:16-alpine
48+
env:
49+
POSTGRES_DB: spi_test
50+
POSTGRES_USER: spi_test
51+
POSTGRES_PASSWORD: xxx
52+
options: >-
53+
--health-cmd pg_isready
54+
--health-interval 10s
55+
--health-timeout 5s
56+
--health-retries 5
4657
steps:
4758
- name: GH Runner bug workaround
4859
run: sysctl -w vm.mmap_rnd_bits=28
@@ -51,6 +62,7 @@ jobs:
5162
apt-get update && apt -y install postgresql
5263
which psql
5364
PGPASSWORD=xxx psql -h db-0 -U spi_test spi_test -p 5432 -c "select 'ok';"
65+
PGPASSWORD=xxx psql -h db-1 -U spi_test spi_test -p 5432 -c "select 'ok';"
5466
env:
5567
COLLECTION_SIGNING_PRIVATE_KEY: ${{ secrets.COLLECTION_SIGNING_PRIVATE_KEY }}
5668
DATABASEPOOL_SIZE: 8

0 commit comments

Comments
 (0)