Skip to content

Commit

Permalink
Pass the variables to aws again :)
Browse files Browse the repository at this point in the history
  • Loading branch information
humitos committed Sep 2, 2021
1 parent 1029806 commit 3bac624
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/compile_version_upload_s3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ docker cp $CONTAINER_ID:/home/docs/$OS-$LANGUAGE-$VERSION.tar.gz .
docker container kill $CONTAINER_ID

# Upload the .tar.gz to S3
AWS_ACCESS_KEY_ID="${AWS_ACCESS_KEY_ID:-admin}"
AWS_SECRET_ACCESS_KEY="${AWS_SECRET_ACCESS_KEY:-password}"
AWS_ENDPOINT_URL="${AWS_ENDPOINT_URL:-http://localhost:9000}"
AWS_LANGUAGES_BUCKET="${AWS_LANGUAGES_BUCKET:-languages}"
AWS_ACCESS_KEY_ID="${AWS_ACCESS_KEY_ID:-admin}" \
AWS_SECRET_ACCESS_KEY="${AWS_SECRET_ACCESS_KEY:-password}" \
aws --endpoint-url $AWS_ENDPOINT_URL s3 cp $OS-$LANGUAGE-$VERSION.tar.gz s3://$AWS_LANGUAGES_BUCKET

# Delete the .tar.gz file from the host
Expand Down

0 comments on commit 3bac624

Please sign in to comment.