Skip to content

Commit a3faa33

Browse files
committed
test eks and gke
1 parent ff9ac07 commit a3faa33

File tree

1 file changed

+22
-19
lines changed

1 file changed

+22
-19
lines changed

.evergreen/config.yml

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,18 @@ functions:
515515
args:
516516
- .evergreen/run-mongodb-oidc-test.sh
517517

518+
"run oidc k8s auth test":
519+
- command: subprocess.exec
520+
type: test
521+
params:
522+
binary: bash
523+
working_dir: src
524+
env:
525+
OIDC_ENV: k8s
526+
include_expansions_in_env: ["DRIVERS_TOOLS", "AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN", "K8S_VARIANT"]
527+
args:
528+
- ${PROJECT_DIRECTORY}/.evergreen/run-mongodb-oidc-remote-test.sh
529+
518530
"run aws auth test with aws credentials as environment variables":
519531
- command: shell.exec
520532
type: test
@@ -939,15 +951,6 @@ task_groups:
939951
setup_group_timeout_secs: 1800
940952
tasks:
941953
- task: oidc-auth-test-k8s
942-
vars:
943-
K8S_VARIANT: eks
944-
- task: oidc-auth-test-k8s
945-
vars:
946-
K8S_VARIANT: gke
947-
# AKS testing is currently blocked until 8.0.1 is available in Atlas.
948-
# - task: oidc-auth-test-k8s
949-
# vars:
950-
# K8S_VARIANT: aks
951954

952955
- name: testoidc_task_group
953956
setup_group:
@@ -1909,16 +1912,16 @@ tasks:
19091912

19101913
- name: "oidc-auth-test-k8s"
19111914
commands:
1912-
- command: subprocess.exec
1913-
type: test
1914-
params:
1915-
binary: bash
1916-
working_dir: src
1917-
env:
1918-
OIDC_ENV: k8s
1919-
include_expansions_in_env: ["DRIVERS_TOOLS", "AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN", "K8S_VARIANT"]
1920-
args:
1921-
- ${PROJECT_DIRECTORY}/.evergreen/run-mongodb-oidc-remote-test.sh
1915+
- func: "run oidc k8s auth test"
1916+
vars:
1917+
K8S_VARIANT: eks
1918+
- func: "run oidc k8s auth test"
1919+
vars:
1920+
K8S_VARIANT: gke
1921+
# AKS testing is currently blocked until 8.0.1 is available in Atlas.
1922+
# - func: "run oidc k8s auth test"
1923+
# vars:
1924+
# K8S_VARIANT: aks
19221925

19231926
- name: "test-fips-standalone"
19241927
tags: ["fips"]

0 commit comments

Comments
 (0)