File tree Expand file tree Collapse file tree 3 files changed +74
-0
lines changed
scripts/presets/travis/replica_sets Expand file tree Collapse file tree 3 files changed +74
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,10 @@ case $DEPLOYMENT in
23
23
${TRAVIS_BUILD_DIR} /.travis.scripts/mo.sh ${TRAVIS_BUILD_DIR} /scripts/presets/travis/replica_sets/replicaset.json start > /tmp/mo-result.json
24
24
cat /tmp/mo-result.json | tail -n 1 | php -r ' echo json_decode(file_get_contents("php://stdin"))->mongodb_uri;' > /tmp/uri.txt
25
25
;;
26
+ REPLICASET_OLD)
27
+ ${TRAVIS_BUILD_DIR} /.travis.scripts/mo.sh ${TRAVIS_BUILD_DIR} /scripts/presets/travis/replica_sets/replicaset-old.json start > /tmp/mo-result.json
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
+ ;;
26
30
* )
27
31
${TRAVIS_BUILD_DIR} /.travis.scripts/mo.sh ${TRAVIS_BUILD_DIR} /scripts/presets/travis/standalone/standalone.json start > /tmp/mo-result.json
28
32
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 @@ -33,6 +33,10 @@ matrix:
33
33
- php : 7.2
34
34
env :
35
35
- DEPLOYMENT=REPLICASET
36
+ - php : 7.2
37
+ env :
38
+ - SERVER_VERSION=3.0.15
39
+ - DEPLOYMENT=REPLICASET_OLD
36
40
- php : 7.0
37
41
env :
38
42
- SERVER_VERSION=3.0.15
Original file line number Diff line number Diff line change
1
+ {
2
+ "id" : " REPLICASET_OLD" ,
3
+ "name" : " mongod" ,
4
+ "members" : [
5
+ {
6
+ "procParams" : {
7
+ "dbpath" : " /tmp/REPLICASET/3500/" ,
8
+ "ipv6" : true ,
9
+ "logappend" : true ,
10
+ "logpath" : " /tmp/REPLICASET/3500/mongod.log" ,
11
+ "journal" : true ,
12
+ "nssize" : 1 ,
13
+ "port" : 3500 ,
14
+ "bind_ip" : " ::,0.0.0.0" ,
15
+ "smallfiles" : true
16
+ },
17
+ "rsParams" : {
18
+ "priority" : 99 ,
19
+ "tags" : {
20
+ "ordinal" : " one" ,
21
+ "dc" : " pa"
22
+ }
23
+ },
24
+ "server_id" : " RS-OLD-one"
25
+ },
26
+ {
27
+ "procParams" : {
28
+ "dbpath" : " /tmp/REPLICASET/3501/" ,
29
+ "ipv6" : true ,
30
+ "logappend" : true ,
31
+ "logpath" : " /tmp/REPLICASET/3501/mongod.log" ,
32
+ "journal" : true ,
33
+ "nssize" : 1 ,
34
+ "port" : 3501 ,
35
+ "bind_ip" : " ::,0.0.0.0" ,
36
+ "smallfiles" : true
37
+ },
38
+ "rsParams" : {
39
+ "priority" : 1.1 ,
40
+ "tags" : {
41
+ "ordinal" : " two" ,
42
+ "dc" : " nyc"
43
+ }
44
+ },
45
+ "server_id" : " RS-OLD-two"
46
+ },
47
+ {
48
+ "procParams" : {
49
+ "dbpath" : " /tmp/REPLICASET/3502/" ,
50
+ "ipv6" : true ,
51
+ "logappend" : true ,
52
+ "logpath" : " /tmp/REPLICASET/3502/mongod.log" ,
53
+ "journal" : true ,
54
+ "nssize" : 1 ,
55
+ "port" : 3502 ,
56
+ "bind_ip" : " ::,0.0.0.0" ,
57
+ "smallfiles" : true
58
+ },
59
+ "rsParams" : {
60
+ "arbiterOnly" : true
61
+
62
+ },
63
+ "server_id" : " RS-OLD-arbiter"
64
+ }
65
+ ]
66
+ }
You can’t perform that action at this time.
0 commit comments