@@ -94,28 +94,11 @@ functions:
94
94
DRIVERS_TOOLS="${DRIVERS_TOOLS}" bash ${DRIVERS_TOOLS}/.evergreen/atlas_data_lake/run-mongohouse-local.sh
95
95
96
96
" bootstrap kms servers " :
97
- - command : subprocess.exec
98
- params :
99
- binary : bash
100
- working_dir : src
101
- args :
102
- - .evergreen/activate-kms-venv.sh
103
- env :
104
- DRIVERS_TOOLS : ${DRIVERS_TOOLS}
105
97
- command : subprocess.exec
106
98
params :
107
99
background : true
108
- binary : bash
109
100
working_dir : src
110
- args :
111
- - .evergreen/run-kmip-server.sh
112
- env :
113
- DRIVERS_TOOLS : ${DRIVERS_TOOLS}
114
- - command : subprocess.exec
115
- params :
116
- background : true
117
101
binary : bash
118
- working_dir : src
119
102
args :
120
103
- .evergreen/run-kms-servers.sh
121
104
env :
@@ -182,6 +165,31 @@ functions:
182
165
PROJECT_DIRECTORY="${PROJECT_DIRECTORY}" \
183
166
bash ${PROJECT_DIRECTORY}/.evergreen/run-oidc-tests.sh
184
167
168
+ " run deployed aws lambda tests " :
169
+ - command : ec2.assume_role
170
+ params :
171
+ role_arn : ${LAMBDA_AWS_ROLE_ARN}
172
+ duration_seconds : 3600
173
+ - command : subprocess.exec
174
+ params :
175
+ working_dir : src
176
+ binary : bash
177
+ args :
178
+ - .evergreen/run-deployed-lambda-aws-tests.sh
179
+ env :
180
+ TEST_LAMBDA_DIRECTORY : ${PROJECT_DIRECTORY}/test/lambda
181
+ DRIVERS_TOOLS : ${DRIVERS_TOOLS}
182
+ DRIVERS_ATLAS_PUBLIC_API_KEY : ${DRIVERS_ATLAS_PUBLIC_API_KEY}
183
+ DRIVERS_ATLAS_PRIVATE_API_KEY : ${DRIVERS_ATLAS_PRIVATE_API_KEY}
184
+ DRIVERS_ATLAS_LAMBDA_USER : ${DRIVERS_ATLAS_LAMBDA_USER}
185
+ DRIVERS_ATLAS_LAMBDA_PASSWORD : ${DRIVERS_ATLAS_LAMBDA_PASSWORD}
186
+ DRIVERS_ATLAS_GROUP_ID : ${DRIVERS_ATLAS_GROUP_ID}
187
+ LAMBDA_STACK_NAME : dbx-node-lambda
188
+ AWS_REGION : us-east-1
189
+ AWS_ACCESS_KEY_ID : ${AWS_ACCESS_KEY_ID}
190
+ AWS_SECRET_ACCESS_KEY : ${AWS_SECRET_ACCESS_KEY}
191
+ AWS_SESSION_TOKEN : ${AWS_SESSION_TOKEN}
192
+
185
193
" run tests " :
186
194
- command : shell.exec
187
195
type : test
@@ -1017,19 +1025,15 @@ functions:
1017
1025
- command : shell.exec
1018
1026
type : test
1019
1027
params :
1020
- working_dir : src
1028
+ working_dir : " src"
1021
1029
silent : true
1022
- shell : bash
1023
1030
script : |
1024
- set -ex
1025
1031
cd ${DRIVERS_TOOLS}/.evergreen/auth_aws
1026
- . ./activate-authawsvenv.sh
1027
- python aws_tester.py regular
1032
+ ${MONGODB_BINARIES}/mongo --verbose aws_e2e_regular_aws.js
1028
1033
cd -
1029
1034
cat <<EOF > "${PROJECT_DIRECTORY}/prepare_mongodb_aws.sh"
1030
1035
export AWS_ACCESS_KEY_ID=${iam_auth_ecs_account}
1031
1036
export AWS_SECRET_ACCESS_KEY=${iam_auth_ecs_secret_access_key}
1032
- export MONGODB_URI="mongodb://localhost:27017/aws?authMechanism=MONGODB-AWS"
1033
1037
EOF
1034
1038
- command : shell.exec
1035
1039
type : test
@@ -1130,18 +1134,18 @@ tasks:
1130
1134
- func : bootstrap kms servers
1131
1135
- func : " run serverless tests"
1132
1136
1133
- - name : run-spec-benchmark-tests-node-18-server-6.0
1137
+ - name : run-spec-benchmark-tests
1134
1138
tags :
1135
1139
- run-spec-benchmark-tests
1136
1140
- performance
1137
1141
exec_timeout_secs : 3600
1138
1142
commands :
1139
1143
- func : install dependencies
1140
1144
vars :
1141
- NODE_LTS_VERSION : v18.16.0
1145
+ NODE_LTS_VERSION : 18
1142
1146
- func : bootstrap mongo-orchestration
1143
1147
vars :
1144
- VERSION : v6.0-perf
1148
+ VERSION : rapid
1145
1149
TOPOLOGY : server
1146
1150
AUTH : noauth
1147
1151
- func : run spec driver benchmarks
@@ -1240,38 +1244,6 @@ tasks:
1240
1244
args :
1241
1245
- src/.evergreen/run-azure-kms-tests.sh
1242
1246
1243
- - name : " oidc-auth-test-azure-latest"
1244
- commands :
1245
- - func : " install dependencies"
1246
- - command : subprocess.exec
1247
- params :
1248
- working_dir : src
1249
- binary : bash
1250
- env :
1251
- DRIVERS_TOOLS : ${DRIVERS_TOOLS}
1252
- PROJECT_DIRECTORY : ${PROJECT_DIRECTORY}
1253
- AZUREOIDC_CLIENTID : ${testazureoidc_clientid}
1254
- PROVIDER_NAME : azure
1255
- args :
1256
- - .evergreen/run-oidc-tests-azure.sh
1257
-
1258
- - name : " test-aws-lambda-deployed"
1259
- commands :
1260
- - func : " install dependencies"
1261
- - command : ec2.assume_role
1262
- params :
1263
- role_arn : ${LAMBDA_AWS_ROLE_ARN}
1264
- duration_seconds : 3600
1265
- - command : subprocess.exec
1266
- params :
1267
- working_dir : src
1268
- binary : bash
1269
- add_expansions_to_env : true
1270
- args :
1271
- - ${DRIVERS_TOOLS}/.evergreen/aws_lambda/run-deployed-lambda-aws-tests.sh
1272
- env :
1273
- TEST_LAMBDA_DIRECTORY : ${PROJECT_DIRECTORY}/test/lambda
1274
- AWS_REGION : us-east-1
1275
1247
1276
1248
task_groups :
1277
1249
- name : serverless_task_group
@@ -1376,60 +1348,6 @@ task_groups:
1376
1348
tasks :
1377
1349
- test-azurekms-task
1378
1350
1379
- - name : testazureoidc_task_group
1380
- setup_group :
1381
- - func : fetch source
1382
- - command : shell.exec
1383
- params :
1384
- shell : bash
1385
- script : |-
1386
- set -o errexit
1387
- ${PREPARE_SHELL}
1388
- export AZUREOIDC_CLIENTID="${testazureoidc_clientid}"
1389
- export AZUREOIDC_TENANTID="${testazureoic_tenantid}"
1390
- export AZUREOIDC_SECRET="${testazureoidc_secret}"
1391
- export AZUREOIDC_KEYVAULT=${testazureoidc_keyvault}
1392
- export AZUREOIDC_DRIVERS_TOOLS="$DRIVERS_TOOLS"
1393
- export AZUREOIDC_VMNAME_PREFIX="NODE_DRIVER"
1394
- $DRIVERS_TOOLS/.evergreen/auth_oidc/azure/create-and-setup-vm.sh
1395
- teardown_group :
1396
- - command : shell.exec
1397
- params :
1398
- shell : bash
1399
- script : |-
1400
- ${PREPARE_SHELL}
1401
- $DRIVERS_TOOLS/.evergreen/auth_oidc/azure/delete-vm.sh
1402
- setup_group_can_fail_task : true
1403
- setup_group_timeout_secs : 1800
1404
- tasks :
1405
- - oidc-auth-test-azure-latest
1406
-
1407
- - name : test_atlas_task_group
1408
- setup_group :
1409
- - func : fetch source
1410
- - command : subprocess.exec
1411
- params :
1412
- working_dir : src
1413
- binary : bash
1414
- add_expansions_to_env : true
1415
- args :
1416
- - ${DRIVERS_TOOLS}/.evergreen/atlas/setup-atlas-cluster.sh
1417
- - command : expansions.update
1418
- params :
1419
- file : src/atlas-expansion.yml
1420
- teardown_group :
1421
- - command : subprocess.exec
1422
- params :
1423
- working_dir : src
1424
- binary : bash
1425
- add_expansions_to_env : true
1426
- args :
1427
- - ${DRIVERS_TOOLS}/.evergreen/atlas/teardown-atlas-cluster.sh
1428
- setup_group_can_fail_task : true
1429
- setup_group_timeout_secs : 1800
1430
- tasks :
1431
- - test-aws-lambda-deployed
1432
-
1433
1351
pre :
1434
1352
- func : " fetch source"
1435
1353
- func : " windows fix"
@@ -1447,6 +1365,6 @@ ignore:
1447
1365
buildvariants :
1448
1366
- name : performance-tests
1449
1367
display_name : Performance Test
1450
- run_on : rhel90-dbx-perf -large
1368
+ run_on : rhel80 -large
1451
1369
tasks :
1452
- - run-spec-benchmark-tests-node-18-server-6.0
1370
+ - run-spec-benchmark-tests
0 commit comments