@@ -1217,6 +1217,66 @@ tasks:
12171217 EXPECTED_AZUREKMS_OUTCOME : failure
12181218 args :
12191219 - src/.evergreen/run-azure-kms-tests.sh
1220+ - name : oidc-auth-test-k8s-latest-eks
1221+ commands :
1222+ - func : install dependencies
1223+ - command : subprocess.exec
1224+ type : test
1225+ params :
1226+ working_dir : src
1227+ binary : bash
1228+ env :
1229+ DRIVERS_TOOLS : ${DRIVERS_TOOLS}
1230+ PROJECT_DIRECTORY : ${PROJECT_DIRECTORY}
1231+ ENVIRONMENT : k8s
1232+ K8S_VARIANT : eks
1233+ SCRIPT : run-oidc-prose-tests.sh
1234+ include_expansions_in_env :
1235+ - AWS_ACCESS_KEY_ID
1236+ - AWS_SECRET_ACCESS_KEY
1237+ - AWS_SESSION_TOKEN
1238+ args :
1239+ - .evergreen/run-oidc-tests-k8s.sh
1240+ - name : oidc-auth-test-k8s-latest-gke
1241+ commands :
1242+ - func : install dependencies
1243+ - command : subprocess.exec
1244+ type : test
1245+ params :
1246+ working_dir : src
1247+ binary : bash
1248+ env :
1249+ DRIVERS_TOOLS : ${DRIVERS_TOOLS}
1250+ PROJECT_DIRECTORY : ${PROJECT_DIRECTORY}
1251+ ENVIRONMENT : k8s
1252+ K8S_VARIANT : gke
1253+ SCRIPT : run-oidc-prose-tests.sh
1254+ include_expansions_in_env :
1255+ - AWS_ACCESS_KEY_ID
1256+ - AWS_SECRET_ACCESS_KEY
1257+ - AWS_SESSION_TOKEN
1258+ args :
1259+ - .evergreen/run-oidc-tests-k8s.sh
1260+ - name : oidc-auth-test-k8s-latest-aks
1261+ commands :
1262+ - func : install dependencies
1263+ - command : subprocess.exec
1264+ type : test
1265+ params :
1266+ working_dir : src
1267+ binary : bash
1268+ env :
1269+ DRIVERS_TOOLS : ${DRIVERS_TOOLS}
1270+ PROJECT_DIRECTORY : ${PROJECT_DIRECTORY}
1271+ ENVIRONMENT : k8s
1272+ K8S_VARIANT : aks
1273+ SCRIPT : run-oidc-prose-tests.sh
1274+ include_expansions_in_env :
1275+ - AWS_ACCESS_KEY_ID
1276+ - AWS_SECRET_ACCESS_KEY
1277+ - AWS_SESSION_TOKEN
1278+ args :
1279+ - .evergreen/run-oidc-tests-k8s.sh
12201280 - name : oidc-auth-test-azure-latest
12211281 commands :
12221282 - func : install dependencies
@@ -4410,6 +4470,69 @@ task_groups:
44104470 - ${DRIVERS_TOOLS}/.evergreen/csfle/azurekms/teardown.sh
44114471 tasks :
44124472 - test-azurekms-task
4473+ - name : testk8soidc_task_group_eks
4474+ setup_group :
4475+ - func : fetch source
4476+ - command : ec2.assume_role
4477+ params :
4478+ role_arn : ${OIDC_AWS_ROLE_ARN}
4479+ - command : subprocess.exec
4480+ params :
4481+ binary : bash
4482+ args :
4483+ - ${DRIVERS_TOOLS}/.evergreen/auth_oidc/k8s/setup.sh
4484+ teardown_task :
4485+ - command : subprocess.exec
4486+ params :
4487+ binary : bash
4488+ args :
4489+ - ${DRIVERS_TOOLS}/.evergreen/auth_oidc/k8s/teardown.sh
4490+ setup_group_can_fail_task : true
4491+ setup_group_timeout_secs : 1800
4492+ tasks :
4493+ - oidc-auth-test-k8s-latest-eks
4494+ - name : testk8soidc_task_group_gke
4495+ setup_group :
4496+ - func : fetch source
4497+ - command : ec2.assume_role
4498+ params :
4499+ role_arn : ${OIDC_AWS_ROLE_ARN}
4500+ - command : subprocess.exec
4501+ params :
4502+ binary : bash
4503+ args :
4504+ - ${DRIVERS_TOOLS}/.evergreen/auth_oidc/k8s/setup.sh
4505+ teardown_task :
4506+ - command : subprocess.exec
4507+ params :
4508+ binary : bash
4509+ args :
4510+ - ${DRIVERS_TOOLS}/.evergreen/auth_oidc/k8s/teardown.sh
4511+ setup_group_can_fail_task : true
4512+ setup_group_timeout_secs : 1800
4513+ tasks :
4514+ - oidc-auth-test-k8s-latest-gke
4515+ - name : testk8soidc_task_group_aks
4516+ setup_group :
4517+ - func : fetch source
4518+ - command : ec2.assume_role
4519+ params :
4520+ role_arn : ${OIDC_AWS_ROLE_ARN}
4521+ - command : subprocess.exec
4522+ params :
4523+ binary : bash
4524+ args :
4525+ - ${DRIVERS_TOOLS}/.evergreen/auth_oidc/k8s/setup.sh
4526+ teardown_task :
4527+ - command : subprocess.exec
4528+ params :
4529+ binary : bash
4530+ args :
4531+ - ${DRIVERS_TOOLS}/.evergreen/auth_oidc/k8s/teardown.sh
4532+ setup_group_can_fail_task : true
4533+ setup_group_timeout_secs : 1800
4534+ tasks :
4535+ - oidc-auth-test-k8s-latest-aks
44134536 - name : testtestoidc_task_group
44144537 setup_group :
44154538 - func : fetch source
@@ -5093,6 +5216,9 @@ buildvariants:
50935216 - testtestoidc_task_group
50945217 - testazureoidc_task_group
50955218 - testgcpoidc_task_group
5219+ - testk8soidc_task_group_eks
5220+ - testk8soidc_task_group_gke
5221+ - testk8soidc_task_group_aks
50965222 - name : rhel8-test-atlas
50975223 display_name : Atlas Cluster Tests
50985224 run_on : rhel80-large
0 commit comments