From f0150a810f71222e38de0dccfaca6fa6ccc8717a Mon Sep 17 00:00:00 2001 From: Jonathan West Date: Fri, 1 Nov 2024 07:03:09 -0400 Subject: [PATCH] Run Rollouts tests after E2E tests Signed-off-by: Jonathan West --- scripts/openshiftci-presubmit-all-tests.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/openshiftci-presubmit-all-tests.sh b/scripts/openshiftci-presubmit-all-tests.sh index 852c05e92..bc13e9160 100755 --- a/scripts/openshiftci-presubmit-all-tests.sh +++ b/scripts/openshiftci-presubmit-all-tests.sh @@ -6,6 +6,10 @@ set -e # Do not show token in CI log set +x +# Get path containing the current script, usually (repo path)/scripts +SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) + + # show commands set -x export CI="prow" @@ -24,3 +28,7 @@ export KUBECONFIG=$TMP_DIR/kubeconfig # Run e2e test make test-e2e +# Run Rollouts E2E tests +cd "$SCRIPT_DIR" + +"$SCRIPT_DIR/run-rollouts-e2e-tests.sh"