The controller imports mesh-host/validate through a replace onto the forge that holds it, and every build — the build agent's go build in a fresh toolchain container, the Dockerfile's go mod download — would have fetched it through the public proxy and checksum database at build time: a merge breaking main on the network, the class Phase 1 removes. vendor/ is committed; go builds from it with nothing fetched, and refuses to build when it and go.mod disagree, so a pin moved without go mod vendor fails at once. The Dockerfile copies vendor/ and builds with GOPROXY=off.
10 lines
75 B
YAML
10 lines
75 B
YAML
language: go
|
|
|
|
go:
|
|
- 1.x
|
|
- tip
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- go: tip
|