1
0
mirror of https://github.com/golang/go synced 2024-11-18 10:54:40 -07:00
go/cmd/tip
Brad Fitzpatrick 3fd990c6be cmd/tip: fix the build
https://golang.org/cl/52390 was submitted too early with failing trybots.

This fixes it, hiding the cloud.google.com stuff behind a build tag,
used by the Dockerfile but not the Go build system.

Change-Id: I66c6b40d4b06bf6c763f3ab221c7997856bfc910
Reviewed-on: https://go-review.googlesource.com/52470
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jessie Frazelle <me@jessfraz.com>
2017-08-01 18:51:51 +00:00
..
cert.go cmd/tip: fix the build 2017-08-01 18:51:51 +00:00
Dockerfile cmd/tip: fix the build 2017-08-01 18:51:51 +00:00
godoc.go cmd/tip: move tip.golang.org from App Engine to Kubernetes on GKE 2017-03-07 03:49:08 +00:00
godoc.yaml cmd/tip: use manual scaling for tip.golang.org 2016-04-06 00:03:48 +00:00
Makefile cmd/tip: add a cert cache, clean up Kubernetes config, use update-deps 2017-08-01 15:37:25 +00:00
README cmd/tip: redirect http://tip.golang.org to https 2017-04-03 05:32:14 +00:00
talks.go cmd/tip: update tools hash to include CL 33662 2016-12-20 20:09:33 +00:00
talks.yaml cmd/tip: manually scale talks to 1 instance 2017-06-13 23:21:29 +00:00
tip_test.go cmd/tip: redirect http://tip.golang.org to https 2017-04-03 05:32:14 +00:00
tip-rc.yaml cmd/tip: add a cert cache, clean up Kubernetes config, use update-deps 2017-08-01 15:37:25 +00:00
tip-service.yaml cmd/tip: move tip.golang.org from App Engine to Kubernetes on GKE 2017-03-07 03:49:08 +00:00
tip.go cmd/tip: fix the build 2017-08-01 18:51:51 +00:00

============================================================
Old instructions, only valid for talks.golang.org:
============================================================

1. Deploy the app.

   To deploy tip.golang.org:
       (See Kubernetes instruction below.)

   To deploy talks.golang.org:
       $ gcloud --project golang-org 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).

============================================================
New Kubernetes instructions, for tip.golang.org:
============================================================

Kubernetes instructions:

 * build & push images (see Makefile for helpers)
 * create/update resources:
   - kubectl create -f tip-rc.yaml
   - kubectl create -f tip-service.yaml

TODO(bradfitz): flesh out these instructions as I gain experience
with updating this over time. Also: move talks.golang.org to GKE too?