Skip to content
Snippets Groups Projects
Commit 2dcb83fd authored by Krish Moodbidri's avatar Krish Moodbidri
Browse files

echo aws creds

parent 6dff5150
No related branches found
No related tags found
No related merge requests found
Pipeline #9707 failed with stages
in 50 seconds
......@@ -40,9 +40,10 @@ prep-deploy:
- export BUILD_DATE=$(TZ=America/Chicago date +%Y-%m-%dT%H%M%S)
- apt-get update -qy
- apt-get install -y awscli
- aws configure set aws_access_key_id $AWS_ACCESS_KEY_ID
- aws configure set aws_secret_access_key $AWS_SECRET_ACCESS_KEY
- aws configure set default.region $AWS_DEFAULT_REGION
- echo "[default]" > ~/.aws/credentials
- echo "aws_access_key_id = $AWS_ACCESS_KEY_ID" >> ~/.aws/credentials
- echo "aws_secret_access_key = $AWS_SECRET_ACCESS_KEY" >> ~/.aws/credentials
- aws configure set default.region $AWS_DEFAULT_REGION
- s3cmd get --force -r --host=$AWS_HOST --host-bucket=$AWS_HOST s3://xdmod-vol/ /tmp
- ls -l /tmp
- |
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment