@@ -60,13 +60,11 @@ functions:
60
60
- command : subprocess.exec
61
61
type : setup
62
62
params :
63
- binary : bash
64
- args : [mongo-cxx-driver/.evergreen/abi-compliance-check-setup.sh]
63
+ binary : mongo-cxx-driver/.evergreen/abi-compliance-check-setup.sh
65
64
- command : subprocess.exec
66
65
type : test
67
66
params :
68
- binary : bash
69
- args : [mongo-cxx-driver/.evergreen/abi-compliance-check-test.sh]
67
+ binary : mongo-cxx-driver/.evergreen/abi-compliance-check-test.sh
70
68
- command : s3.put
71
69
type : system
72
70
params :
@@ -116,13 +114,11 @@ functions:
116
114
- command : subprocess.exec
117
115
type : setup
118
116
params :
119
- binary : bash
120
- args : [mongo-cxx-driver/.evergreen/abidiff-setup.sh]
117
+ binary : mongo-cxx-driver/.evergreen/abidiff-setup.sh
121
118
- command : subprocess.exec
122
119
type : test
123
120
params :
124
- binary : bash
125
- args : [mongo-cxx-driver/.evergreen/abidiff-test.sh]
121
+ binary : mongo-cxx-driver/.evergreen/abidiff-test.sh
126
122
- command : s3.put
127
123
type : system
128
124
params :
@@ -150,8 +146,7 @@ functions:
150
146
- command : subprocess.exec
151
147
type : test
152
148
params :
153
- binary : bash
154
- args : [mongo-cxx-driver/.evergreen/abi-prohibited-symbols-test.sh]
149
+ binary : mongo-cxx-driver/.evergreen/abi-prohibited-symbols-test.sh
155
150
156
151
" setup " :
157
152
- command : shell.exec
@@ -250,7 +245,6 @@ functions:
250
245
- command : shell.exec
251
246
params :
252
247
shell : bash
253
- working_dir : " ."
254
248
script : |
255
249
set -o errexit
256
250
set -o pipefail
@@ -338,7 +332,6 @@ functions:
338
332
command : subprocess.exec
339
333
params :
340
334
binary : bash
341
- working_dir : " ."
342
335
args :
343
336
- -c
344
337
- |
@@ -358,20 +351,18 @@ functions:
358
351
updates :
359
352
- key : mongoc_version_minimum
360
353
value : *mongoc_version_minimum
361
- - command : shell .exec
354
+ - command : subprocess .exec
362
355
type : setup
363
356
params :
364
- shell : bash
357
+ binary : mongo-cxx-driver/.evergreen/install_c_driver.sh
365
358
add_expansions_to_env : true
366
- script : mongo-cxx-driver/.evergreen/install_c_driver.sh
367
359
368
360
# fetch_c_driver_source may be used to fetch the C driver source without installing the C driver.
369
361
# This can be used when only CI scripts are needed.
370
362
" fetch_c_driver_source " :
371
363
- command : shell.exec
372
364
params :
373
365
shell : bash
374
- working_dir : " ."
375
366
script : |
376
367
set -o errexit
377
368
set -o pipefail
@@ -610,9 +601,8 @@ functions:
610
601
" upload code coverage " :
611
602
- command : subprocess.exec
612
603
params :
613
- binary : bash
604
+ binary : .evergreen/upload-code-coverage.sh
614
605
working_dir : " mongo-cxx-driver"
615
- args : [-c, .evergreen/upload-code-coverage.sh]
616
606
include_expansions_in_env : [codecov_token]
617
607
618
608
" docker-image-build " :
@@ -634,18 +624,16 @@ functions:
634
624
make -C extras/docker/noble nocachebuild test
635
625
636
626
" run benchmarks " :
637
- - command : shell .exec
627
+ - command : subprocess .exec
638
628
type : setup
639
629
params :
640
- shell : bash
630
+ binary : ./etc/microbenchmark-test-data.sh
641
631
working_dir : " mongo-cxx-driver"
642
- script : ./etc/microbenchmark-test-data.sh
643
- - command : shell.exec
632
+ - command : subprocess.exec
644
633
type : test
645
634
params :
646
- shell : bash
635
+ binary : ./build/benchmark/microbenchmarks all
647
636
working_dir : " mongo-cxx-driver"
648
- script : ./build/benchmark/microbenchmarks all
649
637
- command : perf.send
650
638
params :
651
639
name : perf
@@ -655,13 +643,10 @@ functions:
655
643
- command : subprocess.exec
656
644
type : test
657
645
params :
658
- binary : bash
646
+ binary : .evergreen/compile-scan-build.sh
659
647
working_dir : " mongo-cxx-driver"
660
648
add_expansions_to_env : true
661
649
redirect_standard_error_to_output : true
662
- args :
663
- - -c
664
- - .evergreen/compile-scan-build.sh
665
650
666
651
" upload scan artifacts " :
667
652
- command : subprocess.exec
@@ -705,15 +690,12 @@ functions:
705
690
type : test
706
691
params :
707
692
working_dir : " mongo-cxx-driver"
708
- binary : bash
693
+ binary : .evergreen/check-augmented-sbom.sh
709
694
include_expansions_in_env :
710
695
- ARTIFACTORY_USER
711
696
- ARTIFACTORY_PASSWORD
712
697
- SILK_CLIENT_ID
713
698
- SILK_CLIENT_SECRET
714
- args :
715
- - -c
716
- - .evergreen/check-augmented-sbom.sh
717
699
718
700
" upload augmented sbom " :
719
701
- command : s3.put
@@ -1286,8 +1268,7 @@ task_groups:
1286
1268
- func : install_c_driver
1287
1269
- command : subprocess.exec
1288
1270
params :
1289
- binary : bash
1290
- args : [mongo-cxx-driver/.evergreen/abi-stability-setup.sh]
1271
+ binary : mongo-cxx-driver/.evergreen/abi-stability-setup.sh
1291
1272
include_expansions_in_env : [cxx_standard]
1292
1273
tasks : [".abi-stability"]
1293
1274
teardown_task_can_fail_task : true
@@ -1304,12 +1285,10 @@ task_groups:
1304
1285
- command : subprocess.exec
1305
1286
params :
1306
1287
working_dir : mongo-cxx-driver
1307
- binary : bash
1288
+ binary : ${DRIVERS_TOOLS}/.evergreen/atlas/setup-atlas-cluster.sh
1308
1289
add_expansions_to_env : true
1309
1290
env :
1310
1291
MONGODB_VERSION : ' 7.0'
1311
- args :
1312
- - ${DRIVERS_TOOLS}/.evergreen/atlas/setup-atlas-cluster.sh
1313
1292
- command : expansions.update
1314
1293
# Expected to set MONGODB_URI expansion.
1315
1294
params :
@@ -1318,10 +1297,8 @@ task_groups:
1318
1297
- command : subprocess.exec
1319
1298
params :
1320
1299
working_dir : mongo-cxx-driver
1321
- binary : bash
1300
+ binary : ${DRIVERS_TOOLS}/.evergreen/atlas/teardown-atlas-cluster.sh
1322
1301
add_expansions_to_env : true
1323
- args :
1324
- - ${DRIVERS_TOOLS}/.evergreen/atlas/teardown-atlas-cluster.sh
1325
1302
setup_group_can_fail_task : true
1326
1303
setup_group_timeout_secs : 1800
1327
1304
tasks :
0 commit comments