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

install aws cli

parent a0345dee
No related branches found
No related tags found
No related merge requests found
Pipeline #9700 failed with stages
in 13 seconds
...@@ -36,6 +36,7 @@ prep-deploy: ...@@ -36,6 +36,7 @@ prep-deploy:
name: $TARGET_ENV name: $TARGET_ENV
script: script:
- 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)
- apk add --no-cache aws-cli
- aws s3 --profile="${AWS_PROFILE}" --endpoint="${S3_ENDPOINT}" cp "s3://${BUCKET_NAME}/${FILE_NAME}" "${FILE_NAME}" - aws s3 --profile="${AWS_PROFILE}" --endpoint="${S3_ENDPOINT}" cp "s3://${BUCKET_NAME}/${FILE_NAME}" "${FILE_NAME}"
- | - |
if [ "$TARGET_ENV" = "dev" ]; then if [ "$TARGET_ENV" = "dev" ]; then
......
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