Skip to content

Commit

Permalink
Merge pull request #131 from Clever/fix-integration-test-dl
Browse files Browse the repository at this point in the history
add s3 static cred fallback
  • Loading branch information
dxu429 authored Oct 9, 2023
2 parents 866b273 + 6f075a2 commit 2e025e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions circleci/integration-test
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ download_test_artifacts(){
if [[ -v OIDC_S3_UPLOAD_ROLE ]]; then
echo "Downloading files from S3 using profile ${AWS_S3_PROFILE}"
aws s3 cp --profile $AWS_S3_PROFILE $S3_BUCKET_URL $DEST
else
echo "Downloading files to S3 using static credentials"
aws s3 cp $S3_BUCKET_URL $DEST
fi
unzip $DEST test-results.xml -d $CIRCLE_TEST_REPORTS/${workflowID}
done
Expand Down

0 comments on commit 2e025e5

Please sign in to comment.