@@ -207,8 +207,12 @@ functions:
207
207
file : mo-expansion.yml
208
208
209
209
" bootstrap mongohoused " :
210
+ - command : ec2.assume_role
211
+ params :
212
+ role_arn : ${aws_test_secrets_role}
210
213
- command : shell.exec
211
214
params :
215
+ include_expansions_in_env : [ "AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN" ]
212
216
script : |
213
217
DRIVERS_TOOLS="${DRIVERS_TOOLS}" bash ${DRIVERS_TOOLS}/.evergreen/atlas_data_lake/pull-mongohouse-image.sh
214
218
- command : shell.exec
@@ -838,6 +842,8 @@ functions:
838
842
export K8S_DRIVERS_TAR_FILE=/tmp/mongo-java-driver.tar
839
843
git archive -o $K8S_DRIVERS_TAR_FILE HEAD
840
844
tar -rf $K8S_DRIVERS_TAR_FILE .git
845
+ # Loop through all submodule directories and append to the archive
846
+ git submodule status --recursive | awk '{ print $2 }' | xargs tar -rf "$K8S_DRIVERS_TAR_FILE"
841
847
export K8S_TEST_CMD="OIDC_ENV=k8s VARIANT=${VARIANT} ./.evergreen/run-mongodb-oidc-test.sh"
842
848
bash $DRIVERS_TOOLS/.evergreen/auth_oidc/k8s/setup-pod.sh
843
849
bash $DRIVERS_TOOLS/.evergreen/auth_oidc/k8s/run-self-test.sh
@@ -969,6 +975,8 @@ tasks:
969
975
bash $DRIVERS_TOOLS/.evergreen/auth_oidc/gcp/run-driver-test.sh
970
976
971
977
- name : " oidc-auth-test-k8s"
978
+ # Might exceed 1 hour of execution.
979
+ exec_timeout_secs : 7200
972
980
commands :
973
981
- command : ec2.assume_role
974
982
params :
@@ -983,6 +991,8 @@ tasks:
983
991
- func : " oidc-auth-test-k8s-func"
984
992
vars :
985
993
VARIANT : gke
994
+ params :
995
+ include_expansions_in_env : [ "AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN" ]
986
996
987
997
- name : serverless-test
988
998
commands :
0 commit comments