Skip to content

Commit 4a54448

Browse files
committed
CXX-388 Add mci configs for 2.2
1 parent 0528245 commit 4a54448

File tree

1 file changed

+30
-3
lines changed

1 file changed

+30
-3
lines changed

.mci.yml

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@ cxx_driver_variables:
2626
version_test_list: &version_tests
2727
- name: "compile"
2828
- name: "unit test"
29+
- name: "integration test 2.2"
2930
- name: "integration test 2.4"
3031
- name: "integration test 2.6"
3132
- name: "integration test latest"
33+
- name: "client test 2.2"
3234
- name: "client test 2.4"
3335
- name: "client test 2.6"
3436
- name: "client test latest"
@@ -145,10 +147,10 @@ cxx_driver_variables:
145147
git clone https://github.com/10gen/mongo-orchestration.git
146148
cd mongo-orchestration
147149
python setup.py install
150+
cd ..
148151
echo "Starting Mongo Orchestration..."
149152
echo "{ \"releases\": { \"default\": \"c:\\\\mongodb\\\\bin\" }, \"last_updated\": \"2014-08-29 20:57:00.000000\" }" > orchestration.config
150153
mongo-orchestration -f orchestration.config -e default -s wsgiref start
151-
cd ..
152154
linux: &mongo_orchestration_linux
153155
## mongo orchestration is included on linux, no installation needed
154156
start_mongo_orchestration: |
@@ -224,14 +226,21 @@ functions:
224226
params:
225227
updates:
226228
- key: "mongo_url"
227-
value: ${mongo_url_prefix}${mongo_url_enterprise_keyword|"enterprise-"}${mongo_url_platform|}2.6.5.${mongo_url_extension|tgz}
229+
value: ${mongo_url_prefix}${mongo_url_enterprise_keyword|enterprise}-${mongo_url_platform|}2.6.5.${mongo_url_extension|tgz}
228230

229231
"set version 2.4" :
230232
command: expansions.update
231233
params:
232234
updates:
233235
- key: "mongo_url"
234-
value: ${mongo_url_prefix}${mongo_url_subscription_keyword|"subscription-"}${mongo_url_platform|}2.4.12.${mongo_url_extension|tgz}
236+
value: ${mongo_url_prefix}${mongo_url_subscription_keyword|subscription}-${mongo_url_platform|}2.4.12.${mongo_url_extension|tgz}
237+
238+
"set version 2.2" :
239+
command: expansions.update
240+
params:
241+
updates:
242+
- key: "mongo_url"
243+
value: ${mongo_url_prefix}${mongo_url_subscription_keyword|subscription}-${mongo_url_platform|}2.2.7.${mongo_url_extension|tgz}
235244

236245
"run integration tests" :
237246
command: shell.exec
@@ -332,6 +341,15 @@ tasks:
332341
set -o verbose
333342
${scons|scons} ${scons_flags} ${warning_flags} ${compile_flags} ${toolchain_flags} ${extrapath} ${dllpath} ${cpppath} ${libpath} unit
334343
344+
- name: "integration test 2.2"
345+
depends_on:
346+
- name: "compile"
347+
commands:
348+
- func: "set version 2.2"
349+
- func: "fetch artifacts"
350+
- func: "fetch mongodb"
351+
- func: "run integration tests"
352+
335353
- name: "integration test 2.4"
336354
depends_on:
337355
- name: "compile"
@@ -379,6 +397,15 @@ tasks:
379397
- func: "fetch mongodb"
380398
- func: "run integration tests"
381399

400+
- name: "client test 2.2"
401+
depends_on:
402+
- name: "compile"
403+
commands:
404+
- func: "set version 2.2"
405+
- func: "fetch artifacts"
406+
- func: "fetch mongodb"
407+
- func: "run client tests"
408+
382409
- name: "client test 2.4"
383410
depends_on:
384411
- name: "compile"

0 commit comments

Comments
 (0)