commit | bb6b022d995cac8d7729ddb2bbea771fae84a919 | [log] [tgz] |
---|---|---|
author | Yuanjun Huang <yuanjunh@google.com> | Tue Oct 25 21:41:02 2022 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Oct 25 21:41:02 2022 |
tree | a729929ccd9751c836b9f362aa9201ee5452d3e6 | |
parent | 7e9b3eea067184f185c6d0ba609b01ac82748925 [diff] |
[buildbucket] split a large builder config update into serialized updates We update builders per bucket per transaction. However if the number of changed builders in one bucker is larger than 500 or the total size is larger than 10MB, we have to do it non-transactionally. That's because of Datastore limits. Bug:1376696 Change-Id: Ia8cc691d2ae4ddf9646bb39ec26adf7f1d55231c Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/3977116 Commit-Queue: Yuanjun Huang <yuanjunh@google.com> Reviewed-by: Chan Li <chanli@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
It is now possible to directly install tools with go install:
go install go.chromium.org/luci/auth/client/cmd/...@latest go install go.chromium.org/luci/buildbucket/cmd/...@latest go install go.chromium.org/luci/cipd/client/cmd/...@latest go install go.chromium.org/luci/client/cmd/...@latest go install go.chromium.org/luci/cv/cmd/...@latest go install go.chromium.org/luci/gce/cmd/...@latest go install go.chromium.org/luci/grpc/cmd/...@latest go install go.chromium.org/luci/logdog/client/cmd/...@latest go install go.chromium.org/luci/luci_notify/cmd/...@latest go install go.chromium.org/luci/lucicfg/cmd/...@latest go install go.chromium.org/luci/luciexe/legacy/cmd/...@latest go install go.chromium.org/luci/mailer/cmd/...@latest go install go.chromium.org/luci/mmutex/cmd/...@latest go install go.chromium.org/luci/resultdb/cmd/...@latest go install go.chromium.org/luci/server/cmd/...@latest go install go.chromium.org/luci/swarming/cmd/...@latest go install go.chromium.org/luci/tokenserver/cmd/...@latest go install go.chromium.org/luci/tools/cmd/...@latest
Contributing uses the same flow as Chromium contributions.