1
0
mirror of https://github.com/golang/go synced 2024-09-30 16:08:36 -06:00
go/cmd/tip
Agniva De Sarker 435878328f cmd/godoc,cmd/tip: enable HSTS preload
Add the includeSubDomains directive to meet the requirements
for being added to the preload list described at https://hstspreload.org/.

Updates golang/go#26162

Change-Id: I415775aa523bcef3a52f1853de033f343b914e83
Reviewed-on: https://go-review.googlesource.com/122175
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-07-06 16:21:24 +00:00
..
cert.go cmd/tip: enable HTTP ACME challenges 2018-02-02 16:21:31 +00:00
Dockerfile cmd/tip: enable HTTP ACME challenges 2018-02-02 16:21:31 +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: enable HTTP ACME challenges 2018-02-02 16:21:31 +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 talks hash to pull in e00c182 2018-02-20 22:33:34 +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/godoc,cmd/tip: enable HSTS preload 2018-07-06 16:21:24 +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?