From d04703842fe4faa2b2e5cf0debae164b1b46518a Mon Sep 17 00:00:00 2001 From: Sheetal Date: Tue, 16 Apr 2024 20:08:53 +0530 Subject: [PATCH] pipeline implemetation --- .github/workflows/dev-agent.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dev-agent.yml b/.github/workflows/dev-agent.yml index d47c562c0..c07bdc9c1 100644 --- a/.github/workflows/dev-agent.yml +++ b/.github/workflows/dev-agent.yml @@ -74,7 +74,8 @@ jobs: FAMILY=$(sed -n 's/.*"family": "\(.*\)",/\1/p' taskdef/agent-service.json) NAME=$(sed -n 's/.*"name": "\(.*\)",/\1/p' taskdef/agent-service.json) SERVICE_NAME="${NAME}-service" - + echo "SERVICE_NAME: $SERVICE_NAME" + # Replace placeholders in the JSON file sed -e "s;%BUILD_NUMBER%;${{ github.run_number }};g" -e "s;%REPOSITORY_URI%;${REPOSITORY_URI};g" taskdef/agent-service.json > ${GITHUB_WORKSPACE}/${NAME}-v_${{ github.run_number }}.json