From c9a55e0f073b9068ff56730a480a66ce3a3a027c Mon Sep 17 00:00:00 2001 From: Ramkumar Chinchani Date: Fri, 19 Jun 2026 09:49:45 -0700 Subject: [PATCH] feat: add subscriptionId template parameter to E2E pipeline Adds an optional subscriptionId parameter to e2e-template.yaml so the orchestrator can override which subscription E2E tests run against. Defaults to the variable group value, so existing callers are unaffected. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Ramkumar Chinchani --- .pipelines/templates/e2e-template.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.pipelines/templates/e2e-template.yaml b/.pipelines/templates/e2e-template.yaml index 3b4fad643d7..fe53fe52a2e 100644 --- a/.pipelines/templates/e2e-template.yaml +++ b/.pipelines/templates/e2e-template.yaml @@ -10,6 +10,10 @@ parameters: type: string displayName: Variable group to use for e2e tests default: ab-e2e + - name: subscriptionId + type: string + displayName: Subscription ID to use for E2E tests + default: $(E2E_SUBSCRIPTION_ID) jobs: - job: e2e @@ -37,7 +41,7 @@ jobs: bash .pipelines/scripts/e2e_run.sh displayName: Run AgentBaker E2E env: - E2E_SUBSCRIPTION_ID: $(E2E_SUBSCRIPTION_ID) + E2E_SUBSCRIPTION_ID: ${{parameters.subscriptionId}} SYS_SSH_PUBLIC_KEY: $(SYS_SSH_PUBLIC_KEY) SYS_SSH_PRIVATE_KEY_B64: $(SYS_SSH_PRIVATE_KEY_B64) BUILD_SRC_DIR: $(System.DefaultWorkingDirectory)