Skip to content

Commit 900f71a

Browse files
committed
Drop ports sections, rename dbs
1 parent 480a169 commit 900f71a

File tree

1 file changed

+8
-28
lines changed

1 file changed

+8
-28
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -45,107 +45,89 @@ jobs:
4545
COLLECTION_SIGNING_PRIVATE_KEY: ${{ secrets.COLLECTION_SIGNING_PRIVATE_KEY }}
4646
DATABASEPOOL_SIZE: 8
4747
services:
48-
# Make sure the ports expose here (6000-6007) align with the ports
49-
# hard-coded in DatabasePool.runningDatabases().
50-
db-6000:
48+
db-0:
5149
image: postgres:16-alpine
5250
env:
5351
POSTGRES_DB: spi_test
5452
POSTGRES_USER: spi_test
5553
POSTGRES_PASSWORD: xxx
56-
ports:
57-
- '6000:5432'
5854
options: >-
5955
--health-cmd pg_isready
6056
--health-interval 10s
6157
--health-timeout 5s
6258
--health-retries 5
63-
db-6001:
59+
db-1:
6460
image: postgres:16-alpine
6561
env:
6662
POSTGRES_DB: spi_test
6763
POSTGRES_USER: spi_test
6864
POSTGRES_PASSWORD: xxx
69-
ports:
70-
- '6001:5432'
7165
options: >-
7266
--health-cmd pg_isready
7367
--health-interval 10s
7468
--health-timeout 5s
7569
--health-retries 5
76-
db-6002:
70+
db-2:
7771
image: postgres:16-alpine
7872
env:
7973
POSTGRES_DB: spi_test
8074
POSTGRES_USER: spi_test
8175
POSTGRES_PASSWORD: xxx
82-
ports:
83-
- '6002:5432'
8476
options: >-
8577
--health-cmd pg_isready
8678
--health-interval 10s
8779
--health-timeout 5s
8880
--health-retries 5
89-
db-6003:
81+
db-3:
9082
image: postgres:16-alpine
9183
env:
9284
POSTGRES_DB: spi_test
9385
POSTGRES_USER: spi_test
9486
POSTGRES_PASSWORD: xxx
95-
ports:
96-
- '6003:5432'
9787
options: >-
9888
--health-cmd pg_isready
9989
--health-interval 10s
10090
--health-timeout 5s
10191
--health-retries 5
102-
db-6004:
92+
db-4:
10393
image: postgres:16-alpine
10494
env:
10595
POSTGRES_DB: spi_test
10696
POSTGRES_USER: spi_test
10797
POSTGRES_PASSWORD: xxx
108-
ports:
109-
- '6004:5432'
11098
options: >-
11199
--health-cmd pg_isready
112100
--health-interval 10s
113101
--health-timeout 5s
114102
--health-retries 5
115-
db-6005:
103+
db-5:
116104
image: postgres:16-alpine
117105
env:
118106
POSTGRES_DB: spi_test
119107
POSTGRES_USER: spi_test
120108
POSTGRES_PASSWORD: xxx
121-
ports:
122-
- '6005:5432'
123109
options: >-
124110
--health-cmd pg_isready
125111
--health-interval 10s
126112
--health-timeout 5s
127113
--health-retries 5
128-
db-6006:
114+
db-6:
129115
image: postgres:16-alpine
130116
env:
131117
POSTGRES_DB: spi_test
132118
POSTGRES_USER: spi_test
133119
POSTGRES_PASSWORD: xxx
134-
ports:
135-
- '6006:5432'
136120
options: >-
137121
--health-cmd pg_isready
138122
--health-interval 10s
139123
--health-timeout 5s
140124
--health-retries 5
141-
db-6007:
125+
db-7:
142126
image: postgres:16-alpine
143127
env:
144128
POSTGRES_DB: spi_test
145129
POSTGRES_USER: spi_test
146130
POSTGRES_PASSWORD: xxx
147-
ports:
148-
- '6007:5432'
149131
options: >-
150132
--health-cmd pg_isready
151133
--health-interval 10s
@@ -177,8 +159,6 @@ jobs:
177159
# POSTGRES_DB: spi_dev
178160
# POSTGRES_USER: spi_dev
179161
# POSTGRES_PASSWORD: xxx
180-
# ports:
181-
# - 5432:5432
182162
# options: >-
183163
# --health-cmd pg_isready
184164
# --health-interval 10s

0 commit comments

Comments
 (0)