From 6e02643be90c7a8d273dfed9d0b20707c9362506 Mon Sep 17 00:00:00 2001 From: David Zager Date: Mon, 8 Jul 2024 09:48:27 -0400 Subject: [PATCH] :seedling: use hub ref for konveyor-tests (#54) Signed-off-by: David Zager --- .github/workflows/global-ci-bundle.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/global-ci-bundle.yml b/.github/workflows/global-ci-bundle.yml index 16d1c93..049f8d8 100644 --- a/.github/workflows/global-ci-bundle.yml +++ b/.github/workflows/global-ci-bundle.yml @@ -91,6 +91,14 @@ on: required: false type: string default: main + api_hub_tests_ref: + description: | + The branch or PR of the Hub API tests from tackle2-hub repository to clone. + For a pull request, the reference format would be "refs/pull/${PR_NUMBER}/merge". + For a branch, the reference format would just be the branch name. + required: false + type: string + default: main ui_tests_ref: description: | The branch or PR of the tackle-ui-tests repository to clone. @@ -301,6 +309,7 @@ jobs: DEBUG: 1 run: | export HUB_BASE_URL="http://$(minikube ip)/hub" + export HUB_TESTS_REF="${{ inputs.api_hub_tests_ref }}" make test-tier0 test-tier1 working-directory: go-konveyor-tests