Skip to content
Snippets Groups Projects
Commit 325b79f3 authored by Sydney Anne Erickson's avatar Sydney Anne Erickson :chipmunk:
Browse files

Update .gitlab-ci.yml

parent d1827858
No related branches found
No related tags found
2 merge requests!68Update .gitlab-ci.yml,!67fix for latest client release
This commit is part of merge request !67. Comments created here will be created in the context of that merge request.
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment