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

test with updated aws creds

parent 2dcb83fd
No related branches found
No related tags found
No related merge requests found
Pipeline #9708 failed with stages
in 3 minutes and 48 seconds
...@@ -12,8 +12,6 @@ variables: ...@@ -12,8 +12,6 @@ variables:
TF_VAR_external_network: "xdmod-packer-dmznet" TF_VAR_external_network: "xdmod-packer-dmznet"
GIT_SUBMODULE_STRATEGY: "recursive" GIT_SUBMODULE_STRATEGY: "recursive"
GIT_SUBMODULE_UPDATE_FLAGS: "--force" GIT_SUBMODULE_UPDATE_FLAGS: "--force"
AWS_PROFILE: "krish94"
ANSIBLE_REMOTE_TMP: "/tmp"
AWS_DEFAULT_REGION: "bhm" AWS_DEFAULT_REGION: "bhm"
AWS_HOST: "s3.lts.rc.uab.edu" AWS_HOST: "s3.lts.rc.uab.edu"
BUCKET_NAME: "xdmod-vol" BUCKET_NAME: "xdmod-vol"
...@@ -40,10 +38,6 @@ prep-deploy: ...@@ -40,10 +38,6 @@ prep-deploy:
- export BUILD_DATE=$(TZ=America/Chicago date +%Y-%m-%dT%H%M%S) - export BUILD_DATE=$(TZ=America/Chicago date +%Y-%m-%dT%H%M%S)
- apt-get update -qy - apt-get update -qy
- apt-get install -y awscli - apt-get install -y awscli
- 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 - s3cmd get --force -r --host=$AWS_HOST --host-bucket=$AWS_HOST s3://xdmod-vol/ /tmp
- ls -l /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