From d29b3b8eea77e2781ed1b988fcf589f5ea6427d8 Mon Sep 17 00:00:00 2001 From: Jay Sharma Date: Wed, 2 Aug 2023 11:23:34 +0530 Subject: [PATCH] dev/qa commit --- bitbucket-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 5e75daf8..8e743882 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -65,7 +65,7 @@ definitions: - 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=$(aws ssm get-parameters --names $ENV-medicalalert-masterdbpass --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 - envsubst < deployment.tpl > deployment.yaml - cat deployment.yaml