diff --git a/.evergreen/.evg.yml b/.evergreen/.evg.yml index 760704d970..b28e40a075 100644 --- a/.evergreen/.evg.yml +++ b/.evergreen/.evg.yml @@ -207,8 +207,12 @@ functions: file: mo-expansion.yml "bootstrap mongohoused": + - command: ec2.assume_role + params: + role_arn: ${aws_test_secrets_role} - command: shell.exec params: + include_expansions_in_env: [ "AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN" ] script: | DRIVERS_TOOLS="${DRIVERS_TOOLS}" bash ${DRIVERS_TOOLS}/.evergreen/atlas_data_lake/pull-mongohouse-image.sh - command: shell.exec @@ -971,6 +975,8 @@ tasks: bash $DRIVERS_TOOLS/.evergreen/auth_oidc/gcp/run-driver-test.sh - name: "oidc-auth-test-k8s" + # Might exceed 1 hour of execution. + exec_timeout_secs: 7200 commands: - command: ec2.assume_role params: @@ -985,6 +991,8 @@ tasks: - func: "oidc-auth-test-k8s-func" vars: VARIANT: gke + params: + include_expansions_in_env: [ "AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN" ] - name: serverless-test commands: