Discover Packages
github.com/proppy/build
cmd
buildlet
command
Version:
v0.0.0-...-7150413
Opens a new window with list of versions in this module.
Published: Apr 8, 2016
License: BSD-3-Clause
Opens a new window with license information.
Imports: 32
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Local development notes:
Server: (TLS stuff is optional)
$ go run $GOROOT/src/crypto/tls/generate_cert.go --host=example.com
$ GCEMETA_password=foo GCEMETA_tls_cert=@cert.pem GCEMETA_tls_key='@key.pem' ./buildlet
Client:
$ curl -O https://go.googlesource.com/go/+archive/3b76b017cabb.tar.gz
$ curl -k --user :foo -X PUT --data-binary "@go-3b76b017cabb.tar.gz" https://localhost:5936/writetgz
$ curl -k --user :foo -d "cmd=src/make.bash" http://127.0.0.1:5937/exec
etc
Expand ▾
Collapse ▴
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
The buildlet is an HTTP server that untars content to disk and runs
commands it has untarred, streaming their output back over HTTP.
It is part of Go's continuous build system.
This program intentionally allows remote code execution, and
provides no security of its own. It is assumed that any user uses
it with an appropriately-configured firewall between their VM
instances.
Source Files
¶
Directories
¶
The stage0 command looks up the buildlet's URL from its environment (GCE metadata service, scaleway, etc), downloads it, and runs it.
The stage0 command looks up the buildlet's URL from its environment (GCE metadata service, scaleway, etc), downloads it, and runs it.
Click to show internal directories.
Click to hide internal directories.