From 71260d9a0a294d054ea1285819cbd7981271ffd8 Mon Sep 17 00:00:00 2001 From: Sheetal Date: Wed, 17 Apr 2024 11:22:51 +0530 Subject: [PATCH] pipeline implemetation --- .github/workflows/dev-api-gateway.yml | 8 ++++---- .github/workflows/dev-issuance.yml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/dev-api-gateway.yml b/.github/workflows/dev-api-gateway.yml index 476f35797..24cfbf67d 100644 --- a/.github/workflows/dev-api-gateway.yml +++ b/.github/workflows/dev-api-gateway.yml @@ -4,9 +4,9 @@ on: push: branches: - pipeline-implementation - # paths: - # - 'apps/api-gateway/**' - # workflow_dispatch: + paths: + - 'apps/api-gateway/**' + workflow_dispatch: env: ECR_IMAGE_TAG: "AGENT_V_${{ github.run_number }}" @@ -73,7 +73,7 @@ jobs: - name: Update Task Definition and service run: | FAMILY=$(sed -n 's/.*"family": "\(.*\)",/\1/p' taskdef/api-gateway-service.json) - NAME=$(jq -r '.containerDefinitions[0].name' taskdef/api-gateway-taskdef.json) + NAME=$(sed -n 's/.*"name": "\(.*\)",/\1/p' taskdef/api-gateway-service.json) SERVICE_NAME="${NAME}_service" echo "SERVICE_NAME: $SERVICE_NAME" diff --git a/.github/workflows/dev-issuance.yml b/.github/workflows/dev-issuance.yml index 886071544..d810e323f 100644 --- a/.github/workflows/dev-issuance.yml +++ b/.github/workflows/dev-issuance.yml @@ -4,9 +4,9 @@ on: push: branches: - pipeline-implementation - paths: - - 'apps/issuance/**' - workflow_dispatch: + # paths: + # - 'apps/issuance/**' + # workflow_dispatch: env: ECR_IMAGE_TAG: "ISSUANCE_V_${{ github.run_number }}"