commit | c7b4e1a1993803f99433e2543ebc2e3a19e625a5 | [log] [tgz] |
---|---|---|
author | Andrew Bonventre <andybons@golang.org> | Tue Dec 19 15:56:05 2017 -0500 |
committer | Andrew Bonventre <andybons@golang.org> | Tue Dec 19 21:05:14 2017 +0000 |
tree | d7c22df5709a92f53c3f0c24c49cd8a62580ab17 | |
parent | f2ba81bcd564d587e191d53a2b6029b8f5dd1e61 [diff] |
Update Go to 1.9.2 in sandbox custom runtime Also remove empty continuation lines since they will be treated as errors by Docker in the future. Change-Id: Ic1c37b63be004414c15fd384bffd07644932c66b Reviewed-on: https://go-review.googlesource.com/84855 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This subrepository holds the source for various packages and tools that support the Go playground: https://play.golang.org/
To submit changes to this repository, see http://golang.org/doc/contribute.html.
# build the sandbox image docker build -t sandbox sandbox/
# run the sandbox docker run -d -p 8080:8080 sandbox # get docker host ip, try boot2docker fallback on localhost. DOCKER_HOST_IP=$(boot2docker ip || echo localhost) # run go some code cat /path/to/code.go | go run ./sandbox/client.go | curl --data @- $DOCKER_HOST_IP:8080/compile
To submit changes to this repository, see http://golang.org/doc/contribute.html.
(Googlers only) To deploy the front-end, use play/deploy.sh
.
gcloud --project golang-org app deploy sandbox/app.yaml --no-promote --version=17rc6
Use the Cloud Console's to set the new version as the default: https://cloud.google.com/console/appengine/versions?project=golang-org&moduleId=sandbox Then test that play.golang.org and tour.golang.org are working before deleting the old version.