From 0be9efe1b300ce53df7249ec583ef9d6d675136c Mon Sep 17 00:00:00 2001 From: Evert Daniel Romero Garrido Date: Thu, 16 Apr 2026 10:39:43 -0600 Subject: [PATCH] fix(ci): install AWS CLI v2 manually on Ubuntu 24.04 --- bitbucket-pipelines.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index e1a9dfd..b49c82e 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -47,7 +47,11 @@ pipelines: name: 01_image-setup script: - set -euo pipefail - - apt-get update -y && apt-get install -y openssh-client openjdk-21-jdk awscli wget unzip + - apt-get update -y && apt-get install -y openssh-client openjdk-21-jdk wget unzip curl + - curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" + - unzip -q awscliv2.zip + - ./aws/install + - aws --version - mkdir -p ~/.ssh - echo "${DEV_SSH_PRIVATE_KEY_THOTH_PROYECTOSACC}" | base64 -d > ~/.ssh/sacc4_key - chmod 600 ~/.ssh/sacc4_key @@ -141,7 +145,11 @@ pipelines: name: 01_image-setup script: - set -euo pipefail - - apt-get update -y && apt-get install -y openssh-client openjdk-21-jdk awscli wget unzip + - apt-get update -y && apt-get install -y openssh-client openjdk-21-jdk wget unzip curl + - curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" + - unzip -q awscliv2.zip + - ./aws/install + - aws --version - mkdir -p ~/.ssh - echo "${PROD_SSH_PRIVATE_KEY_THOTH_PROYECTOSACC}" | base64 -d > ~/.ssh/sacc4_key - chmod 600 ~/.ssh/sacc4_key