Skip to content

Commit

Permalink
ci/cd: foundation work for mongo-db action
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrixString committed Jan 13, 2025
1 parent 48a6eea commit 692b086
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.database-mongodb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ jobs:
steps:
- name: Start mongo
id: start-mongo
env:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: password
MONGO_INITDB_DATABASE: test

run: docker run --rm -d -p 27017:27017 --name mongo mongo:latest --replSet rs_test --bind_ip_all
run: >-
docker run --rm -d -p 27017:27017
-e MONGO_INITDB_ROOT_USERNAME=root
-e MONGO_INITDB_ROOT_PASSWORD=password
-e MONGO_INITDB_DATABASE=test
--name mongo --replSet rs_test --bind_ip_all mongo:latest
- name: Initialize MongoDB Replica Set
run: |
Expand Down

0 comments on commit 692b086

Please sign in to comment.