Closed
Description
What version of Go are you using (go version
)?
go1.11beta2
What operating system and processor architecture are you using (go env
)?
amd64 docker container
Our current build workflow is to run glide install
first and then start a number of go build
jobs in parallel.
When I take a clean system and start the go build
jobs in parallel they fail due to issues downloading modules, git shallow.lock files and race conditions creating and populating /go/src/mod directories.
If I first do something like go get ./foo ./bar ./baz
to download the modules I can run the builds in parallel.
Is there an equivalent of glide install
or dep ensure
?
Is there a plan to make downloading of modules thread safe?