Skip to content

Commit

Permalink
ci: revert mongo repl set change
Browse files Browse the repository at this point in the history
Signed-off-by: Sander Pick <[email protected]>
  • Loading branch information
sanderpick committed Nov 1, 2020
1 parent a737533 commit 3116dd9
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,8 @@ jobs:
services:
mongodb:
image: mongo:latest
environment:
MONGO_REPLICA_SET_NAME: rs0
expose:
- 27017
ports:
- 127.0.0.1:27017:27017
command:
- /bin/bash
- -c
- |
/usr/bin/mongod --fork --logpath /var/log/mongod.log --bind_ip_all --replSet rs0
mongo --eval 'rs.initiate({_id: "rs0", version: 1, members: [{ _id: 0, host: "127.0.0.1:27017" }]})'
tail -f /var/log/mongod.log
ipfs:
image: ipfs/go-ipfs:v0.7.0
env:
Expand Down Expand Up @@ -61,19 +50,8 @@ jobs:
services:
mongodb:
image: mongo:latest
environment:
MONGO_REPLICA_SET_NAME: rs0
expose:
- 27017
ports:
- 127.0.0.1:27017:27017
command:
- /bin/bash
- -c
- |
/usr/bin/mongod --fork --logpath /var/log/mongod.log --bind_ip_all --replSet rs0
mongo --eval 'rs.initiate({_id: "rs0", version: 1, members: [{ _id: 0, host: "127.0.0.1:27017" }]})'
tail -f /var/log/mongod.log
ipfs:
image: ipfs/go-ipfs:v0.7.0
env:
Expand Down

0 comments on commit 3116dd9

Please sign in to comment.