Граф коммитов

6 Коммитов

Автор SHA1 Сообщение Дата
Dmitri Shuralyov 84d44bd73d blog: deploy with App Engine Standard on Go 1.11
This change upgrades the deployment of blog to use the newer
Go 1.11 runtime. As part of that, the appengine build tag is
removed (it's no longer set by App Engine), and the GAE_ENV
environment variable is used to detect when blog is being run
in App Engine mode.

Set an environment variable in app.yaml to configure the
x/tools/godoc/golangorgenv package appropriately.

Modify the static file server to also serve /favicon.ico,
but keep static file handlers in app.yaml for improved latency
across global regions.

Updates golang/go#30486

Change-Id: I63ca78a075d94d43a40f0b963b5f6d0d8270c34e
Reviewed-on: https://go-review.googlesource.com/c/blog/+/165460
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-03-07 18:57:43 +00:00
Andrew Bonventre 6f984eca1c blog: clean up blog to allow usage with gcloud command
+ The app.yaml file needs to be in the same directory as the
  entry-point Go files, so those are moved from ./blog to ./
+ Go files within the context article did not have the +build OMIT
  directive, so gcloud would view them as files that needed to be
  built at deploy time. Add the +build OMIT directive and use
  the context package instead of x/net/context.
+ Switch to using a service instead of version and update app.yaml
  to account for this.
+ Use 1.9 as the runtime.
+ Remove superfluous .gitignore

Change-Id: I7c886849b912bc7f5b67cd2791cb6986d93d5cc7
Reviewed-on: https://go-review.googlesource.com/114455
Reviewed-by: Russ Cox <rsc@golang.org>
2018-05-24 20:12:49 +00:00
Andrew Gerrand 44f17a108a blog: fix serving of fonts on App Engine
Change-Id: I4c1fc9b10440b8e99a04614d89ac1fe0db58ae68
Reviewed-on: https://go-review.googlesource.com/33260
Reviewed-by: Andrew Gerrand <adg@golang.org>
2016-11-17 02:50:40 +00:00
Andrew Gerrand 83a9ff9746 blog: redirect from HTTP to HTTPS on App Engine
Change-Id: I2ef91551ba253e4972a8656a1589239beea78c29
Reviewed-on: https://go-review.googlesource.com/22364
Reviewed-by: Francesc Campoy Flores <campoy@golang.org>
2016-04-27 01:13:13 +00:00
Andrew Gerrand 8e64d516f9 go.blog: simpler nobuild_files rule
R=golang-dev, dsymonds
https://golang.org/cl/13662045
2013-09-18 15:17:09 +10:00
Andrew Gerrand 0ee9872fcd go.blog: blog server
R=golang-dev, dsymonds, r
CC=golang-dev
https://golang.org/cl/7382064
2013-03-08 09:22:40 +11:00