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

8 Коммитов

Автор SHA1 Сообщение Дата
Alexander Rakoczy c07384488c app: update App Engine runtime to go111
Starting October 1, App Engine will not allow apps using the 1.9
runtime to be deployed.

In module mode on go111 AppEngine, paths have changed to be relative to
the go.mod file.

More information can be found at
https://cloud.google.com/appengine/docs/standard/go111/go-differences

Change-Id: I3e291f20559ec8d3c5e8f51b756bd3b23b0c70bd
Reviewed-on: https://go-review.googlesource.com/c/build/+/192103
Run-TryBot: Alexander Rakoczy <alex@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2019-09-03 15:21:19 +00:00
Andrew Bonventre 23c82c2d02 Revert "app: update App Engine runtime to go111"
This reverts commit CL 190902.

Reason for revert: it breaks deploys due to filesystem changes in go111

Change-Id: Ic357050da2707be1c53d79af6f0062ff4feaffbb
Reviewed-on: https://go-review.googlesource.com/c/build/+/191974
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2019-08-27 21:20:29 +00:00
Andrew Bonventre 06ec23726f app: update App Engine runtime to go111
Starting October 1, App Engine will not allow apps using the 1.9
runtime to be deployed.

More information can be found at
https://cloud.google.com/appengine/docs/standard/go111/go-differences

Change-Id: I522830c1bd47a32944d7caa9a5c913996fe328c1
Reviewed-on: https://go-review.googlesource.com/c/build/+/190902
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-08-20 19:11:53 +00:00
Andrew Bonventre bd4a55cdea app: modernize the App Engine code
+ Renames build/ to appengine/ as it contains the main entry point
  for the app.
+ Moves app.yaml files to the appengine/ folder as gcloud app deploy
  will complain if it can’t find any go files to build in the same
  directory as the app.yaml file (previously I think it recursively
  looked for them in the directory tree).
+ Update deploy steps in app.yaml.
+ Remove application and version fields in app.yaml as gcloud deploy
  doesn’t allow them anymore.
+ Update to use go1.8, including using the context package as
  appropriate. In some cases the x/net/context package must be
  used to match the function types specified by GAE.

Change-Id: Ib38563ba7245f37de1a2f8d7f034f02c0cd77863
Reviewed-on: https://go-review.googlesource.com/70410
Reviewed-by: Chris Broadfoot <cbro@golang.org>
2017-10-13 17:07:12 +00:00
Andrew Gerrand adfbb38661 app/cache: store memcache values as gzipped gobs
We're running up against the 1MB value limit when serving the dashboard
front page. Rather than shard keys, just store a more compact
representation of the data.

Change-Id: Ib5a4db4b0b78ddfe711ecbb58dcf1eff18e1fd53
Reviewed-on: https://go-review.googlesource.com/14630
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-09-15 22:02:28 +00:00
Andrew Gerrand 3121d292a8 app: fix caching
Also link commits to github (nicer diff view).
Also remove some old Mercurial cruft.

Change-Id: I717900cd9cac9c6b5d08b0594d5adf29ed56eeb7
Reviewed-on: https://go-review.googlesource.com/11327
Reviewed-by: Chris Broadfoot <cbro@google.com>
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-06-23 00:36:41 +00:00
Andrew Gerrand 2bb70ddaa2 dashboard: split key handler into key package, add TimeKey to cache
LGTM=dsymonds
R=golang-codereviews, dsymonds
CC=golang-codereviews
https://golang.org/cl/104780044
2014-06-02 08:39:03 +10:00
Chris Manghane 7d85ae48b7 go.tools: add dashboard
Moving misc/dashboard to its new home. It will be deleted
(except for misc/dashboard/codereview) from its current home
if this is approved.

R=golang-dev, bradfitz, cmang, adg
CC=golang-dev
https://golang.org/cl/12180043
2013-08-01 13:23:51 +10:00