From 8cade2cf5964f3a825dfad4c4d73b10a271c760d Mon Sep 17 00:00:00 2001 From: SHENGXING LU Date: Tue, 10 Mar 2026 18:46:11 +0100 Subject: [PATCH] FEATURE: e2e version can be set in PR body --- .github/workflows/system-testing.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/system-testing.yml b/.github/workflows/system-testing.yml index 566a0ae2..56e3dde4 100644 --- a/.github/workflows/system-testing.yml +++ b/.github/workflows/system-testing.yml @@ -44,6 +44,10 @@ jobs: TM_VERSION=$(echo "$PR_BODY" | grep '^TM_VERSION:' | sed 's/TM_VERSION: *//' | xargs) echo "TMForum API version: $TM_VERSION" + # Parse E2E_BRANCH (optional - branch of E2E-DOME-BAE to use) + E2E_BRANCH=$(echo "$PR_BODY" | grep '^E2E_BRANCH:' | sed 's/E2E_BRANCH: *//' | tr -d '\r' | sed 's/^[[:space:]]*//;s/[[:space:]]*$//' | xargs) + echo "E2E branch: $E2E_BRANCH" + # Default values (using upstream FIWARE-TMForum repos) PROXY_REPO="FIWARE-TMForum/business-ecosystem-logic-proxy" PROXY_BRANCH="master" @@ -89,6 +93,7 @@ jobs: echo " Charging: $CHARGING_REPO @ $CHARGING_BRANCH" echo " Frontend: ${{ github.event.pull_request.head.repo.full_name }} @ ${{ github.event.pull_request.head.ref }}" echo " TM Version: $TM_VERSION" + echo " E2E Branch: $E2E_BRANCH" echo " PR URL: ${{ github.event.pull_request.html_url }}" echo "" @@ -111,6 +116,7 @@ jobs: \"repository_frontend\": \"${{ github.event.pull_request.head.repo.full_name }}\", \"branch_frontend\": \"${{ github.event.pull_request.head.ref }}\", \"tm_version\": \"$TM_VERSION\", + \"cypress_branch\": \"$E2E_BRANCH\", \"pull_request_url\": \"${{ github.event.pull_request.html_url }}\" } }" \