Skip to content

Commit ddd87c8

Browse files
authored
Update SHM size of PostgreSQL service for the parse job in the CI.
1 parent b663d78 commit ddd87c8

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,12 @@ jobs:
3232
# Provide the password for postgres
3333
env:
3434
POSTGRES_PASSWORD: postgres
35-
# Set health checks to wait until postgres has started & increase SHM size
35+
# Set health checks to wait until postgres has started
3636
options: >-
3737
--health-cmd pg_isready
3838
--health-interval 10s
3939
--health-timeout 5s
4040
--health-retries 5
41-
--shm-size=8gb
4241
ports:
4342
# Maps tcp port 5432 on service container to the host
4443
- 5432:5432
@@ -196,21 +195,18 @@ jobs:
196195
env:
197196
POSTGRES_USER: postgres
198197
POSTGRES_PASSWORD: postgres
199-
# Set health checks to wait until postgres has started
198+
# Set health checks to wait until postgres has started & increase SHM size
200199
options: >-
201200
--health-cmd pg_isready
202201
--health-interval 10s
203202
--health-timeout 5s
204203
--health-retries 5
204+
--shm-size=2gb
205205
ports:
206206
# Maps tcp port 5432 on service container to the host
207207
- 5432:5432
208208

209209
steps:
210-
# Clean up docker images to save space
211-
- name: Clean up docker images
212-
run: docker image prune -a -f
213-
214210
- uses: actions/checkout@v3
215211

216212
- name: Update apt-get

0 commit comments

Comments
 (0)