From e070430541f53e4b31cbe27acc7ccc907217ee39 Mon Sep 17 00:00:00 2001 From: Connor Catlett Date: Tue, 30 Apr 2024 19:00:57 +0000 Subject: [PATCH] Parallelize kubetest2 installation in CI Signed-off-by: Connor Catlett --- hack/prow-e2e.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hack/prow-e2e.sh b/hack/prow-e2e.sh index 3098374e36..db1d5ec070 100755 --- a/hack/prow-e2e.sh +++ b/hack/prow-e2e.sh @@ -75,6 +75,10 @@ make cluster/create & PIDS[1]=$! make cluster/image & PIDS[2]=$! +# Installing kubetest2 takes surprisingly long and blocks make e2e/${TEST} +# Thus, to speed up CI, preinstall it while creating the cluster/image +make bin/kubetest2 & +PIDS[3]=$! for PID in "${PIDS[@]}"; do wait $PID || E2E_PASSED=1