@@ -206,7 +206,7 @@ functions:
206
206
params :
207
207
binary : bash
208
208
include_expansions_in_env : [VERSION, TOPOLOGY, AUTH, SSL, ORCHESTRATION_FILE, LOAD_BALANCER,
209
- STORAGE_ENGINE, REQUIRE_API_VERSION, DRIVERS_TOOLS, TEST_CRYPT_SHARED]
209
+ STORAGE_ENGINE, REQUIRE_API_VERSION, DRIVERS_TOOLS, TEST_CRYPT_SHARED, AUTH_AWS ]
210
210
args :
211
211
- src/.evergreen/scripts/bootstrap-mongo-orchestration.sh
212
212
- command : expansions.update
@@ -295,100 +295,6 @@ functions:
295
295
- .evergreen/scripts/run-with-env.sh
296
296
- .evergreen/scripts/run-atlas-tests.sh
297
297
298
- " get aws auth secrets " :
299
- - command : subprocess.exec
300
- type : test
301
- params :
302
- include_expansions_in_env : ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN"]
303
- binary : bash
304
- args :
305
- - ${DRIVERS_TOOLS}/.evergreen/auth_aws/setup-secrets.sh
306
-
307
- " run aws auth test with regular aws credentials " :
308
- - command : subprocess.exec
309
- type : test
310
- params :
311
- include_expansions_in_env : ["DRIVERS_TOOLS", "skip_EC2_auth_test"]
312
- binary : bash
313
- working_dir : " src"
314
- args :
315
- - .evergreen/scripts/run-with-env.sh
316
- - .evergreen/scripts/run-mongodb-aws-test.sh
317
- - regular
318
-
319
- " run aws auth test with assume role credentials " :
320
- - command : subprocess.exec
321
- type : test
322
- params :
323
- include_expansions_in_env : ["DRIVERS_TOOLS", "skip_EC2_auth_test"]
324
- binary : bash
325
- working_dir : " src"
326
- args :
327
- - .evergreen/scripts/run-with-env.sh
328
- - .evergreen/scripts/run-mongodb-aws-test.sh
329
- - assume-role
330
-
331
- " run aws auth test with aws EC2 credentials " :
332
- - command : subprocess.exec
333
- type : test
334
- params :
335
- include_expansions_in_env : ["DRIVERS_TOOLS", "skip_EC2_auth_test"]
336
- binary : bash
337
- working_dir : " src"
338
- args :
339
- - .evergreen/scripts/run-with-env.sh
340
- - .evergreen/scripts/run-mongodb-aws-test.sh
341
- - ec2
342
-
343
- " run aws auth test with aws web identity credentials " :
344
- - # Test with and without AWS_ROLE_SESSION_NAME set.
345
- - command : subprocess.exec
346
- type : test
347
- params :
348
- include_expansions_in_env : ["DRIVERS_TOOLS", "skip_EC2_auth_test"]
349
- binary : bash
350
- working_dir : " src"
351
- args :
352
- - .evergreen/scripts/run-with-env.sh
353
- - .evergreen/scripts/run-mongodb-aws-test.sh
354
- - web-identity
355
- - command : subprocess.exec
356
- type : test
357
- params :
358
- include_expansions_in_env : [ "DRIVERS_TOOLS", "skip_EC2_auth_test" ]
359
- binary : bash
360
- working_dir : " src"
361
- env :
362
- AWS_ROLE_SESSION_NAME : test
363
- args :
364
- - .evergreen/scripts/run-with-env.sh
365
- - .evergreen/scripts/run-mongodb-aws-test.sh
366
- - web-identity
367
-
368
- " run aws auth test with aws credentials as environment variables " :
369
- - command : subprocess.exec
370
- type : test
371
- params :
372
- include_expansions_in_env : ["DRIVERS_TOOLS", "skip_EC2_auth_test"]
373
- binary : bash
374
- working_dir : " src"
375
- args :
376
- - .evergreen/scripts/run-with-env.sh
377
- - .evergreen/scripts/run-mongodb-aws-test.sh
378
- - env-creds
379
-
380
- " run aws auth test with aws credentials and session token as environment variables " :
381
- - command : subprocess.exec
382
- type : test
383
- params :
384
- include_expansions_in_env : ["DRIVERS_TOOLS", "skip_EC2_auth_test"]
385
- binary : bash
386
- working_dir : " src"
387
- args :
388
- - .evergreen/scripts/run-with-env.sh
389
- - .evergreen/scripts/run-mongodb-aws-test.sh
390
- - session-creds
391
-
392
298
" run oidc auth test with test credentials " :
393
299
- command : subprocess.exec
394
300
type : test
@@ -411,16 +317,6 @@ functions:
411
317
args :
412
318
- ${PROJECT_DIRECTORY}/.evergreen/run-mongodb-oidc-remote-test.sh
413
319
414
- " run aws ECS auth test " :
415
- - command : subprocess.exec
416
- type : test
417
- params :
418
- binary : bash
419
- working_dir : " src"
420
- args :
421
- - .evergreen/scripts/run-with-env.sh
422
- - .evergreen/scripts/run-aws-ecs-auth-test.sh
423
-
424
320
" cleanup " :
425
321
- command : subprocess.exec
426
322
params :
@@ -431,13 +327,6 @@ functions:
431
327
- .evergreen/scripts/cleanup.sh
432
328
433
329
" teardown system " :
434
- - command : subprocess.exec
435
- params :
436
- binary : bash
437
- working_dir : " src"
438
- args :
439
- # Ensure the instance profile is reassigned for aws tests.
440
- - ${DRIVERS_TOOLS}/.evergreen/auth_aws/teardown.sh
441
330
- command : subprocess.exec
442
331
params :
443
332
binary : bash
@@ -1159,132 +1048,6 @@ tasks:
1159
1048
OCSP_ALGORITHM : " ecdsa"
1160
1049
OCSP_TLS_SHOULD_SUCCEED : " false"
1161
1050
1162
- - name : " aws-auth-test-4.4"
1163
- commands :
1164
- - func : " bootstrap mongo-orchestration"
1165
- vars :
1166
- AUTH : " auth"
1167
- ORCHESTRATION_FILE : " auth-aws.json"
1168
- TOPOLOGY : " server"
1169
- VERSION : " 4.4"
1170
- - func : " assume ec2 role"
1171
- - func : " get aws auth secrets"
1172
- - func : " run aws auth test with regular aws credentials"
1173
- - func : " run aws auth test with assume role credentials"
1174
- - func : " run aws auth test with aws credentials as environment variables"
1175
- - func : " run aws auth test with aws credentials and session token as environment variables"
1176
- - func : " run aws auth test with aws EC2 credentials"
1177
- - func : " run aws auth test with aws web identity credentials"
1178
- - func : " run aws ECS auth test"
1179
-
1180
- - name : " aws-auth-test-5.0"
1181
- commands :
1182
- - func : " bootstrap mongo-orchestration"
1183
- vars :
1184
- AUTH : " auth"
1185
- ORCHESTRATION_FILE : " auth-aws.json"
1186
- TOPOLOGY : " server"
1187
- VERSION : " 5.0"
1188
- - func : " assume ec2 role"
1189
- - func : " get aws auth secrets"
1190
- - func : " run aws auth test with regular aws credentials"
1191
- - func : " run aws auth test with assume role credentials"
1192
- - func : " run aws auth test with aws credentials as environment variables"
1193
- - func : " run aws auth test with aws credentials and session token as environment variables"
1194
- - func : " run aws auth test with aws EC2 credentials"
1195
- - func : " run aws auth test with aws web identity credentials"
1196
- - func : " run aws ECS auth test"
1197
-
1198
- - name : " aws-auth-test-6.0"
1199
- commands :
1200
- - func : " bootstrap mongo-orchestration"
1201
- vars :
1202
- AUTH : " auth"
1203
- ORCHESTRATION_FILE : " auth-aws.json"
1204
- TOPOLOGY : " server"
1205
- VERSION : " 6.0"
1206
- - func : " assume ec2 role"
1207
- - func : " get aws auth secrets"
1208
- - func : " run aws auth test with regular aws credentials"
1209
- - func : " run aws auth test with assume role credentials"
1210
- - func : " run aws auth test with aws credentials as environment variables"
1211
- - func : " run aws auth test with aws credentials and session token as environment variables"
1212
- - func : " run aws auth test with aws EC2 credentials"
1213
- - func : " run aws auth test with aws web identity credentials"
1214
- - func : " run aws ECS auth test"
1215
-
1216
- - name : " aws-auth-test-7.0"
1217
- commands :
1218
- - func : " bootstrap mongo-orchestration"
1219
- vars :
1220
- AUTH : " auth"
1221
- ORCHESTRATION_FILE : " auth-aws.json"
1222
- TOPOLOGY : " server"
1223
- VERSION : " 7.0"
1224
- - func : " assume ec2 role"
1225
- - func : " get aws auth secrets"
1226
- - func : " run aws auth test with regular aws credentials"
1227
- - func : " run aws auth test with assume role credentials"
1228
- - func : " run aws auth test with aws credentials as environment variables"
1229
- - func : " run aws auth test with aws credentials and session token as environment variables"
1230
- - func : " run aws auth test with aws EC2 credentials"
1231
- - func : " run aws auth test with aws web identity credentials"
1232
- - func : " run aws ECS auth test"
1233
-
1234
- - name : " aws-auth-test-8.0"
1235
- commands :
1236
- - func : " bootstrap mongo-orchestration"
1237
- vars :
1238
- AUTH : " auth"
1239
- ORCHESTRATION_FILE : " auth-aws.json"
1240
- TOPOLOGY : " server"
1241
- VERSION : " 8.0"
1242
- - func : " assume ec2 role"
1243
- - func : " get aws auth secrets"
1244
- - func : " run aws auth test with regular aws credentials"
1245
- - func : " run aws auth test with assume role credentials"
1246
- - func : " run aws auth test with aws credentials as environment variables"
1247
- - func : " run aws auth test with aws credentials and session token as environment variables"
1248
- - func : " run aws auth test with aws EC2 credentials"
1249
- - func : " run aws auth test with aws web identity credentials"
1250
- - func : " run aws ECS auth test"
1251
-
1252
- - name : " aws-auth-test-rapid"
1253
- commands :
1254
- - func : " bootstrap mongo-orchestration"
1255
- vars :
1256
- AUTH : " auth"
1257
- ORCHESTRATION_FILE : " auth-aws.json"
1258
- TOPOLOGY : " server"
1259
- VERSION : " rapid"
1260
- - func : " assume ec2 role"
1261
- - func : " get aws auth secrets"
1262
- - func : " run aws auth test with regular aws credentials"
1263
- - func : " run aws auth test with assume role credentials"
1264
- - func : " run aws auth test with aws credentials as environment variables"
1265
- - func : " run aws auth test with aws credentials and session token as environment variables"
1266
- - func : " run aws auth test with aws EC2 credentials"
1267
- - func : " run aws auth test with aws web identity credentials"
1268
- - func : " run aws ECS auth test"
1269
-
1270
- - name : " aws-auth-test-latest"
1271
- commands :
1272
- - func : " bootstrap mongo-orchestration"
1273
- vars :
1274
- AUTH : " auth"
1275
- ORCHESTRATION_FILE : " auth-aws.json"
1276
- TOPOLOGY : " server"
1277
- VERSION : " latest"
1278
- - func : " assume ec2 role"
1279
- - func : " get aws auth secrets"
1280
- - func : " run aws auth test with regular aws credentials"
1281
- - func : " run aws auth test with assume role credentials"
1282
- - func : " run aws auth test with aws credentials as environment variables"
1283
- - func : " run aws auth test with aws credentials and session token as environment variables"
1284
- - func : " run aws auth test with aws EC2 credentials"
1285
- - func : " run aws auth test with aws web identity credentials"
1286
- - func : " run aws ECS auth test"
1287
-
1288
1051
- name : " oidc-auth-test"
1289
1052
commands :
1290
1053
- func : " run oidc auth test with test credentials"
0 commit comments