mirror of
https://github.com/golang/go
synced 2024-11-06 06:16:12 -07:00
c0bc9ba88d
Then make the coordinator and linux environment Makefiles have an upload target. Amusingly, this actually worked: the Docker images now tar + compress + upload over HTTP all in a stream, without even knowing how large the resulting tar.gz will be until it's done uploading. LGTM=adg R=adg CC=golang-codereviews https://golang.org/cl/140200043
7 lines
179 B
Makefile
7 lines
179 B
Makefile
coordinator: main.go
|
|
GOOS=linux go build -o coordinator .
|
|
|
|
upload: coordinator
|
|
cat coordinator | (cd buildongce && go run create.go --write_object=go-builder-data/coordinator)
|
|
|