Skip to content

Commit

Permalink
healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
mbthornton-lbl committed Dec 7, 2023
1 parent 107fe22 commit b95fc6b
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/blt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,13 @@ jobs:
mongodb-database: nmdc
mongodb-username: root
mongodb-password: password
- name: Mongo Healthcheck
run: |
mongo --eval 'db.runCommand({ connectionStatus: 1 })'
mongodb-health-check: true
# run: |
# sudo docker run --rm --detach --name mongodb --publish 27017:27017 \
# --env MONGO_INITDB_ROOT_USERNAME=root --env MONGO_INITDB_ROOT_PASSWORD=password \
# --env MONGO_INITDB_DATABASE=test \
# mongo:latest --auth

# uses: DigiPie/[email protected]
# with:
# mongodb-uri: mongodb://localhost:27017
# mongodb-database: nmdc
# mongodb-username: root
# mongodb-password: password
- name: Set up Python 3.9
uses: actions/setup-python@v3
with:
Expand Down

0 comments on commit b95fc6b

Please sign in to comment.