File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 4141 srcConnStr : mongodb://localhost:27020,localhost:27021,localhost:27022
4242 dstConnStr : mongodb://localhost:27030,localhost:27031,localhost:27032
4343
44+ - name : replset-to-sharded
45+ dstArgs : --sharded 2
46+ srcConnStr : mongodb://localhost:27020,localhost:27021,localhost:27022
47+ dstConnStr : mongodb://localhost:27030
48+
4449 - name : sharded
45- args : --sharded 2
50+ srcArgs : --sharded 2
51+ dstArgs : --sharded 2
4652 srcConnStr : mongodb://localhost:27020
4753 dstConnStr : mongodb://localhost:27030
4854
8288 - name : Start clusters
8389 run : |-
8490 {
85- echo mlaunch init --binarypath $(cat .srcpath) --port 27020 --dir src --replicaset ${{ matrix.topology.args }}
86- echo mlaunch init --binarypath $(cat .dstpath) --port 27030 --dir dst --replicaset ${{ matrix.topology.args }}
91+ echo mlaunch init --binarypath $(cat .srcpath) --port 27020 --dir src --replicaset ${{ matrix.topology.srcArgs }}
92+ echo mlaunch init --binarypath $(cat .dstpath) --port 27030 --dir dst --replicaset ${{ matrix.topology.dstArgs }}
8793 echo mlaunch init --binarypath $(cat .metapath) --port 27040 --dir meta --replicaset --nodes 1
8894 } | parallel
8995
You can’t perform that action at this time.
0 commit comments