Skip to content

Commit

Permalink
Improve upload output
Browse files Browse the repository at this point in the history
  • Loading branch information
lox committed Dec 16, 2016
1 parent d54c3df commit 4df3747
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .buildkite/upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@ export AWS_DEFAULT_REGION=us-east-1
export AWS_ACCESS_KEY_ID=$SANDBOX_AWS_ACCESS_KEY_ID
export AWS_SECRET_ACCESS_KEY=$SANDBOX_AWS_SECRET_ACCESS_KEY

echo "~~~ :buildkite: Downloading artifacts"
mkdir -p build/
buildkite-agent artifact download "build/*" build/

make upload branch=${BUILDKITE_BRANCH}
echo "~~~ :s3: Uploading files"
make upload branch=${BUILDKITE_BRANCH}

echo "+++ :s3: Upload complete"
for f in $(ls build/) ; do
printf "https://buildkite-metrics.s3.amazonaws.com/%s\n" $f
done

0 comments on commit 4df3747

Please sign in to comment.