playground: fix issues preventing successful deployment

+ Since the health endpoint triggers a compile to ensure that the
  service is healthy, increase the amount of time the health check
  is allowed to run.
+ Increase the number of minimum instances upon initial deploy.
+ ca-certificate must be present for the cloud datastore to work
  properly. Don’t remove them with the build dependencies.

Change-Id: I0ee281ebec970bf850673794bd792feb95b6334f
Reviewed-on: https://go-review.googlesource.com/85515
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2 files changed
tree: 5fdfb7bb99c0313c40fb0496ee6e530f42021d08
  1. static/
  2. app.yaml
  3. AUTHORS
  4. client.go
  5. codereview.cfg
  6. CONTRIBUTING.md
  7. CONTRIBUTORS
  8. Dockerfile
  9. edit.go
  10. edit.html
  11. enable-fake-time.patch
  12. fake_fs.lst
  13. fmt.go
  14. LICENSE
  15. logger.go
  16. main.go
  17. Makefile
  18. PATENTS
  19. play.go
  20. play_test.go
  21. README.md
  22. sandbox.go
  23. server.go
  24. server_test.go
  25. share.go
  26. store.go
README.md

playground

This subrepository holds the source for the Go playground: https://play.golang.org/

To submit changes to this repository, see http://golang.org/doc/contribute.html.

Building

# build the image
docker build -t playground .

Running

docker run --rm -d -p 8080:8080 playground
# run go some code
cat /path/to/code.go | go run client.go | curl --data @- localhost:8080/compile

Deployment

gcloud --project=golang-org --account=person@example.com app deploy app.yaml

Contributing

To submit changes to this repository, see http://golang.org/doc/contribute.html.