@@ -368,37 +368,6 @@ functions:
368
368
binary : bash
369
369
args :
370
370
- ${PROJECT_DIRECTORY}/.evergreen/run-typescript.sh
371
- compile mongosh :
372
- - command : subprocess.exec
373
- params :
374
- working_dir : src
375
- env :
376
- PROJECT_DIRECTORY : ${PROJECT_DIRECTORY}
377
- TASK_ID : ${task_id}
378
- binary : bash
379
- args :
380
- - ${PROJECT_DIRECTORY}/.evergreen/run-mongosh-integration-tests.sh
381
- run mongosh tests for package :
382
- - command : subprocess.exec
383
- params :
384
- working_dir : src
385
- env :
386
- PROJECT_DIRECTORY : ${PROJECT_DIRECTORY}
387
- TASK_ID : ${task_id}
388
- MONGOSH_RUN_ONLY_IN_PACKAGE : ${mongosh_package}
389
- binary : bash
390
- args :
391
- - ${PROJECT_DIRECTORY}/.evergreen/run-mongosh-integration-tests.sh
392
- run mongosh package scope test :
393
- - command : subprocess.exec
394
- params :
395
- working_dir : src
396
- env :
397
- PROJECT_DIRECTORY : ${PROJECT_DIRECTORY}
398
- TASK_ID : ${task_id}
399
- binary : bash
400
- args :
401
- - ${PROJECT_DIRECTORY}/.evergreen/run-mongosh-scope-test.sh
402
371
reset aws instance profile :
403
372
- command : shell.exec
404
373
params :
@@ -448,14 +417,14 @@ functions:
448
417
chmod +x $i
449
418
done
450
419
install dependencies :
451
- - command : shell .exec
420
+ - command : subprocess .exec
452
421
type : setup
453
422
params :
454
423
working_dir : src
455
- script : |
456
- ${PREPARE_SHELL}
457
- NODE_LTS_VERSION=${NODE_LTS_VERSION} NPM_OPTIONS=${NPM_OPTIONS} NPM_VERSION=${NPM_VERSION}\
458
- bash ${PROJECT_DIRECTORY}/ .evergreen/install-dependencies.sh
424
+ binary : bash
425
+ add_expansions_to_env : true
426
+ args :
427
+ - .evergreen/install-dependencies.sh
459
428
install aws-credential-providers :
460
429
- command : shell.exec
461
430
type : setup
@@ -1072,24 +1041,29 @@ tasks:
1072
1041
- performance
1073
1042
exec_timeout_secs : 3600
1074
1043
commands :
1044
+ - command : expansions.update
1045
+ type : setup
1046
+ params :
1047
+ updates :
1048
+ - {key: NODE_LTS_VERSION, value: v18.16.0}
1049
+ - {key: NPM_VERSION, value: '9'}
1050
+ - {key: VERSION, value: v6.0-perf}
1051
+ - {key: TOPOLOGY, value: server}
1052
+ - {key: AUTH, value: noauth}
1075
1053
- func : install dependencies
1076
- vars :
1077
- NODE_LTS_VERSION : v18.16.0
1078
- NPM_VERSION : 9
1079
1054
- func : bootstrap mongo-orchestration
1080
- vars :
1081
- VERSION : v6.0-perf
1082
- TOPOLOGY : server
1083
- AUTH : noauth
1084
1055
- func : run spec driver benchmarks
1085
1056
- command : perf.send
1086
1057
params :
1087
1058
file : src/results.json
1088
1059
- name : test-gcpkms-task
1089
1060
commands :
1061
+ - command : expansions.update
1062
+ type : setup
1063
+ params :
1064
+ updates :
1065
+ - {key: NPM_VERSION, value: '9'}
1090
1066
- func : install dependencies
1091
- vars :
1092
- NPM_VERSION : 9
1093
1067
- command : subprocess.exec
1094
1068
type : setup
1095
1069
params :
@@ -1118,14 +1092,16 @@ tasks:
1118
1092
- ${DRIVERS_TOOLS}/.evergreen/csfle/gcpkms/run-command.sh
1119
1093
- name : test-gcpkms-fail-task
1120
1094
commands :
1095
+ - command : expansions.update
1096
+ type : setup
1097
+ params :
1098
+ updates :
1099
+ - {key: NPM_VERSION, value: '9'}
1100
+ - {key: VERSION, value: latest}
1101
+ - {key: TOPOLOGY, value: server}
1102
+ - {key: AUTH, value: noauth}
1121
1103
- func : install dependencies
1122
- vars :
1123
- NPM_VERSION : 9
1124
1104
- func : bootstrap mongo-orchestration
1125
- vars :
1126
- VERSION : latest
1127
- TOPOLOGY : server
1128
- AUTH : noauth
1129
1105
- command : subprocess.exec
1130
1106
type : test
1131
1107
params :
@@ -1136,9 +1112,12 @@ tasks:
1136
1112
- src/.evergreen/run-gcp-kms-tests.sh
1137
1113
- name : test-azurekms-task
1138
1114
commands :
1115
+ - command : expansions.update
1116
+ type : setup
1117
+ params :
1118
+ updates :
1119
+ - {key: NPM_VERSION, value: '9'}
1139
1120
- func : install dependencies
1140
- vars :
1141
- NPM_VERSION : 9
1142
1121
- command : subprocess.exec
1143
1122
type : setup
1144
1123
params :
@@ -1158,14 +1137,16 @@ tasks:
1158
1137
- ${DRIVERS_TOOLS}/.evergreen/csfle/azurekms/run-command.sh
1159
1138
- name : test-azurekms-fail-task
1160
1139
commands :
1140
+ - command : expansions.update
1141
+ type : setup
1142
+ params :
1143
+ updates :
1144
+ - {key: NPM_VERSION, value: '9'}
1145
+ - {key: VERSION, value: latest}
1146
+ - {key: TOPOLOGY, value: server}
1147
+ - {key: AUTH, value: noauth}
1161
1148
- func : install dependencies
1162
- vars :
1163
- NPM_VERSION : 9
1164
1149
- func : bootstrap mongo-orchestration
1165
- vars :
1166
- VERSION : latest
1167
- TOPOLOGY : server
1168
- AUTH : noauth
1169
1150
- command : subprocess.exec
1170
1151
type : test
1171
1152
params :
@@ -1176,9 +1157,12 @@ tasks:
1176
1157
- src/.evergreen/run-azure-kms-tests.sh
1177
1158
- name : oidc-auth-test-azure-latest
1178
1159
commands :
1160
+ - command : expansions.update
1161
+ type : setup
1162
+ params :
1163
+ updates :
1164
+ - {key: NPM_VERSION, value: '9'}
1179
1165
- func : install dependencies
1180
- vars :
1181
- NPM_VERSION : 9
1182
1166
- command : subprocess.exec
1183
1167
params :
1184
1168
working_dir : src
@@ -1192,9 +1176,12 @@ tasks:
1192
1176
- .evergreen/run-oidc-tests-azure.sh
1193
1177
- name : test-aws-lambda-deployed
1194
1178
commands :
1179
+ - command : expansions.update
1180
+ type : setup
1181
+ params :
1182
+ updates :
1183
+ - {key: NPM_VERSION, value: '9'}
1195
1184
- func : install dependencies
1196
- vars :
1197
- NPM_VERSION : 9
1198
1185
- command : ec2.assume_role
1199
1186
params :
1200
1187
role_arn : ${LAMBDA_AWS_ROLE_ARN}
@@ -3383,96 +3370,6 @@ tasks:
3383
3370
- func : run tests
3384
3371
vars :
3385
3372
TEST_NPM_SCRIPT : check:csfle
3386
- - name : run-mongosh-browser-runtime-electron
3387
- tags :
3388
- - run-mongosh-integration-tests
3389
- depends_on : compile-mongosh
3390
- commands :
3391
- - func : install dependencies
3392
- vars :
3393
- NODE_LTS_VERSION : 16
3394
- NPM_VERSION : 9
3395
- - func : run mongosh tests for package
3396
- vars :
3397
- mongosh_package : browser-runtime-electron
3398
- - name : run-mongosh-cli-repl
3399
- tags :
3400
- - run-mongosh-integration-tests
3401
- depends_on : compile-mongosh
3402
- commands :
3403
- - func : install dependencies
3404
- vars :
3405
- NODE_LTS_VERSION : 16
3406
- NPM_VERSION : 9
3407
- - func : run mongosh tests for package
3408
- vars :
3409
- mongosh_package : cli-repl
3410
- - name : run-mongosh-connectivity-tests
3411
- tags :
3412
- - run-mongosh-integration-tests
3413
- depends_on : compile-mongosh
3414
- commands :
3415
- - func : install dependencies
3416
- vars :
3417
- NODE_LTS_VERSION : 16
3418
- NPM_VERSION : 9
3419
- - func : run mongosh tests for package
3420
- vars :
3421
- mongosh_package : connectivity-tests
3422
- - name : run-mongosh-mongosh
3423
- tags :
3424
- - run-mongosh-integration-tests
3425
- depends_on : compile-mongosh
3426
- commands :
3427
- - func : install dependencies
3428
- vars :
3429
- NODE_LTS_VERSION : 16
3430
- NPM_VERSION : 9
3431
- - func : run mongosh tests for package
3432
- vars :
3433
- mongosh_package : mongosh
3434
- - name : run-mongosh-node-runtime-worker-thread
3435
- tags :
3436
- - run-mongosh-integration-tests
3437
- depends_on : compile-mongosh
3438
- commands :
3439
- - func : install dependencies
3440
- vars :
3441
- NODE_LTS_VERSION : 16
3442
- NPM_VERSION : 9
3443
- - func : run mongosh tests for package
3444
- vars :
3445
- mongosh_package : node-runtime-worker-thread
3446
- - name : run-mongosh-service-provider-server
3447
- tags :
3448
- - run-mongosh-integration-tests
3449
- depends_on : compile-mongosh
3450
- commands :
3451
- - func : install dependencies
3452
- vars :
3453
- NODE_LTS_VERSION : 16
3454
- NPM_VERSION : 9
3455
- - func : run mongosh tests for package
3456
- vars :
3457
- mongosh_package : service-provider-server
3458
- - name : compile-mongosh
3459
- tags :
3460
- - run-mongosh-integration-tests
3461
- commands :
3462
- - func : install dependencies
3463
- vars :
3464
- NODE_LTS_VERSION : 16
3465
- NPM_VERSION : 9
3466
- - func : compile mongosh
3467
- - name : verify-mongosh-scopes
3468
- tags :
3469
- - run-mongosh-integration-tests
3470
- commands :
3471
- - func : install dependencies
3472
- vars :
3473
- NODE_LTS_VERSION : 16
3474
- NPM_VERSION : 9
3475
- - func : run mongosh package scope test
3476
3373
task_groups :
3477
3374
- name : serverless_task_group
3478
3375
setup_group_can_fail_task : true
@@ -4078,18 +3975,6 @@ buildvariants:
4078
3975
run_on : rhel80-large
4079
3976
tasks :
4080
3977
- download-and-merge-coverage
4081
- - name : mongosh_integration_tests
4082
- display_name : mongosh integration tests
4083
- run_on : ubuntu1804-large
4084
- tasks :
4085
- - run-mongosh-browser-runtime-electron
4086
- - run-mongosh-cli-repl
4087
- - run-mongosh-connectivity-tests
4088
- - run-mongosh-mongosh
4089
- - run-mongosh-node-runtime-worker-thread
4090
- - run-mongosh-service-provider-server
4091
- - compile-mongosh
4092
- - verify-mongosh-scopes
4093
3978
- name : ubuntu1804-test-mongodb-aws
4094
3979
display_name : MONGODB-AWS Auth test
4095
3980
run_on : ubuntu1804-large
0 commit comments