File tree Expand file tree Collapse file tree 3 files changed +34
-0
lines changed
scripts/presets/travis/replica_sets Expand file tree Collapse file tree 3 files changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,10 @@ case $DEPLOYMENT in
27
27
${TRAVIS_BUILD_DIR} /.travis.scripts/mo.sh ${TRAVIS_BUILD_DIR} /scripts/presets/travis/replica_sets/replicaset.json start > /tmp/mo-result.json
28
28
cat /tmp/mo-result.json | tail -n 1 | php -r ' echo json_decode(file_get_contents("php://stdin"))->mongodb_uri;' > /tmp/uri.txt
29
29
;;
30
+ REPLICASET_SINGLE)
31
+ ${TRAVIS_BUILD_DIR} /.travis.scripts/mo.sh ${TRAVIS_BUILD_DIR} /scripts/presets/travis/replica_sets/replicaset-one-node.json start > /tmp/mo-result.json
32
+ cat /tmp/mo-result.json | tail -n 1 | php -r ' echo json_decode(file_get_contents("php://stdin"))->mongodb_uri;' > /tmp/uri.txt
33
+ ;;
30
34
REPLICASET_OLD)
31
35
${TRAVIS_BUILD_DIR} /.travis.scripts/mo.sh ${TRAVIS_BUILD_DIR} /scripts/presets/travis/replica_sets/replicaset-old.json start > /tmp/mo-result.json
32
36
cat /tmp/mo-result.json | tail -n 1 | php -r ' echo json_decode(file_get_contents("php://stdin"))->mongodb_uri;' > /tmp/uri.txt
Original file line number Diff line number Diff line change @@ -40,6 +40,9 @@ matrix:
40
40
- php : 7.2
41
41
env :
42
42
- DEPLOYMENT=REPLICASET
43
+ - php : 7.2
44
+ env :
45
+ - DEPLOYMENT=REPLICASET_SINGLE
43
46
- php : 7.2
44
47
env :
45
48
- SERVER_VERSION=3.0.15
Original file line number Diff line number Diff line change
1
+ {
2
+ "id" : " REPLICASET_SINGLE" ,
3
+ "name" : " mongod" ,
4
+ "members" : [
5
+ {
6
+ "procParams" : {
7
+ "dbpath" : " /tmp/REPLICASET/3020/" ,
8
+ "ipv6" : true ,
9
+ "logappend" : true ,
10
+ "logpath" : " /tmp/REPLICASET/3020/mongod.log" ,
11
+ "journal" : true ,
12
+ "nssize" : 1 ,
13
+ "port" : 3020 ,
14
+ "bind_ip_all" : true ,
15
+ "smallfiles" : true
16
+ },
17
+ "rsParams" : {
18
+ "priority" : 99 ,
19
+ "tags" : {
20
+ "ordinal" : " one" ,
21
+ "dc" : " pa"
22
+ }
23
+ },
24
+ "server_id" : " RS-alone"
25
+ }
26
+ ]
27
+ }
You can’t perform that action at this time.
0 commit comments