commit | 4ccfbc4da40347c449fa506079cd56ccfa27108e | [log] [tgz] |
---|---|---|
author | nqmtuan <nqmtuan@google.com> | Wed Aug 07 00:31:39 2024 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 07 00:31:39 2024 |
tree | d27b5dedef0b637c3ea85378a2665e6a1c868b2c | |
parent | e320f9b68ca58f9dac9ddb5c3c6d2c04caf712a8 [diff] |
[Common] Move bqutil to common We have a few places that needs to write to BigQuery (LUCI Analysis, ResultDB, Bisection). In the near future, LUCI Tree Status also needs to export to bigquery. Currently we are copying the code to different projects, which is not ideal. LUCI Common seems to be the best place for it. Change-Id: Ib888e7019433fd4df000148b19b276f0ef4310b0 Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/5762445 Reviewed-by: Patrick Meiring <meiring@google.com> Commit-Queue: Tuan Nguyen <nqmtuan@google.com>
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.