File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -788,11 +788,13 @@ functions:
788
788
type : test
789
789
params :
790
790
working_dir : " src"
791
+ env :
792
+ AWS_ACCESS_KEY_ID : ${aws_access_key_id}
793
+ AWS_SECRET_ACCESS_KEY : ${aws_secret_access_key}
791
794
script : |
792
795
${PREPARE_SHELL}
793
796
set +o xtrace
794
- MONGODB_URI="${MONGODB_URI}" AWS_ACCESS_KEY_ID=${aws_access_key_id} AWS_SECRET_ACCESS_KEY=${aws_secret_access_key} \
795
- .evergreen/run-csfle-aws-from-environment.sh
797
+ MONGODB_URI="${MONGODB_URI}" .evergreen/run-csfle-aws-from-environment.sh
796
798
797
799
" run csfle tests with mongocryptd " :
798
800
- command : shell.exec
@@ -810,15 +812,16 @@ functions:
810
812
GCP_PRIVATE_KEY : ${gcp_private_key}
811
813
AZUREKMS_KEY_VAULT_ENDPOINT : ${testazurekms_keyvaultendpoint}
812
814
AZUREKMS_KEY_NAME : ${testazurekms_keyname}
813
- AWS_TEMP_ACCESS_KEY_ID : ${CSFLE_AWS_TEMP_ACCESS_KEY_ID}
814
- AWS_TEMP_SECRET_ACCESS_KEY : ${CSFLE_AWS_TEMP_SECRET_ACCESS_KEY}
815
- AWS_TEMP_SESSION_TOKEN : ${CSFLE_AWS_TEMP_SESSION_TOKEN}
816
815
script : |
817
816
${PREPARE_SHELL}
818
817
. ${DRIVERS_TOOLS}/.evergreen/csfle/set-temp-creds.sh
819
818
820
- MONGODB_URI="${MONGODB_URI}" JAVA_VERSION="${JAVA_VERSION}" \
821
- .evergreen/run-csfle-tests-with-mongocryptd.sh
819
+ # These will be echoed: is that ok?
820
+ export AWS_TEMP_ACCESS_KEY_ID=${CSFLE_AWS_TEMP_ACCESS_KEY_ID}
821
+ export AWS_TEMP_SECRET_ACCESS_KEY=${CSFLE_AWS_TEMP_SECRET_ACCESS_KEY}
822
+ export WS_TEMP_SESSION_TOKEN=${CSFLE_AWS_TEMP_SESSION_TOKEN}
823
+
824
+ MONGODB_URI="${MONGODB_URI}" JAVA_VERSION="${JAVA_VERSION}" .evergreen/run-csfle-tests-with-mongocryptd.sh
822
825
823
826
" publish snapshot " :
824
827
- command : shell.exec
You can’t perform that action at this time.
0 commit comments