Skip to content
Snippets Groups Projects
Commit 78031b25 authored by Bogdan Cochior's avatar Bogdan Cochior
Browse files

ci(aws): add login

parent 1de913f9
No related branches found
No related tags found
1 merge request!10Sprint #12
...@@ -97,6 +97,7 @@ demo:aws-qa: ...@@ -97,6 +97,7 @@ demo:aws-qa:
- export AWS_REGION="eu-west-1" - export AWS_REGION="eu-west-1"
- export AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID - export AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID
- export AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY - export AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY
- eval $(aws ecr get-login --no-include-email --region eu-west-1 | sed 's|https://||')
- apk --no-cache add --update python python-dev py-pip - apk --no-cache add --update python python-dev py-pip
- pip install ecs-deploy - pip install ecs-deploy
- ecs deploy --region ${AWS_REGION} ${CLUSTER_NAME} ${IMAGE_REPO}:${CI_COMMIT_SHA} --tag ${CI_COMMIT_SHA} - ecs deploy --region ${AWS_REGION} ${CLUSTER_NAME} ${IMAGE_REPO}:${CI_COMMIT_SHA} --tag ${CI_COMMIT_SHA}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment