From f8734e9837c0bd3e2d37fb61fd7daaabb0790362 Mon Sep 17 00:00:00 2001 From: TOEL2 Date: Fri, 23 Jan 2026 10:57:06 +0000 Subject: [PATCH 1/7] ELI-338: fixing tag issue and adding debugging --- .github/workflows/preprod_publish_deploy.yaml | 9 +++++++++ .github/workflows/prod_publish_deploy.yaml | 2 ++ 2 files changed, 11 insertions(+) diff --git a/.github/workflows/preprod_publish_deploy.yaml b/.github/workflows/preprod_publish_deploy.yaml index 7dffe27..0701514 100644 --- a/.github/workflows/preprod_publish_deploy.yaml +++ b/.github/workflows/preprod_publish_deploy.yaml @@ -7,11 +7,16 @@ on: description: "Tag to promote (e.g. spec-{timestamp})" default: latest required: true + push: + branches: + - ELI-338 jobs: preprod: runs-on: ubuntu-latest steps: + - name: Checkout repository + uses: actions/checkout@v6 - name: Set tag to deploy id: set_tag run: | @@ -55,6 +60,10 @@ jobs: - name: Publish preprod spec to Proxygen run: | proxygen spec publish build/specification/preprod/eligibility-signposting-api.yaml --uat --no-confirm + - name: Get list of environments + run: | + ENVS=$(proxygen environment list --format json | jq -r '.[].name') + echo "envs=$ENVS" >> $GITHUB_OUTPUT - name: Deploy preprod spec to Proxygen run: | proxygen instance deploy preprod eligibility-signposting-api build/specification/preprod/eligibility-signposting-api.yaml --no-confirm diff --git a/.github/workflows/prod_publish_deploy.yaml b/.github/workflows/prod_publish_deploy.yaml index 9ac0259..be46b65 100644 --- a/.github/workflows/prod_publish_deploy.yaml +++ b/.github/workflows/prod_publish_deploy.yaml @@ -11,6 +11,8 @@ jobs: prod: runs-on: ubuntu-latest steps: + - name: Checkout repository + uses: actions/checkout@v6 - name: Set tag to deploy id: set_tag run: | From fb9531626e86c3ffbffbf0c0755628f5b78c2514 Mon Sep 17 00:00:00 2001 From: TOEL2 Date: Fri, 23 Jan 2026 11:00:15 +0000 Subject: [PATCH 2/7] ELI-338: fixing typo --- .github/workflows/preprod_publish_deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/preprod_publish_deploy.yaml b/.github/workflows/preprod_publish_deploy.yaml index 0701514..5b31311 100644 --- a/.github/workflows/preprod_publish_deploy.yaml +++ b/.github/workflows/preprod_publish_deploy.yaml @@ -62,7 +62,7 @@ jobs: proxygen spec publish build/specification/preprod/eligibility-signposting-api.yaml --uat --no-confirm - name: Get list of environments run: | - ENVS=$(proxygen environment list --format json | jq -r '.[].name') + ENVS=$(proxygen instance list --format json | jq -r '.[].name') echo "envs=$ENVS" >> $GITHUB_OUTPUT - name: Deploy preprod spec to Proxygen run: | From c0567430f3d50851f00fab5f19825a704fdc0bca Mon Sep 17 00:00:00 2001 From: Shweta <216860557+shweta-nhs@users.noreply.github.com> Date: Fri, 23 Jan 2026 14:48:36 +0000 Subject: [PATCH 3/7] ELI-338: Fixing proxygen list cmd --- .github/workflows/preprod_publish_deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/preprod_publish_deploy.yaml b/.github/workflows/preprod_publish_deploy.yaml index 5b31311..a5a8d64 100644 --- a/.github/workflows/preprod_publish_deploy.yaml +++ b/.github/workflows/preprod_publish_deploy.yaml @@ -62,7 +62,7 @@ jobs: proxygen spec publish build/specification/preprod/eligibility-signposting-api.yaml --uat --no-confirm - name: Get list of environments run: | - ENVS=$(proxygen instance list --format json | jq -r '.[].name') + ENVS=$(proxygen instance list) echo "envs=$ENVS" >> $GITHUB_OUTPUT - name: Deploy preprod spec to Proxygen run: | From 12c4aa8d94fa6796babb7780f7728a1e267017aa Mon Sep 17 00:00:00 2001 From: Shweta <216860557+shweta-nhs@users.noreply.github.com> Date: Fri, 23 Jan 2026 14:50:50 +0000 Subject: [PATCH 4/7] ELI-338: Fixing proxygen list cmd with awk --- .github/workflows/preprod_publish_deploy.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/preprod_publish_deploy.yaml b/.github/workflows/preprod_publish_deploy.yaml index a5a8d64..286ea8a 100644 --- a/.github/workflows/preprod_publish_deploy.yaml +++ b/.github/workflows/preprod_publish_deploy.yaml @@ -61,8 +61,9 @@ jobs: run: | proxygen spec publish build/specification/preprod/eligibility-signposting-api.yaml --uat --no-confirm - name: Get list of environments + id: get_envs run: | - ENVS=$(proxygen instance list) + ENVS=$(proxygen instance list | awk 'NR>2 {print $1}' | paste -sd "," -) echo "envs=$ENVS" >> $GITHUB_OUTPUT - name: Deploy preprod spec to Proxygen run: | From 4e4849250775367172b2315b1c1e24136322343f Mon Sep 17 00:00:00 2001 From: Shweta <216860557+shweta-nhs@users.noreply.github.com> Date: Fri, 23 Jan 2026 14:54:25 +0000 Subject: [PATCH 5/7] ELI-338: Prints list of envs --- .github/workflows/preprod_publish_deploy.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/preprod_publish_deploy.yaml b/.github/workflows/preprod_publish_deploy.yaml index 286ea8a..8a97592 100644 --- a/.github/workflows/preprod_publish_deploy.yaml +++ b/.github/workflows/preprod_publish_deploy.yaml @@ -61,10 +61,8 @@ jobs: run: | proxygen spec publish build/specification/preprod/eligibility-signposting-api.yaml --uat --no-confirm - name: Get list of environments - id: get_envs run: | - ENVS=$(proxygen instance list | awk 'NR>2 {print $1}' | paste -sd "," -) - echo "envs=$ENVS" >> $GITHUB_OUTPUT + proxygen instance list | awk 'NR>2 {print $1}' | paste -sd "," - - name: Deploy preprod spec to Proxygen run: | proxygen instance deploy preprod eligibility-signposting-api build/specification/preprod/eligibility-signposting-api.yaml --no-confirm From f027d84c1b3b8685f3b851ef2b89b0ba3ff71eff Mon Sep 17 00:00:00 2001 From: TOEL2 Date: Mon, 26 Jan 2026 10:25:42 +0000 Subject: [PATCH 6/7] ELI-338: switching to int --- .github/workflows/preprod_publish_deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/preprod_publish_deploy.yaml b/.github/workflows/preprod_publish_deploy.yaml index 8a97592..7a12dc7 100644 --- a/.github/workflows/preprod_publish_deploy.yaml +++ b/.github/workflows/preprod_publish_deploy.yaml @@ -65,4 +65,4 @@ jobs: proxygen instance list | awk 'NR>2 {print $1}' | paste -sd "," - - name: Deploy preprod spec to Proxygen run: | - proxygen instance deploy preprod eligibility-signposting-api build/specification/preprod/eligibility-signposting-api.yaml --no-confirm + proxygen instance deploy int eligibility-signposting-api build/specification/preprod/eligibility-signposting-api.yaml --no-confirm From 1e668d732b4d6d341e14156fb7cc8a2e0f0ba9fe Mon Sep 17 00:00:00 2001 From: TOEL2 Date: Mon, 26 Jan 2026 10:31:47 +0000 Subject: [PATCH 7/7] ELI-338: removing debug code and debug trigger --- .github/workflows/preprod_publish_deploy.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/preprod_publish_deploy.yaml b/.github/workflows/preprod_publish_deploy.yaml index 7a12dc7..d0215ed 100644 --- a/.github/workflows/preprod_publish_deploy.yaml +++ b/.github/workflows/preprod_publish_deploy.yaml @@ -7,9 +7,6 @@ on: description: "Tag to promote (e.g. spec-{timestamp})" default: latest required: true - push: - branches: - - ELI-338 jobs: preprod: @@ -60,9 +57,6 @@ jobs: - name: Publish preprod spec to Proxygen run: | proxygen spec publish build/specification/preprod/eligibility-signposting-api.yaml --uat --no-confirm - - name: Get list of environments - run: | - proxygen instance list | awk 'NR>2 {print $1}' | paste -sd "," - - name: Deploy preprod spec to Proxygen run: | proxygen instance deploy int eligibility-signposting-api build/specification/preprod/eligibility-signposting-api.yaml --no-confirm