From a973139b6852b76fb259098b931bc3b52209e0ec Mon Sep 17 00:00:00 2001 From: Jay Sharma Date: Wed, 2 Aug 2023 11:13:43 +0530 Subject: [PATCH] dev/qa commit --- bitbucket-pipelines.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 309666e1..5e75daf8 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -55,7 +55,7 @@ definitions: steps: - step: &deploy name: deploy to $ENV environment - image: atlassian/pipelines-awscli + image: atlassian/default-image:3 script: # check if env file exists - if [ -e setenv.sh ]; then @@ -63,6 +63,7 @@ definitions: - source setenv.sh - fi - echo "This is for $ENV environment" + - curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && unzip awscliv2.zip && ./aws/install - ls -lrth && cd build/${ENV} - export DB_PASSWORD=$(aws ssm get-parameters --names $ENV-$BITBUCKET_REPO_SLUG --query "Parameters[*].{Value:Value}" --output text) - export DB_PASSWORD=`echo -n "$DB_PASSWORD" | base64` && sed -i "/DB_PASSWORD/c\ DB_PASSWORD = $DB_PASSWORD" secrets.yaml