Skip to content

Commit 0c11812

Browse files
authored
Merge branch 'master' into PYTHON-4493-prod
2 parents 09d5e49 + 4353278 commit 0c11812

36 files changed

+1155
-564
lines changed

.evergreen/config.yml

Lines changed: 51 additions & 277 deletions
Large diffs are not rendered by default.

.evergreen/generated_configs/tasks.yml

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
tasks:
2+
# Atlas connect tests
3+
- name: test-atlas-connect
4+
commands:
5+
- func: assume ec2 role
6+
- func: run tests
7+
vars:
8+
TEST_NAME: atlas_connect
9+
tags: [atlas_connect]
10+
211
# Aws tests
312
- name: test-auth-aws-4.4-regular
413
commands:
@@ -680,6 +689,20 @@ tasks:
680689
AWS_ROLE_SESSION_NAME: test
681690
tags: [auth-aws, auth-aws-web-identity]
682691

692+
# Enterprise auth tests
693+
- name: test-enterprise-auth
694+
commands:
695+
- func: run server
696+
vars:
697+
TEST_NAME: enterprise_auth
698+
AUTH: auth
699+
- func: assume ec2 role
700+
- func: run tests
701+
vars:
702+
TEST_NAME: enterprise_auth
703+
AUTH: auth
704+
tags: [enterprise_auth]
705+
683706
# Kms tests
684707
- name: test-gcpkms
685708
commands:
@@ -752,6 +775,48 @@ tasks:
752775
TEST_NAME: load_balancer
753776
tags: [load-balancer, noauth, nossl]
754777

778+
# Mod wsgi tests
779+
- name: mod-wsgi-standalone
780+
commands:
781+
- func: run server
782+
vars:
783+
TOPOLOGY: standalone
784+
- func: run tests
785+
vars:
786+
TEST_NAME: mod_wsgi
787+
SUB_TEST_NAME: standalone
788+
tags: [mod_wsgi]
789+
- name: mod-wsgi-replica-set
790+
commands:
791+
- func: run server
792+
vars:
793+
TOPOLOGY: replica_set
794+
- func: run tests
795+
vars:
796+
TEST_NAME: mod_wsgi
797+
SUB_TEST_NAME: standalone
798+
tags: [mod_wsgi]
799+
- name: mod-wsgi-embedded-mode-standalone
800+
commands:
801+
- func: run server
802+
vars:
803+
TOPOLOGY: standalone
804+
- func: run tests
805+
vars:
806+
TEST_NAME: mod_wsgi
807+
SUB_TEST_NAME: embedded
808+
tags: [mod_wsgi]
809+
- name: mod-wsgi-embedded-mode-replica-set
810+
commands:
811+
- func: run server
812+
vars:
813+
TOPOLOGY: replica_set
814+
- func: run tests
815+
vars:
816+
TEST_NAME: mod_wsgi
817+
SUB_TEST_NAME: embedded
818+
tags: [mod_wsgi]
819+
755820
# Ocsp tests
756821
- name: test-ocsp-ecdsa-valid-cert-server-does-not-staple
757822
commands:
@@ -1042,6 +1107,50 @@ tasks:
10421107
TEST_NAME: ocsp
10431108
tags: [ocsp, ocsp-rsa]
10441109

1110+
# Oidc tests
1111+
- name: test-auth-oidc-default
1112+
commands:
1113+
- func: run tests
1114+
vars:
1115+
TEST_NAME: auth_oidc
1116+
SUB_TEST_NAME: default
1117+
tags: [auth_oidc]
1118+
- name: test-auth-oidc-azure
1119+
commands:
1120+
- func: run tests
1121+
vars:
1122+
TEST_NAME: auth_oidc
1123+
SUB_TEST_NAME: azure
1124+
tags: [auth_oidc, auth_oidc_remote]
1125+
- name: test-auth-oidc-gcp
1126+
commands:
1127+
- func: run tests
1128+
vars:
1129+
TEST_NAME: auth_oidc
1130+
SUB_TEST_NAME: gcp
1131+
tags: [auth_oidc, auth_oidc_remote]
1132+
- name: test-auth-oidc-eks
1133+
commands:
1134+
- func: run tests
1135+
vars:
1136+
TEST_NAME: auth_oidc
1137+
SUB_TEST_NAME: eks
1138+
tags: [auth_oidc, auth_oidc_remote]
1139+
- name: test-auth-oidc-aks
1140+
commands:
1141+
- func: run tests
1142+
vars:
1143+
TEST_NAME: auth_oidc
1144+
SUB_TEST_NAME: aks
1145+
tags: [auth_oidc, auth_oidc_remote]
1146+
- name: test-auth-oidc-gke
1147+
commands:
1148+
- func: run tests
1149+
vars:
1150+
TEST_NAME: auth_oidc
1151+
SUB_TEST_NAME: gke
1152+
tags: [auth_oidc, auth_oidc_remote]
1153+
10451154
# Server tests
10461155
- name: test-4.0-standalone-auth-ssl-sync
10471156
commands:
@@ -5822,3 +5931,13 @@ tasks:
58225931
- noauth
58235932
- nossl
58245933
- sync_async
5934+
5935+
# Serverless tests
5936+
- name: test-serverless
5937+
commands:
5938+
- func: run tests
5939+
vars:
5940+
TEST_NAME: serverless
5941+
AUTH: auth
5942+
SSL: ssl
5943+
tags: [serverless]

.evergreen/generated_configs/variants.yml

Lines changed: 27 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ buildvariants:
4949
# Atlas connect tests
5050
- name: atlas-connect-rhel8-python3.9
5151
tasks:
52-
- name: atlas-connect
52+
- name: .atlas_connect
5353
display_name: Atlas connect RHEL8 Python3.9
5454
run_on:
5555
- rhel87-small
5656
expansions:
5757
PYTHON_BINARY: /opt/python/3.9/bin/python3
5858
- name: atlas-connect-rhel8-python3.13
5959
tasks:
60-
- name: atlas-connect
60+
- name: .atlas_connect
6161
display_name: Atlas connect RHEL8 Python3.13
6262
run_on:
6363
- rhel87-small
@@ -510,59 +510,53 @@ buildvariants:
510510
tags: [encryption_tag]
511511

512512
# Enterprise auth tests
513-
- name: auth-enterprise-macos-python3.9-auth
513+
- name: auth-enterprise-macos-python3.9
514514
tasks:
515-
- name: test-enterprise-auth
516-
display_name: Auth Enterprise macOS Python3.9 Auth
515+
- name: .enterprise_auth
516+
display_name: Auth Enterprise macOS Python3.9
517517
run_on:
518518
- macos-14
519519
expansions:
520-
AUTH: auth
521520
PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3
522-
- name: auth-enterprise-rhel8-python3.10-auth
521+
- name: auth-enterprise-rhel8-python3.10
523522
tasks:
524-
- name: test-enterprise-auth
525-
display_name: Auth Enterprise RHEL8 Python3.10 Auth
523+
- name: .enterprise_auth
524+
display_name: Auth Enterprise RHEL8 Python3.10
526525
run_on:
527526
- rhel87-small
528527
expansions:
529-
AUTH: auth
530528
PYTHON_BINARY: /opt/python/3.10/bin/python3
531-
- name: auth-enterprise-rhel8-python3.11-auth
529+
- name: auth-enterprise-rhel8-python3.11
532530
tasks:
533-
- name: test-enterprise-auth
534-
display_name: Auth Enterprise RHEL8 Python3.11 Auth
531+
- name: .enterprise_auth
532+
display_name: Auth Enterprise RHEL8 Python3.11
535533
run_on:
536534
- rhel87-small
537535
expansions:
538-
AUTH: auth
539536
PYTHON_BINARY: /opt/python/3.11/bin/python3
540-
- name: auth-enterprise-rhel8-python3.12-auth
537+
- name: auth-enterprise-rhel8-python3.12
541538
tasks:
542-
- name: test-enterprise-auth
543-
display_name: Auth Enterprise RHEL8 Python3.12 Auth
539+
- name: .enterprise_auth
540+
display_name: Auth Enterprise RHEL8 Python3.12
544541
run_on:
545542
- rhel87-small
546543
expansions:
547-
AUTH: auth
548544
PYTHON_BINARY: /opt/python/3.12/bin/python3
549-
- name: auth-enterprise-win64-python3.13-auth
545+
- name: auth-enterprise-win64-python3.13
550546
tasks:
551-
- name: test-enterprise-auth
552-
display_name: Auth Enterprise Win64 Python3.13 Auth
547+
- name: .enterprise_auth
548+
display_name: Auth Enterprise Win64 Python3.13
553549
run_on:
554550
- windows-64-vsMulti-small
555551
expansions:
556-
AUTH: auth
557552
PYTHON_BINARY: C:/python/Python313/python.exe
558-
- name: auth-enterprise-rhel8-pypy3.10-auth
553+
- name: auth-enterprise-rhel8-pypy3.10
559554
tasks:
560-
- name: test-enterprise-auth
561-
display_name: Auth Enterprise RHEL8 PyPy3.10 Auth
555+
- name: .enterprise_auth
556+
display_name: Auth Enterprise RHEL8 PyPy3.10
562557
run_on:
563558
- rhel87-small
564559
expansions:
565-
AUTH: auth
566560
PYTHON_BINARY: /opt/python/pypy3.10/bin/python3
567561

568562
# Free threaded tests
@@ -702,10 +696,7 @@ buildvariants:
702696
# Mod wsgi tests
703697
- name: mod_wsgi-ubuntu-22-python3.9
704698
tasks:
705-
- name: mod-wsgi-standalone
706-
- name: mod-wsgi-replica-set
707-
- name: mod-wsgi-embedded-mode-standalone
708-
- name: mod-wsgi-embedded-mode-replica-set
699+
- name: .mod_wsgi
709700
display_name: mod_wsgi Ubuntu-22 Python3.9
710701
run_on:
711702
- ubuntu2204-small
@@ -714,10 +705,7 @@ buildvariants:
714705
PYTHON_BINARY: /opt/python/3.9/bin/python3
715706
- name: mod_wsgi-ubuntu-22-python3.13
716707
tasks:
717-
- name: mod-wsgi-standalone
718-
- name: mod-wsgi-replica-set
719-
- name: mod-wsgi-embedded-mode-standalone
720-
- name: mod-wsgi-embedded-mode-replica-set
708+
- name: .mod_wsgi
721709
display_name: mod_wsgi Ubuntu-22 Python3.13
722710
run_on:
723711
- ubuntu2204-small
@@ -920,24 +908,21 @@ buildvariants:
920908
# Oidc auth tests
921909
- name: auth-oidc-ubuntu-22
922910
tasks:
923-
- name: testoidc_task_group
924-
- name: testazureoidc_task_group
925-
- name: testgcpoidc_task_group
926-
- name: testk8soidc_task_group
911+
- name: .auth_oidc
927912
display_name: Auth OIDC Ubuntu-22
928913
run_on:
929914
- ubuntu2204-small
930915
batchtime: 10080
931916
- name: auth-oidc-macos
932917
tasks:
933-
- name: testoidc_task_group
918+
- name: .auth_oidc !.auth_oidc_remote
934919
display_name: Auth OIDC macOS
935920
run_on:
936921
- macos-14
937922
batchtime: 10080
938923
- name: auth-oidc-win64
939924
tasks:
940-
- name: testoidc_task_group
925+
- name: .auth_oidc !.auth_oidc_remote
941926
display_name: Auth OIDC Win64
942927
run_on:
943928
- windows-64-vsMulti-small
@@ -1238,27 +1223,21 @@ buildvariants:
12381223
# Serverless tests
12391224
- name: serverless-rhel8-python3.9
12401225
tasks:
1241-
- name: serverless_task_group
1226+
- name: .serverless
12421227
display_name: Serverless RHEL8 Python3.9
12431228
run_on:
12441229
- rhel87-small
12451230
batchtime: 10080
12461231
expansions:
1247-
TEST_NAME: serverless
1248-
AUTH: auth
1249-
SSL: ssl
12501232
PYTHON_BINARY: /opt/python/3.9/bin/python3
12511233
- name: serverless-rhel8-python3.13
12521234
tasks:
1253-
- name: serverless_task_group
1235+
- name: .serverless
12541236
display_name: Serverless RHEL8 Python3.13
12551237
run_on:
12561238
- rhel87-small
12571239
batchtime: 10080
12581240
expansions:
1259-
TEST_NAME: serverless
1260-
AUTH: auth
1261-
SSL: ssl
12621241
PYTHON_BINARY: /opt/python/3.13/bin/python3
12631242

12641243
# Stable api tests

.evergreen/run-mongodb-oidc-remote-test.sh

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)