Skip to content

Commit

Permalink
explicitly add mongo version to image for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
JamaicanFriedChicken committed Sep 7, 2022
1 parent 37619c6 commit 254522f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,20 +74,14 @@ jobs:
strategy:
matrix:
node-version: [14.x]
mongodb-version: ['4.4']
services:
mongo:
image: mongo
image: mongo:4.4
options: >-
--health-cmd mongo
--health-interval 10s
--health-timeout 5s
--health-retries 10
--health-start-period 25s
env:
MONGO_INITDB_ROOT_USERNAME: test
MONGO_INITDB_ROOT_PASSWORD: password
MONGO_INITDB_DATABASE: talawa-test-db
ports:
- 27017:27017
env:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jobs:
--health-interval 10s
--health-timeout 5s
--health-retries 10
--health-start-period 25s
ports:
- 27017:27017
env:
Expand Down

0 comments on commit 254522f

Please sign in to comment.