File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -780,9 +780,11 @@ functions:
780
780
silent : true
781
781
script : |
782
782
# DO NOT ECHO WITH XTRACE (which PREPARE_SHELL does)
783
- export AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
784
- export AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
785
- export AWS_SESSION_TOKEN=${AWS_SESSION_TOKEN}
783
+ cat <<'EOF' > "${PROJECT_DIRECTORY}/prepare_aws_connection.sh"
784
+ export AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
785
+ export AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
786
+ export AWS_SESSION_TOKEN=${AWS_SESSION_TOKEN}
787
+ EOF
786
788
- command : shell.exec
787
789
type : test
788
790
params :
@@ -793,6 +795,7 @@ functions:
793
795
794
796
# This is required for pypy3.7 UTF encoding
795
797
export LC_ALL=en_US.UTF-8
798
+ source ${PROJECT_DIRECTORY}/prepare_aws_connection.sh
796
799
bash ${PROJECT_DIRECTORY}/.evergreen/tox.sh ${PYTHON_BINARY} -m aws-secrets -- drivers/test
797
800
798
801
- command : expansions.update
You can’t perform that action at this time.
0 commit comments