From 65f93f029ff3c2433622fa2793021efb147fb1aa Mon Sep 17 00:00:00 2001 From: Martin Peck Date: Wed, 4 Sep 2024 08:39:19 -0700 Subject: [PATCH] Test ecs deploy fix. --- .gitlab-ci.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a9cfe7e016..77666c3bc2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,6 +20,7 @@ build_qa: - docker push "$ECR_API_BASE_URL/qa/check/api:$CI_COMMIT_SHA" only: - develop + - bugfix/ecs-deploy-update deploy_qa: image: python:3.7.7 @@ -35,9 +36,10 @@ deploy_qa: AWS_DEFAULT_REGION: $AWS_DEFAULT_REGION GITHUB_TOKEN: $GITHUB_TOKEN script: - - pip install botocore==1.33.13 - - pip install boto3==1.33.13 - - pip install ecs-deploy==1.14.0 + - pip install urllib3==2.0.6 + - pip install botocore==1.31.62 + - pip install boto3==1.28.62 + - pip install ecs-deploy==1.15.0 - pip install awscli==1.31.13 - alias aws='docker run -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -e AWS_DEFAULT_REGION --rm amazon/aws-cli' - aws ssm get-parameters-by-path --region $AWS_DEFAULT_REGION --path /qa/check-api/ --recursive --with-decryption --output text --query "Parameters[].[Name]" | sed -E 's#/qa/check-api/##' > env.qa.names @@ -53,6 +55,7 @@ deploy_qa: - echo "new Image was deployed $ECR_API_BASE_URL/qa/check/api:$CI_COMMIT_SHA" only: - develop + - bugfix/ecs-deploy-update build_batch: image: registry.gitlab.com/gitlab-org/cloud-deploy/aws-base:latest @@ -105,9 +108,10 @@ deploy_live: AWS_DEFAULT_REGION: $AWS_DEFAULT_REGION GITHUB_TOKEN: $GITHUB_TOKEN script: - - pip install botocore==1.33.13 - - pip install boto3==1.33.13 - - pip install ecs-deploy==1.14.0 + - pip install urllib3==2.0.6 + - pip install botocore==1.31.62 + - pip install boto3==1.28.62 + - pip install ecs-deploy==1.15.0 - pip install awscli==1.31.13 - alias aws='docker run -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -e AWS_DEFAULT_REGION --rm amazon/aws-cli' - aws ssm get-parameters-by-path --region $AWS_DEFAULT_REGION --path /live/check-api/ --recursive --with-decryption --output text --query "Parameters[].[Name]" | sed -E 's#/live/check-api/##' > env.live.names