From 62f9bc39dd54db0d47c9de293cb04e6226c7d162 Mon Sep 17 00:00:00 2001 From: Christopher Haar Date: Mon, 22 Jul 2024 12:32:35 +0200 Subject: [PATCH] feat(uptest): make projectID configurable for local tests in other projects Signed-off-by: Christopher Haar --- cluster/test/setup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cluster/test/setup.sh b/cluster/test/setup.sh index 439ab3ca2..8c1a55fc4 100755 --- a/cluster/test/setup.sh +++ b/cluster/test/setup.sh @@ -5,6 +5,8 @@ set -aeuo pipefail # # SPDX-License-Identifier: Apache-2.0 +UPTEST_GCP_PROJECT=${UPTEST_GCP_PROJECT:-official-provider-testing} + echo "Running setup.sh" if [[ -n "${UPTEST_CLOUD_CREDENTIALS:-}" ]]; then @@ -18,7 +20,7 @@ kind: ProviderConfig metadata: name: default spec: - projectID: official-provider-testing + projectID: ${UPTEST_GCP_PROJECT} credentials: source: Secret secretRef: