aboutsummaryrefslogtreecommitdiff
path: root/app.yaml
Commit message (Collapse)AuthorAge
* blog: add analytics HTML and deploy instructionsDmitri Shuralyov2019-10-02
| | | | | | | | | | | | | | | When deployed with App Engine on blog.golang.org, insert analytics HTML at the beginning of <head>. Add deploy instructions to the README. Also update to the App Engine Go 1.12 runtime. Change-Id: Icf0919fd22d80cb8cb765845acd1d72f85f11fa1 Reviewed-on: https://go-review.googlesource.com/c/blog/+/198337 Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
* blog: deploy with App Engine Standard on Go 1.11Dmitri Shuralyov2019-03-07
| | | | | | | | | | | | | | | | | | | | | 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>
* blog: clean up blog to allow usage with gcloud commandAndrew Bonventre2018-05-24
| | | | | | | | | | | | | | | | | + 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>
* blog: fix serving of fonts on App EngineAndrew Gerrand2016-11-17
| | | | | | Change-Id: I4c1fc9b10440b8e99a04614d89ac1fe0db58ae68 Reviewed-on: https://go-review.googlesource.com/33260 Reviewed-by: Andrew Gerrand <adg@golang.org>
* blog: redirect from HTTP to HTTPS on App EngineAndrew Gerrand2016-04-27
| | | | | | Change-Id: I2ef91551ba253e4972a8656a1589239beea78c29 Reviewed-on: https://go-review.googlesource.com/22364 Reviewed-by: Francesc Campoy Flores <campoy@golang.org>
* go.blog: simpler nobuild_files ruleAndrew Gerrand2013-09-18
| | | | | R=golang-dev, dsymonds https://golang.org/cl/13662045
* go.blog: blog serverAndrew Gerrand2013-03-08
R=golang-dev, dsymonds, r CC=golang-dev https://golang.org/cl/7382064