From 915e62d6bcc2888dd53ec9c52816b5b7aaf42ad3 Mon Sep 17 00:00:00 2001 From: Marek Aufart Date: Wed, 29 Nov 2023 09:12:56 +0100 Subject: [PATCH] Make API tests using HUB_TESTS_REF variable (#61) * Make API tests using HUB_TESTS_REF variable Adding HUB_TESTS_REF variable to make test-api target to (optionally) set Hub API tests branch. Related to https://github.com/konveyor/ci/issues/22 and https://github.com/konveyor/ci/pull/23 Signed-off-by: Marek Aufart * Replace ununsed BRANCH var Signed-off-by: Marek Aufart --------- Signed-off-by: Marek Aufart --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 212e9674..79ba76db 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,5 @@ VENDOR_DIR ?= /tmp/konveyor-vendor ARCH ?= amd64 -BRANCH ?= main # Setup local minikube with tackle - work in progress (TODO: enable auth) @@ -64,7 +63,7 @@ test-jira: # Hub API remote tests. test-hub-api: - ./hub-api/run-tests.sh ${BRANCH} + ./hub-api/run-tests.sh ${HUB_TESTS_REF} # Add next features tests here and call the target from appropriate stage.