diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f741755a65..97db4df4d9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,7 +16,7 @@ build_qa: script: - apk add --no-cache curl python3 py3-pip - - pip install awscli==1.18.194 + - pip install awscli==1.29.59 - $(aws ecr get-login --no-include-email --region $AWS_DEFAULT_REGION) - docker build -f production/Dockerfile -t "$ECR_API_BASE_URL/qa/check/api:$CI_COMMIT_SHA" . - docker push "$ECR_API_BASE_URL/qa/check/api:$CI_COMMIT_SHA" @@ -38,10 +38,10 @@ deploy_qa: GITHUB_TOKEN: $GITHUB_TOKEN script: - apk add --no-cache curl 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 botocore==1.31.58 + - pip install boto3==1.28.58 + - pip install ecs-deploy==1.14.0 + - pip install awscli==1.29.59 - 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 - for NAME in `cat env.qa.names`; do echo -n "-s qa-check-api-migration $NAME /qa/check-api/$NAME " >> qa-check-api-migration.env.args; done @@ -70,7 +70,7 @@ build_batch: AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY script: - apk add --no-cache curl python3 py3-pip git - - pip install awscli==1.18.194 + - pip install awscli==1.29.59 - $(aws ecr get-login --no-include-email --region $AWS_DEFAULT_REGION) - docker build -f production/Dockerfile -t "$ECR_API_BASE_URL/batch/check/api:$CI_COMMIT_SHA" . - docker push "$ECR_API_BASE_URL/batch/check/api:$CI_COMMIT_SHA" @@ -90,7 +90,7 @@ build_live: AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY script: - apk add --no-cache curl python3 py3-pip git - - pip install awscli==1.18.194 + - pip install awscli==1.29.59 - $(aws ecr get-login --no-include-email --region $AWS_DEFAULT_REGION) - docker build -f production/Dockerfile -t "$ECR_API_BASE_URL/live/check/api:$CI_COMMIT_SHA" . - docker push "$ECR_API_BASE_URL/live/check/api:$CI_COMMIT_SHA" @@ -113,10 +113,10 @@ deploy_live: GITHUB_TOKEN: $GITHUB_TOKEN script: - apk add --no-cache curl 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 botocore==1.31.58 + - pip install boto3==1.28.58 + - pip install ecs-deploy==1.14.0 + - pip install awscli==1.29.59 - 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 - for NAME in `cat env.live.names`; do echo -n "-s live-check-api-migration $NAME /live/check-api/$NAME " >> live-check-api-migration.env.args; done