From 9b3cfb3b02ce2036da201df10bef7d28ccd868c1 Mon Sep 17 00:00:00 2001 From: James Munnelly Date: Fri, 6 Mar 2020 23:55:27 +0000 Subject: [PATCH] e2e: install addons in parallel Signed-off-by: James Munnelly --- devel/setup-e2e-deps.sh | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/devel/setup-e2e-deps.sh b/devel/setup-e2e-deps.sh index 6a3ea03bf..dd1c8779b 100755 --- a/devel/setup-e2e-deps.sh +++ b/devel/setup-e2e-deps.sh @@ -34,17 +34,22 @@ setup_tools echo "Installing cert-manager into the kind cluster..." "${SCRIPT_ROOT}/addon/certmanager/install.sh" +check_bazel +bazel build --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64 //devel/addon/... + echo "Installing sample-webhook into the kind cluster..." -"${SCRIPT_ROOT}/addon/samplewebhook/install.sh" +"${SCRIPT_ROOT}/addon/samplewebhook/install.sh" & echo "Installing bind into the kind cluster..." -"${SCRIPT_ROOT}/addon/bind/install.sh" +"${SCRIPT_ROOT}/addon/bind/install.sh" & echo "Installing pebble into the kind cluster..." -"${SCRIPT_ROOT}/addon/pebble/install.sh" +"${SCRIPT_ROOT}/addon/pebble/install.sh" & echo "Installing ingress-nginx into the kind cluster..." -"${SCRIPT_ROOT}/addon/ingressnginx/install.sh" +"${SCRIPT_ROOT}/addon/ingressnginx/install.sh" & echo "Loading vault into the kind cluster..." -"${SCRIPT_ROOT}/addon/vault/install.sh" +"${SCRIPT_ROOT}/addon/vault/install.sh" & + +wait