Skip to content

Commit

Permalink
Update version pins for Python ecs deploy dependencies including six …
Browse files Browse the repository at this point in the history
…and urllib (#404)

* Update version pins including six and urllib3
  • Loading branch information
sonoransun authored and vasconsaurus committed Oct 10, 2023
1 parent f178005 commit 69547c7
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,12 @@ deploy_qa:
AWS_DEFAULT_REGION: $AWS_DEFAULT_REGION
script:
- apk add --no-cache curl jq python3 py3-pip git
- pip install awscli==1.18.194
- pip install botocore==1.17.47
- pip install boto3==1.14.47
- pip install ecs-deploy==1.11.0
- pip install urllib3==2.0.6
- pip install six==1.16.0
- pip install botocore==1.31.62
- pip install boto3==1.28.62
- pip install ecs-deploy==1.14.0
- pip install awscli==1.29.59
- aws ssm get-parameters-by-path --region $AWS_DEFAULT_REGION --path /qa/pender/ --recursive --with-decryption --output text --query "Parameters[].[Name]" | sed -E 's#/qa/pender/##' > env.qa.names
- rm -f qa-pender-c.env.args; for NAME in `cat env.qa.names`; do echo -n "-s qa-pender-c $NAME /qa/pender/$NAME " >> qa-pender-c.env.args; done
- ecs deploy ecs-qa qa-pender --image qa-pender-c $ECR_API_BASE_URL/qa/pender/api:$CI_COMMIT_SHA --exclusive-env -e qa-pender-c APP pender -e qa-pender-c DEPLOY_ENV qa -e qa-pender-c AWS_REGION $AWS_DEFAULT_REGION --timeout 3600 --exclusive-secrets `cat qa-pender-c.env.args`
Expand Down Expand Up @@ -82,10 +84,12 @@ deploy_live:
AWS_DEFAULT_REGION: $AWS_DEFAULT_REGION
script:
- apk add --no-cache curl jq python3 py3-pip git
- pip install awscli==1.18.194
- pip install botocore==1.17.47
- pip install boto3==1.14.47
- pip install ecs-deploy==1.11.0
- pip install urllib3==2.0.6
- pip install six==1.16.0
- pip install botocore==1.31.62
- pip install boto3==1.28.62
- pip install ecs-deploy==1.14.0
- pip install awscli==1.29.59
- aws ssm get-parameters-by-path --region $AWS_DEFAULT_REGION --path /live/pender/ --recursive --with-decryption --output text --query "Parameters[].[Name]" | sed -E 's#/live/pender/##' > env.live.names
- rm -f live-pender-c.env.args; for NAME in `cat env.live.names`; do echo -n "-s live-pender-c $NAME /live/pender/$NAME " >> live-pender-c.env.args; done
- ecs deploy ecs-live live-pender --image live-pender-c $ECR_API_BASE_URL/live/pender/api:$CI_COMMIT_SHA --exclusive-env -e live-pender-c APP pender -e live-pender-c DEPLOY_ENV live -e live-pender-c AWS_REGION $AWS_DEFAULT_REGION --timeout 3600 --exclusive-secrets `cat live-pender-c.env.args`
Expand Down

0 comments on commit 69547c7

Please sign in to comment.