Skip to content

Commit dcc0371

Browse files
authored
Fix datalake and k8s test failures (#1720)
- Increase timeout for k8s tests. - Add explicit "assume role".
1 parent 0c27b26 commit dcc0371

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.evergreen/.evg.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,12 @@ functions:
207207
file: mo-expansion.yml
208208

209209
"bootstrap mongohoused":
210+
- command: ec2.assume_role
211+
params:
212+
role_arn: ${aws_test_secrets_role}
210213
- command: shell.exec
211214
params:
215+
include_expansions_in_env: [ "AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN" ]
212216
script: |
213217
DRIVERS_TOOLS="${DRIVERS_TOOLS}" bash ${DRIVERS_TOOLS}/.evergreen/atlas_data_lake/pull-mongohouse-image.sh
214218
- command: shell.exec
@@ -951,6 +955,8 @@ tasks:
951955
bash $DRIVERS_TOOLS/.evergreen/auth_oidc/gcp/run-driver-test.sh
952956
953957
- name: "oidc-auth-test-k8s"
958+
# Might exceed 1 hour of execution.
959+
exec_timeout_secs: 7200
954960
commands:
955961
- command: ec2.assume_role
956962
params:
@@ -965,6 +971,8 @@ tasks:
965971
- func: "oidc-auth-test-k8s-func"
966972
vars:
967973
VARIANT: gke
974+
params:
975+
include_expansions_in_env: [ "AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN" ]
968976

969977
- name: serverless-test
970978
commands:

0 commit comments

Comments
 (0)