Skip to content
Snippets Groups Projects
Commit f60cbc09 authored by Jono Wenger's avatar Jono Wenger
Browse files

Add go doc generation to gitlab ci

parent 75bb89a4
No related branches found
No related tags found
1 merge request!60Revert "Fail a test to be sure it works"
...@@ -26,3 +26,19 @@ go-test: ...@@ -26,3 +26,19 @@ go-test:
script: script:
- go mod vendor -v - go mod vendor -v
- go test ./... -v - go test ./... -v
# This pipeline job will attempt to have pkg.go.dev update docs for xxdk-wasm.
#
# pkg.go.dev relies on the proxy.golang.org service (go module cache/proxy) to discover versions of
# 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.
trigger-doc-update:
stage: trigger_integration
image: $DOCKER_IMAGE
script:
# We use GOPRIVATE blank because not want to directly pull client, we want to use the public cache.
- GOPRIVATE="" go install gitlab.com/elixxir/xxdk-wasm@$CI_COMMIT_SHA
only:
- release
- master
\ No newline at end of file
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