Skip to content

Commit

Permalink
🔨 config(build): Replace mongo with mongosh.
Browse files Browse the repository at this point in the history
Fixes #901.
  • Loading branch information
make-github-pseudonymous-again committed May 19, 2024
1 parent 506f6d6 commit 7a06997
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci:build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ jobs:
--volume "${GITHUB_WORKSPACE}/scripts/assert-replica-set.js":/scripts/assert-replica-set.js \
--log-opt max-size=100m \
--log-opt max-file=7 \
--health-cmd 'mongo --eval "replSet = \"meteor\"; hostname = \"localhost\"" /scripts/assert-replica-set.js' \
--health-cmd 'mongosh --eval "replSet = \"meteor\"; hostname = \"localhost\"" /scripts/assert-replica-set.js' \
--health-interval 5s \
--health-retries 3 \
--health-timeout 10s \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci:build:image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ jobs:
--volume "${GITHUB_WORKSPACE}/scripts/assert-replica-set.js":/scripts/assert-replica-set.js \
--log-opt max-size=100m \
--log-opt max-file=7 \
--health-cmd 'mongo --eval "replSet = \"meteor\"; hostname = \"mongodb\"" /scripts/assert-replica-set.js' \
--health-cmd 'mongosh --eval "replSet = \"meteor\"; hostname = \"mongodb\"" /scripts/assert-replica-set.js' \
--health-interval 5s \
--health-retries 3 \
--health-timeout 10s \
Expand Down
2 changes: 1 addition & 1 deletion compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ services:
healthcheck:
test: [
"CMD",
"mongo",
"mongosh",
"--eval", "replSet = 'meteor'; hostname = 'patient-db'",
"/scripts/assert-replica-set.js"
]
Expand Down

0 comments on commit 7a06997

Please sign in to comment.