File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,7 @@ functions:
41
41
script : |
42
42
set -o xtrace
43
43
rm -f *.tar.gz
44
- curl http://s3.amazonaws.com/mciuploads/mongo-c-driver/mongo-c-driver-${CURRENT_VERSION}.tar.gz --output mongoc.tar.gz --silent --max-time 120
45
- pip install --upgrade git+git://github.com/mongodb/mongo-orchestration@master
44
+ curl http://s3.amazonaws.com/mciuploads/mongo-c-driver/${branch_name}/mongo-c-driver-${CURRENT_VERSION}.tar.gz --output mongoc.tar.gz --silent --max-time 120
46
45
47
46
" upload release " :
48
47
- command : shell.exec
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ case "$OS" in
60
60
cp -r mongodb /cygdrive/c/mongodb
61
61
echo " { \" releases\" : { \" default\" : \" c:\\\\ mongodb\\\\ bin\" }}" > orchestration.config
62
62
63
- # Crazy python stuff to make sure MO is running latest version
63
+ # Make sure MO is running latest version
64
64
python.exe -m virtualenv venv
65
65
cd venv
66
66
. Scripts/activate
@@ -76,6 +76,14 @@ case "$OS" in
76
76
;;
77
77
* )
78
78
echo " { \" releases\" : { \" default\" : \" ` pwd` /mongodb/bin\" } }" > orchestration.config
79
+ # Make sure MO is running latest version
80
+ python -m virtualenv venv
81
+ cd venv
82
+ . bin/activate
83
+ git clone https://github.com/10gen/mongo-orchestration.git
84
+ cd mongo-orchestration
85
+ pip install .
86
+ cd ../..
79
87
nohup mongo-orchestration -f orchestration.config -e default --socket-timeout-ms=60000 --bind=127.0.0.1 --enable-majority-read-concern start > $MONGO_ORCHESTRATION_HOME /out.log 2> $MONGO_ORCHESTRATION_HOME /err.log < /dev/null &
80
88
if [ " $SSL " != " nossl" ]; then
81
89
export MONGO_SHELL_CONNECTION_FLAGS=" $MONGO_SHELL_CONNECTION_FLAGS --host localhost --ssl --sslCAFile=$MONGO_ORCHESTRATION_HOME /lib/ca.pem --sslPEMKeyFile=$MONGO_ORCHESTRATION_HOME /lib/client.pem"
You can’t perform that action at this time.
0 commit comments