@@ -42,28 +42,15 @@ functions:
42
42
# Make an evergreen expansion file with dynamic values
43
43
- command : subprocess.exec
44
44
params :
45
- include_expansions_in_env : ["is_patch", "project", "version_id", "AUTH", "SSL", "test_encryption ", "test_encryption_pyopenssl ", "test_crypt_shared ", "test_pyopenssl ", "SETDEFAULTENCODING", "test_loadbalancer ", "test_serverless ", "SKIP_CSOT_TESTS", "MONGODB_STARTED", "DISABLE_TEST_COMMANDS", "GREEN_FRAMEWORK", "NO_EXT", "COVERAGE", "COMPRESSORS", "TEST_SUITES", " MONGODB_API_VERSION", "SKIP_HATCH ", "skip_crypt_shared", "VERSION", "TOPOLOGY", "STORAGE_ENGINE", "ORCHESTRATION_FILE", "REQUIRE_API_VERSION", "LOAD_BALANCER", "skip_web_identity_auth_test", "skip_ECS_auth_test"]
45
+ include_expansions_in_env : ["is_patch", "project", "version_id", "AUTH", "SSL", "TEST_ENCRYPTION ", "TEST_ENCRYPTION_PYOPENSSL ", "TEST_CRYPT_SHARED ", "TEST_PYOPENSSL ", "SETDEFAULTENCODING", "TEST_LOADBALANCER ", "TEST_SEVERLESS ", "SKIP_CSOT_TESTS", "MONGODB_STARTED", "DISABLE_TEST_COMMANDS", "GREEN_FRAMEWORK", "NO_EXT", "COVERAGE", "COMPRESSORS", "MONGODB_API_VERSION", "skip_crypt_shared", "VERSION", "TOPOLOGY", "STORAGE_ENGINE", "ORCHESTRATION_FILE", "REQUIRE_API_VERSION", "LOAD_BALANCER", "skip_web_identity_auth_test", "skip_ECS_auth_test"]
46
46
binary : bash
47
47
working_dir : " src"
48
48
args :
49
- - .evergreen/scripts/configure-env .sh
49
+ - .evergreen/scripts/setup-system .sh
50
50
# Load the expansion file to make an evergreen variable with the current unique version
51
51
- command : expansions.update
52
52
params :
53
53
file : src/expansion.yml
54
- - command : subprocess.exec
55
- params :
56
- include_expansions_in_env : ["PROJECT_DIRECTORY", "DRIVERS_TOOLS"]
57
- binary : bash
58
- args :
59
- - src/.evergreen/scripts/prepare-resources.sh
60
- # Run drivers-evergreen-tools system setup
61
- - command : subprocess.exec
62
- params :
63
- include_expansions_in_env : ["PROJECT_DIRECTORY", "DRIVERS_TOOLS"]
64
- binary : bash
65
- args :
66
- - ${DRIVERS_TOOLS}/.evergreen/setup.sh
67
54
68
55
" upload coverage" :
69
56
- command : ec2.assume_role
@@ -129,7 +116,6 @@ functions:
129
116
content_type : text/html
130
117
display_name : " Coverage Report HTML"
131
118
132
-
133
119
" upload mo artifacts " :
134
120
- command : ec2.assume_role
135
121
params :
@@ -288,30 +274,22 @@ functions:
288
274
289
275
" run tests " :
290
276
- command : subprocess.exec
277
+ type : test
291
278
params :
292
- include_expansions_in_env : ["TEST_DATA_LAKE", "PYTHON_BINARY", "AUTH", "SSL", "TEST_INDEX_MANAGEMENT", "CRYPT_SHARED_LIB_PATH", "test_encryption", "test_encryption_pyopenssl", "test_crypt_shared", "test_pyopenssl", "test_loadbalancer", "test_serverless", "ORCHESTRATION_FILE"]
279
+ include_expansions_in_env : ["TEST_DATA_LAKE", "PYTHON_BINARY", "AUTH", "SSL",
280
+ " AWS_ACCESS_KEY_ID" , "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN", "TEST_SUITES",
281
+ " TEST_INDEX_MANAGEMENT" , "CRYPT_SHARED_LIB_PATH", "TEST_ENCRYPTION", "TEST_ENCRYPTION_PYOPENSSL",
282
+ " TEST_CRYPT_SHARED" , "TEST_PYOPENSSL", "TEST_LOADBALANCER", "TEST_SEVERLESS", "MONGODB_URI"]
293
283
binary : bash
294
284
working_dir : " src"
295
285
args :
296
286
- .evergreen/scripts/setup-tests.sh
297
- - command : subprocess.exec
298
- params :
299
- working_dir : " src"
300
- binary : bash
301
- background : true
302
- include_expansions_in_env : ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN"]
303
- args :
304
- - .evergreen/scripts/run-with-env.sh
305
- - .evergreen/scripts/setup-encryption.sh
306
287
- command : subprocess.exec
307
288
type : test
308
289
params :
309
290
working_dir : " src"
310
291
binary : bash
311
- include_expansions_in_env : ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN", "PYTHON_BINARY", "TEST_DATA_LAKE", "TEST_INDEX_MANAGEMENT", "CRYPT_SHARED_LIB_PATH", "SINGLE_MONGOS_LB_URI", "MULTI_MONGOS_LB_URI", "TEST_SUITES"]
312
- args :
313
- - .evergreen/scripts/run-with-env.sh
314
- - .evergreen/scripts/run-tests.sh
292
+ args : [.evergreen/just.sh, test-eg]
315
293
316
294
" run enterprise auth tests " :
317
295
- command : subprocess.exec
@@ -345,13 +323,6 @@ functions:
345
323
- ${DRIVERS_TOOLS}/.evergreen/auth_aws/setup-secrets.sh
346
324
347
325
" run aws auth test with regular aws credentials " :
348
- - command : subprocess.exec
349
- params :
350
- include_expansions_in_env : ["TEST_DATA_LAKE", "TEST_INDEX_MANAGEMENT", "CRYPT_SHARED_LIB_PATH", "test_encryption", "test_encryption_pyopenssl", "test_crypt_shared", "test_pyopenssl", "test_loadbalancer", "test_serverless", "ORCHESTRATION_FILE"]
351
- binary : bash
352
- working_dir : " src"
353
- args :
354
- - .evergreen/scripts/setup-tests.sh
355
326
- command : subprocess.exec
356
327
type : test
357
328
params :
@@ -364,13 +335,6 @@ functions:
364
335
- regular
365
336
366
337
" run aws auth test with assume role credentials " :
367
- - command : subprocess.exec
368
- params :
369
- include_expansions_in_env : [ "TEST_DATA_LAKE", "TEST_INDEX_MANAGEMENT", "CRYPT_SHARED_LIB_PATH", "test_encryption", "test_encryption_pyopenssl", "test_crypt_shared", "test_pyopenssl", "test_loadbalancer", "test_serverless", "ORCHESTRATION_FILE" ]
370
- binary : bash
371
- working_dir : " src"
372
- args :
373
- - .evergreen/scripts/setup-tests.sh
374
338
- command : subprocess.exec
375
339
type : test
376
340
params :
@@ -383,13 +347,6 @@ functions:
383
347
- assume-role
384
348
385
349
" run aws auth test with aws EC2 credentials " :
386
- - command : subprocess.exec
387
- params :
388
- include_expansions_in_env : [ "TEST_DATA_LAKE", "TEST_INDEX_MANAGEMENT", "CRYPT_SHARED_LIB_PATH", "test_encryption", "test_encryption_pyopenssl", "test_crypt_shared", "test_pyopenssl", "test_loadbalancer", "test_serverless", "ORCHESTRATION_FILE" ]
389
- binary : bash
390
- working_dir : " src"
391
- args :
392
- - .evergreen/scripts/setup-tests.sh
393
350
- command : subprocess.exec
394
351
type : test
395
352
params :
@@ -402,13 +359,6 @@ functions:
402
359
- ec2
403
360
404
361
" run aws auth test with aws web identity credentials " :
405
- - command : subprocess.exec
406
- params :
407
- include_expansions_in_env : [ "TEST_DATA_LAKE", "TEST_INDEX_MANAGEMENT", "CRYPT_SHARED_LIB_PATH", "test_encryption", "test_encryption_pyopenssl", "test_crypt_shared", "test_pyopenssl", "test_loadbalancer", "test_serverless", "ORCHESTRATION_FILE" ]
408
- binary : bash
409
- working_dir : " src"
410
- args :
411
- - .evergreen/scripts/setup-tests.sh
412
362
- # Test with and without AWS_ROLE_SESSION_NAME set.
413
363
- command : subprocess.exec
414
364
type : test
@@ -434,13 +384,6 @@ functions:
434
384
- web-identity
435
385
436
386
" run aws auth test with aws credentials as environment variables " :
437
- - command : subprocess.exec
438
- params :
439
- include_expansions_in_env : [ "TEST_DATA_LAKE", "TEST_INDEX_MANAGEMENT", "CRYPT_SHARED_LIB_PATH", "test_encryption", "test_encryption_pyopenssl", "test_crypt_shared", "test_pyopenssl", "test_loadbalancer", "test_serverless", "ORCHESTRATION_FILE" ]
440
- binary : bash
441
- working_dir : " src"
442
- args :
443
- - .evergreen/scripts/setup-tests.sh
444
387
- command : subprocess.exec
445
388
type : test
446
389
params :
@@ -453,13 +396,6 @@ functions:
453
396
- env-creds
454
397
455
398
" run aws auth test with aws credentials and session token as environment variables " :
456
- - command : subprocess.exec
457
- params :
458
- include_expansions_in_env : [ "TEST_DATA_LAKE", "TEST_INDEX_MANAGEMENT", "CRYPT_SHARED_LIB_PATH", "test_encryption", "test_encryption_pyopenssl", "test_crypt_shared", "test_pyopenssl", "test_loadbalancer", "test_serverless", "ORCHESTRATION_FILE" ]
459
- binary : bash
460
- working_dir : " src"
461
- args :
462
- - .evergreen/scripts/setup-tests.sh
463
399
- command : subprocess.exec
464
400
type : test
465
401
params :
@@ -472,13 +408,6 @@ functions:
472
408
- session-creds
473
409
474
410
" run oidc auth test with test credentials " :
475
- - command : subprocess.exec
476
- params :
477
- include_expansions_in_env : [ "TEST_DATA_LAKE", "TEST_INDEX_MANAGEMENT", "CRYPT_SHARED_LIB_PATH", "test_encryption", "test_encryption_pyopenssl", "test_crypt_shared", "test_pyopenssl", "test_loadbalancer", "test_serverless", "ORCHESTRATION_FILE" ]
478
- binary : bash
479
- working_dir : " src"
480
- args :
481
- - .evergreen/scripts/setup-tests.sh
482
411
- command : subprocess.exec
483
412
type : test
484
413
params :
@@ -546,15 +475,6 @@ functions:
546
475
args :
547
476
- ${DRIVERS_TOOLS}/.evergreen/teardown.sh
548
477
549
- " install dependencies " :
550
- - command : subprocess.exec
551
- params :
552
- binary : bash
553
- working_dir : " src"
554
- args :
555
- - .evergreen/scripts/run-with-env.sh
556
- - .evergreen/scripts/install-dependencies.sh
557
-
558
478
" assume ec2 role " :
559
479
- command : ec2.assume_role
560
480
params :
@@ -575,13 +495,6 @@ functions:
575
495
file : atlas-expansion.yml
576
496
577
497
" run-ocsp-test " :
578
- - command : subprocess.exec
579
- params :
580
- include_expansions_in_env : [ "TEST_DATA_LAKE", "TEST_INDEX_MANAGEMENT", "CRYPT_SHARED_LIB_PATH", "test_encryption", "test_encryption_pyopenssl", "test_crypt_shared", "test_pyopenssl", "test_loadbalancer", "test_serverless", "ORCHESTRATION_FILE" ]
581
- binary : bash
582
- working_dir : " src"
583
- args :
584
- - .evergreen/scripts/setup-tests.sh
585
498
- command : subprocess.exec
586
499
type : test
587
500
params :
@@ -601,25 +514,6 @@ functions:
601
514
args :
602
515
- ${DRIVERS_TOOLS}/.evergreen/ocsp/setup.sh
603
516
604
- " run load-balancer " :
605
- - command : subprocess.exec
606
- params :
607
- binary : bash
608
- include_expansions_in_env : ["MONGODB_URI"]
609
- args :
610
- - src/.evergreen/scripts/run-with-env.sh
611
- - src/.evergreen/scripts/run-load-balancer.sh
612
- - command : expansions.update
613
- params :
614
- file : lb-expansion.yml
615
-
616
- " stop load-balancer " :
617
- - command : subprocess.exec
618
- params :
619
- binary : bash
620
- args :
621
- - src/.evergreen/scripts/stop-load-balancer.sh
622
-
623
517
" teardown atlas " :
624
518
- command : subprocess.exec
625
519
params :
@@ -650,7 +544,6 @@ functions:
650
544
pre :
651
545
- func : " fetch source"
652
546
- func : " setup system"
653
- - func : " install dependencies"
654
547
- func : " assume ec2 role"
655
548
656
549
post :
@@ -897,6 +790,7 @@ tasks:
897
790
- func : " run tests"
898
791
vars :
899
792
TEST_INDEX_MANAGEMENT : " 1"
793
+ AUTH : " auth"
900
794
901
795
- name : " mod-wsgi-standalone"
902
796
tags : ["mod_wsgi"]
@@ -943,6 +837,15 @@ tasks:
943
837
commands :
944
838
- func : " run tests"
945
839
840
+ - name : " free-threading"
841
+ tags : ["free-threading"]
842
+ commands :
843
+ - func : " bootstrap mongo-orchestration"
844
+ vars :
845
+ VERSION : " 8.0"
846
+ TOPOLOGY : " replica_set"
847
+ - func : " run tests"
848
+
946
849
- name : " atlas-connect"
947
850
tags : ["atlas-connect"]
948
851
commands :
@@ -958,7 +861,6 @@ tasks:
958
861
959
862
- name : " test-aws-lambda-deployed"
960
863
commands :
961
- - func : " install dependencies"
962
864
- command : ec2.assume_role
963
865
params :
964
866
role_arn : ${LAMBDA_AWS_ROLE_ARN}
@@ -1510,7 +1412,7 @@ tasks:
1510
1412
- name : " testgcpkms-task"
1511
1413
commands :
1512
1414
- command : subprocess.exec
1513
- type : setup
1415
+ type : test
1514
1416
params :
1515
1417
working_dir : " src"
1516
1418
binary : bash
@@ -1538,6 +1440,7 @@ tasks:
1538
1440
- name : testazurekms-task
1539
1441
commands :
1540
1442
- command : subprocess.exec
1443
+ type : test
1541
1444
params :
1542
1445
binary : bash
1543
1446
working_dir : src
@@ -1547,8 +1450,6 @@ tasks:
1547
1450
1548
1451
- name : testazurekms-fail-task
1549
1452
commands :
1550
- - func : fetch source
1551
- - func : setup system
1552
1453
- func : " bootstrap mongo-orchestration"
1553
1454
vars :
1554
1455
VERSION : " latest"
0 commit comments