Skip to content

Commit 9a2c427

Browse files
committed
Use add_expansions_to_env
1 parent da1bfe4 commit 9a2c427

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

.evergreen/config.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -773,18 +773,19 @@ functions:
773773
- command: ec2.assume_role
774774
params:
775775
role_arn: ${aws_test_secrets_role}
776-
- command: shell.exec
777-
type: test
778-
params:
779-
working_dir: "src"
780-
silent: true
781-
script: |
782-
# DO NOT ECHO WITH XTRACE (which PREPARE_SHELL does)
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
776+
add_expansions_to_env: true
777+
# - command: shell.exec
778+
# type: test
779+
# params:
780+
# working_dir: "src"
781+
# silent: true
782+
# script: |
783+
# # DO NOT ECHO WITH XTRACE (which PREPARE_SHELL does)
784+
# cat <<'EOF' > "${PROJECT_DIRECTORY}/prepare_aws_connection.sh"
785+
# export AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
786+
# export AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
787+
# export AWS_SESSION_TOKEN=${AWS_SESSION_TOKEN}
788+
# EOF
788789
- command: shell.exec
789790
type: test
790791
params:

0 commit comments

Comments
 (0)