Skip to content

Commit c3c3c61

Browse files
authored
CXX-3031 add 8.0 test tasks (#1234)
* add 8.0 tasks * split atlas search indexes tests
1 parent d7780dc commit c3c3c61

File tree

1 file changed

+79
-2
lines changed

1 file changed

+79
-2
lines changed

.mci.yml

Lines changed: 79 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1292,7 +1292,7 @@ task_groups:
12921292
binary: bash
12931293
args: [-c, rm -rf *]
12941294

1295-
- name: test_atlas_task_group_search_indexes
1295+
- name: test_atlas_task_group_search_indexes_7.0
12961296
setup_group:
12971297
- func: "setup"
12981298
- func: "clone_drivers-evergreen-tools"
@@ -1320,6 +1320,34 @@ task_groups:
13201320
tasks:
13211321
- test_search_index_helpers
13221322

1323+
- name: test_atlas_task_group_search_indexes_8.0
1324+
setup_group:
1325+
- func: "setup"
1326+
- func: "clone_drivers-evergreen-tools"
1327+
- command: subprocess.exec
1328+
params:
1329+
working_dir: mongo-cxx-driver
1330+
binary: bash
1331+
add_expansions_to_env: true
1332+
env:
1333+
MONGODB_VERSION: '8.0'
1334+
args: [-c, "${DRIVERS_TOOLS}/.evergreen/atlas/setup-atlas-cluster.sh"]
1335+
- command: expansions.update
1336+
# Expected to set MONGODB_URI expansion.
1337+
params:
1338+
file: mongo-cxx-driver/atlas-expansion.yml
1339+
teardown_group:
1340+
- command: subprocess.exec
1341+
params:
1342+
working_dir: mongo-cxx-driver
1343+
binary: bash
1344+
add_expansions_to_env: true
1345+
args: [-c, "${DRIVERS_TOOLS}/.evergreen/atlas/teardown-atlas-cluster.sh"]
1346+
setup_group_can_fail_task: true
1347+
setup_group_timeout_secs: 1800
1348+
tasks:
1349+
- test_search_index_helpers
1350+
13231351

13241352
#######################################
13251353
# Buildvariants #
@@ -1360,6 +1388,14 @@ buildvariants:
13601388
<<: *integration_matrix_expansions_linux
13611389
<<: *integration_matrix_tasks_single
13621390

1391+
- name: integration-ubuntu2004-8.0-single
1392+
display_name: "Ubuntu 20.04 Debug (MongoDB 8.0)"
1393+
run_on: ubuntu2004-large
1394+
expansions:
1395+
mongodb_version: "8.0"
1396+
<<: *integration_matrix_expansions_linux
1397+
<<: *integration_matrix_tasks_single
1398+
13631399
- name: integration-ubuntu2004-7.0-single
13641400
display_name: "Ubuntu 20.04 Debug (MongoDB 7.0)"
13651401
run_on: ubuntu2004-large
@@ -1416,6 +1452,14 @@ buildvariants:
14161452
<<: *integration_matrix_expansions_windows_vs2019
14171453
<<: *integration_matrix_tasks_single
14181454

1455+
- name: integration-vs2019-8.0-single
1456+
display_name: "Windows (VS 2019) Debug (MongoDB 8.0)"
1457+
run_on: windows-vsCurrent-large
1458+
expansions:
1459+
mongodb_version: "8.0"
1460+
<<: *integration_matrix_expansions_windows_vs2019
1461+
<<: *integration_matrix_tasks_single
1462+
14191463
- name: integration-vs2019-7.0-single
14201464
display_name: "Windows (VS 2019) Debug (MongoDB 7.0)"
14211465
run_on: windows-vsCurrent-large
@@ -1472,6 +1516,14 @@ buildvariants:
14721516
<<: *integration_matrix_expansions_linux
14731517
<<: *integration_matrix_tasks_replica
14741518

1519+
- name: integration-ubuntu2004-8.0-replica
1520+
display_name: "Ubuntu 20.04 Debug replica set (MongoDB 8.0)"
1521+
run_on: ubuntu2004-large
1522+
expansions:
1523+
mongodb_version: "8.0"
1524+
<<: *integration_matrix_expansions_linux
1525+
<<: *integration_matrix_tasks_replica
1526+
14751527
- name: integration-ubuntu2004-7.0-replica
14761528
display_name: "Ubuntu 20.04 Debug replica set (MongoDB 7.0)"
14771529
run_on: ubuntu2004-large
@@ -1528,6 +1580,14 @@ buildvariants:
15281580
<<: *integration_matrix_expansions_linux
15291581
<<: *integration_matrix_tasks_sharded
15301582

1583+
- name: integration-ubuntu2004-8.0-sharded
1584+
display_name: "Ubuntu 20.04 Debug sharded cluster (MongoDB 8.0)"
1585+
run_on: ubuntu2004-large
1586+
expansions:
1587+
mongodb_version: "8.0"
1588+
<<: *integration_matrix_expansions_linux
1589+
<<: *integration_matrix_tasks_sharded
1590+
15311591
- name: integration-ubuntu2004-7.0-sharded
15321592
display_name: "Ubuntu 20.04 Debug sharded cluster (MongoDB 7.0)"
15331593
run_on: ubuntu2004-large
@@ -1941,7 +2001,24 @@ buildvariants:
19412001
tasks:
19422002
- name: compile_without_tests
19432003
- name: compile_macro_guard_tests
1944-
- name: test_atlas_task_group_search_indexes
2004+
2005+
- name: atlas-search-indexes-7.0
2006+
display_name: "Atlas Search Indexes (7.0)"
2007+
expansions:
2008+
build_type: "Debug"
2009+
run_on:
2010+
- ubuntu2004-build
2011+
tasks:
2012+
- name: test_atlas_task_group_search_indexes_7.0
2013+
2014+
- name: atlas-search-indexes-8.0
2015+
display_name: "Atlas Search Indexes (8.0)"
2016+
expansions:
2017+
build_type: "Debug"
2018+
run_on:
2019+
- ubuntu2004-build
2020+
tasks:
2021+
- name: test_atlas_task_group_search_indexes_8.0
19452022

19462023
- name: ubuntu2004-debug-gcc
19472024
display_name: "Ubuntu 20.04 Debug (GCC)"

0 commit comments

Comments
 (0)