1
0
mirror of https://github.com/golang/go synced 2024-11-18 10:54:40 -07:00
go/cmd/tip
Andrew Gerrand 498e5ca207 cmd/tip: kill godoc when it fails to be ready on time
If godoc didn't come up quickly enough, we would leave it running and
then try to start another one on the same port.
The new one would fail to start, being unable to bind to the address,
causing cascading failures.

Also increase the timeout to 10 minutes.

Change-Id: I7008a39f649021ea213902d557f26bf78567026d
Reviewed-on: https://go-review.googlesource.com/20420
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-03-08 22:55:24 +00:00
..
Dockerfile cmd/tip: refactor tipgodoc into general-purpose tip server 2015-09-17 02:04:37 +00:00
godoc.go cmd/tip: serve talks.golang.org 2015-09-18 04:55:56 +00:00
godoc.yaml cmd/tip: move side health check to main health check. Use 503. 2016-01-25 21:17:16 +00:00
README cmd/tip: update deploy instructions 2016-01-27 02:50:12 +00:00
talks.go cmd/tip: serve talks.golang.org 2015-09-18 04:55:56 +00:00
talks.yaml cmd/tip: move side health check to main health check. Use 503. 2016-01-25 21:17:16 +00:00
tip.go cmd/tip: kill godoc when it fails to be ready on time 2016-03-08 22:55:24 +00:00

1. Deploy the app.

   To deploy tip.golang.org:
       $ gcloud --project golang-org preview app deploy --no-promote godoc.yaml

   To deploy talks.golang.org:
       $ gcloud --project golang-org preview app deploy --no-promote talks.yaml

2. Wait until the deployed version is serving requests.

3. Go to the developer console and upgrade the default version.
   https://console.developers.google.com/appengine/versions?project=golang-org&moduleId=tip

4. Clean up any old versions (they continue to use at least one instance).