From 63a2b1ec7e08442f0e05c923a8d6e5daf38d5723 Mon Sep 17 00:00:00 2001 From: Sheetal Date: Tue, 14 May 2024 16:03:07 +0530 Subject: [PATCH] qa pipeline implementation done --- .github/workflows/qa-ledger.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/qa-ledger.yml b/.github/workflows/qa-ledger.yml index 624b11001..076631dcc 100644 --- a/.github/workflows/qa-ledger.yml +++ b/.github/workflows/qa-ledger.yml @@ -6,10 +6,10 @@ on: - 'qa-ledger*' env: - ECR_IMAGE_TAG: "LEDGER_V_${{ github.run_number }}" + ECR_IMAGE_TAG: "ECOSYSTEM_V_${{ github.run_number }}" ECR_REPOSITORY: "qa-services" AWS_REGION: "ap-southeast-1" - CLUSTER: "DEV-NGOTAG-CLUSTER" + CLUSTER: "QA-NGOTAG-CLUSTER" jobs: build: @@ -41,7 +41,7 @@ jobs: ECR_REPOSITORY: qa-services IMAGE_TAG: "LEDGER_V_${{ github.run_number }}" run: | - docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f Dockerfiles/Dockerfile.ledger . + docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f Dockerfiles/Dockerfile.ecosystem . docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG docker image list @@ -64,7 +64,7 @@ jobs: - name: Replace executionRoleArn in task definition run: | - sed -i "s#\"executionRoleArn\": \"arn:aws:iam::.*:role/ecsTaskExecutionRole\"#\"executionRoleArn\": \"arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/ecsTaskExecutionRole\"#" qa-taskdef/ledger-service.json + sed -i "s#\"executionRoleArn\": \"arn:aws:iam::.*:role/ecsTaskExecutionRole\"#\"executionRoleArn\": \"arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/ecsTaskExecutionRole\"#" qa-taskdef/ecosystem-service.json - name: Update Task Definition and service run: |