Skip to content

Commit

Permalink
[FLINK-10893] [tests] Export S3 credentials properly for test scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanEwen committed Nov 19, 2018
1 parent 22e35bf commit b7bbd06
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion flink-end-to-end-tests/test-scripts/common_s3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ else
echo "Found AWS secret key, running the e2e test."
fi

AWS_REGION="${AWS_REGION:-us-east-1}"
# export credentials into environment variables for AWS client
export AWS_REGION="${AWS_REGION:-us-east-1}"
export AWS_ACCESS_KEY_ID="$IT_CASE_S3_ACCESS_KEY"
export AWS_SECRET_ACCESS_KEY="$IT_CASE_S3_SECRET_KEY"

AWS_ACCESS_KEY=$IT_CASE_S3_ACCESS_KEY
AWS_SECRET_KEY=$IT_CASE_S3_SECRET_KEY

Expand Down

0 comments on commit b7bbd06

Please sign in to comment.