From 81b23609aae3f0be39a22c0a6ad996a81a8f9332 Mon Sep 17 00:00:00 2001 From: Jonathan West Date: Sat, 22 Jun 2024 03:20:38 -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"