Skip to content

Commit e6d719d

Browse files
committed
test: lock to mongo:5 container, recently released mongo:6 breaks our healthcheck
With MongoDB 6 containers (released in the last week), the `mongo` binary is gone, replaced by `mongosh`. See docker-library/mongo#558 Our tests were using `mongo:latest`. For now let's lock to mongo:5 and then have a separate issue for updating container versions for testing.
1 parent 0d0a727 commit e6d719d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.ci/docker/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ services:
1919
retries: 30
2020

2121
mongodb:
22-
image: mongo
22+
image: mongo:5
2323
ports:
2424
- "27017:27017"
2525
volumes:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
POSTGRES_HOST_AUTH_METHOD: 'trust'
6969

7070
mongodb:
71-
image: mongo
71+
image: mongo:5
7272
ports:
7373
- 27017:27017
7474
volumes:

test/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ services:
1919
retries: 30
2020

2121
mongodb:
22-
image: mongo
22+
image: mongo:5
2323
ports:
2424
- "27017:27017"
2525
volumes:

0 commit comments

Comments
 (0)