Skip to content
Snippets Groups Projects

Release

1 file
+ 9
9
Compare changes
  • Side-by-side
  • Inline
+ 9
9
@@ -18,7 +18,7 @@ before_script:
stages:
- test
- build
# - doc-update
- doc-update
- version-check
test:
@@ -68,14 +68,14 @@ build:
# Go modules to make docs of. The proxy keeps a list of all known versions of Go modules. The go
# mod proxy does cache pulls for about 30 minutes, so if quickly successive commits are done in
# master/release, this will fail to pull the latest client, and the docs will not update.
#doc-update:
# stage: doc-update
# script:
# # GOPRIVATE is cleared so that the public cache is pulled instead of directly pulling client.
# - NEXT_WAIT_TIME=0; until [ $NEXT_WAIT_TIME -eq 15 ] || GOOS=js GOARCH=wasm GOPRIVATE="" go install gitlab.com/elixxir/remoteSyncServer@$CI_COMMIT_SHA; do sleep 60; (( NEXT_WAIT_TIME+=1 )); done; [ $NEXT_WAIT_TIME -lt 15 ]
# only:
# - release
# - master
doc-update:
stage: doc-update
script:
# GOPRIVATE is cleared so that the public cache is pulled instead of directly pulling client.
- NEXT_WAIT_TIME=0; until [ $NEXT_WAIT_TIME -eq 15 ] || GOOS=js GOARCH=wasm GOPRIVATE="" go install gitlab.com/elixxir/remoteSyncServer@$CI_COMMIT_SHA; do sleep 60; (( NEXT_WAIT_TIME+=1 )); done; [ $NEXT_WAIT_TIME -lt 15 ]
only:
- release
- master
version-check:
stage: version-check
Loading