From 325b79f37da60abd9b87a4c150a01447e84844e5 Mon Sep 17 00:00:00 2001 From: Sydney Anne Erickson <sydney@elixxir.io> Date: Mon, 30 Jan 2023 17:52:42 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e1db8fbd..42f1d364 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -132,7 +132,12 @@ doc-update: image: $DOCKER_IMAGE script: # GOPRIVATE is cleared so that the public cache is pulled instead of directly pulling client. - - GOOS=js GOARCH=wasm GOPRIVATE="" go install gitlab.com/elixxir/xxdk-wasm@$CI_COMMIT_SHA + - NEXT_WAIT_TIME=0 + until [ $NEXT_WAIT_TIME -eq 15 ] || GOOS=js GOARCH=wasm GOPRIVATE="" go install gitlab.com/elixxir/xxdk-wasm@$CI_COMMIT_SHA + do + sleep 60; (( NEXT_WAIT_TIME+=1 )) + done + [ $NEXT_WAIT_TIME -lt 15 ] only: - release - master @@ -147,4 +152,4 @@ version-check: script: - GITTAG=$(git describe --tags) - CODEVERS=$(cat storage/version.go | grep "const SEMVER =" | cut -d ' ' -f4 | tr -d '"') - - if [[ $GITTAG != $CODEVERS ]]; then echo "VERSION NUMBER BAD $GITTAG != $CODEVERS"; exit -1; fi \ No newline at end of file + - if [[ $GITTAG != $CODEVERS ]]; then echo "VERSION NUMBER BAD $GITTAG != $CODEVERS"; exit -1; fi -- GitLab