From 16336444018c97ea31e7ca254a062ecf6b152c85 Mon Sep 17 00:00:00 2001 From: Wojciech Mazur Date: Wed, 21 Sep 2022 22:41:06 +0200 Subject: [PATCH] Wait until mvn-repo is ready in ci --- scripts/test-build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/test-build.sh b/scripts/test-build.sh index c477aa9d..9fe2f2e5 100755 --- a/scripts/test-build.sh +++ b/scripts/test-build.sh @@ -4,7 +4,6 @@ set -e scriptDir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" testNamespace=scala3-community-build-test -compilerBuilderTimeout=60m projectBuilderTimeout=5m kubectl delete namespace $testNamespace --ignore-not-found=true @@ -13,6 +12,8 @@ kubectl create namespace $testNamespace CB_VERSION="test" \ CB_K8S_NAMESPACE="${testNamespace}" \ $scriptDir/start-mvn-repo.sh +# Wait until ready +sleep 30 function projectBuilderFailed() { jobName="$1"