Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/buildlet/stage0: set linux-arm-scaleway resolv.conf to 8.8.8.8
Fixes golang/go#14997 Change-Id: I44d5390d72da12f9f6ed8b2f3f5ec8f8ab13799f Reviewed-on: https://go-review.googlesource.com/21194 Reviewed-by: Matthew Dempsky <mdempsky@google.com>
- Loading branch information
Showing
3 changed files
with
37 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,25 @@ | ||
buildlet-stage0.windows-amd64: stage0.go | ||
GOOS=windows GOARCH=amd64 go build -o $@ | ||
cat $@ | (cd ../../upload && go run upload.go --public --cacheable=false go-builder-data/$@) | ||
usage: FORCE | ||
# See targets in Makefile | ||
exit 1 | ||
|
||
buildlet-stage0.linux-arm-scaleway: stage0.go | ||
GOOS=linux GOARCH=arm go build -o $@ | ||
cat $@ | (cd ../../upload && go run upload.go --public --cacheable=false go-builder-data/$@) | ||
FORCE: | ||
|
||
buildlet-stage0.windows-amd64: FORCE | ||
go install golang.org/x/build/cmd/upload | ||
upload --verbose --osarch=$@ --file=go:golang.org/x/build/cmd/buildlet/stage0 --public --cacheable=false go-builder-data/$@ | ||
|
||
buildlet-stage0.linux-arm-scaleway: FORCE | ||
go install golang.org/x/build/cmd/upload | ||
upload --verbose --osarch=$@ --file=go:golang.org/x/build/cmd/buildlet/stage0 --public --cacheable=false go-builder-data/$@ | ||
|
||
# No staging vs prod targets here, because this file gets baked into | ||
# the Docker layers on gcr.io (which do have staging vs prod names). | ||
# That is, this file on GCS is only used at "docker build"-time, not | ||
# during day-to-day builds. | ||
buildlet-stage0.linux-amd64-kube: stage0.go | ||
GOOS=linux GOARCH=amd64 go build -o $@ | ||
cat $@ | (cd ../../upload && go run upload.go --public --cacheable=false go-builder-data/$@) | ||
buildlet-stage0.linux-amd64-kube: FORCE | ||
go install golang.org/x/build/cmd/upload | ||
upload --verbose --osarch=$@ --file=go:golang.org/x/build/cmd/buildlet/stage0 --public --cacheable=false go-builder-data/$@ | ||
|
||
buildlet-stage0.linux-s390x: stage0.go | ||
GOOS=linux GOARCH=s390x go build -o $@ | ||
cat $@ | (cd ../../upload && go run upload.go --public --cacheable=false go-builder-data/$@) | ||
buildlet-stage0.linux-s390x: FORCE | ||
go install golang.org/x/build/cmd/upload | ||
upload --verbose --osarch=$@ --file=go:golang.org/x/build/cmd/buildlet/stage0 --public --cacheable=false go-builder-data/$@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters