commit | 408c98330316a2b8ba1d07ab45a291e1f03a2f5a | [log] [tgz] |
---|---|---|
author | smut <smut@google.com> | Wed Apr 10 00:23:17 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Apr 10 00:23:17 2019 |
tree | ecb2c4e68172240e492a6b47d3d845ce535b6286 | |
parent | 2f16372f83ab28a5cc7ce1ee78099f6ab67f80dd [diff] |
[GCE] Cache configured VM count in the datastore Like the connected and created counts, the configured count needs to be reported globally. Precompute it similarly. Also fix created count to sum values across Swarming servers, since created count doesn't have a field for the server. Bug: 897355 Change-Id: I243e13f634e040f72d000e3ae864938b9043c1d3 Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/1558868 Commit-Queue: smut <smut@google.com> Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org>
LUCI Go code is meant to be worked on from an Chromium infra.git checkout, which enforces packages versions and Go toolchain version. First get fetch via depot_tools.git then run:
fetch infra cd infra/go eval `./env.py` cd src/go.chromium.org/luci
Contributing uses the same flow as Chromium contributions.