build/cmd/tip
Dmitri Shuralyov da35c5f839 cmd/tip: start building website from x/website repository
As part of golang/go#29206, the golang.org website is being moved to
from x/tools to x/website repository. This change updates the tip
command to start deploying it from its new location.

The new website is using Go modules for reproducible builds. This
simplifies the code, because we no longer need to manually fetch
any dependent repositories (such as x/net).

Update instances of "godoc" (the binary that was previously used to
host the website) to "golangorg", the new binary name in x/website.

Fixes golang/go#30232
Updates golang/go#29206

Change-Id: I428eddf95a7ed6a43a25138ffeb919e79f42f9d2
Reviewed-on: https://go-review.googlesource.com/c/162908
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2019-02-21 20:03:21 +00:00
..
Dockerfile cmd/tip: remove the autocert build tag 2019-02-05 19:42:03 +00:00
Makefile cmd/tip: remove the autocert build tag 2019-02-05 19:42:03 +00:00
README tip: fix, update tip.golang.org 2018-12-14 17:12:54 +00:00
cert.go cmd/tip: remove the autocert build tag 2019-02-05 19:42:03 +00:00
deployment-prod.yaml cmd/tip: start building website from x/website repository 2019-02-21 20:03:21 +00:00
deployment-staging.yaml cmd/tip: start building website from x/website repository 2019-02-21 20:03:21 +00:00
golangorg.go cmd/tip: start building website from x/website repository 2019-02-21 20:03:21 +00:00
service-prod.yaml cmd/tip: add staging deployment configuration 2019-02-19 15:56:18 +00:00
service-staging.yaml cmd/tip: add staging deployment configuration 2019-02-19 15:56:18 +00:00
talks.go tip: fix, update tip.golang.org 2018-12-14 17:12:54 +00:00
talks.yaml cmd/tip: manually scale talks to 1 instance 2017-06-13 23:21:29 +00:00
tip.go cmd/tip: start building website from x/website repository 2019-02-21 20:03:21 +00:00
tip_test.go cmd/tip: start building website from x/website repository 2019-02-21 20:03:21 +00:00

README

============================================================
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:

 * make deploy-prod

Also: move talks.golang.org to GKE too?