commit | 4b16f5b226a42b2b11200d4de71080ba98bba800 | [log] [tgz] |
---|---|---|
author | Jason Kusuma <jkusuma@google.com> | Tue Dec 06 20:09:03 2022 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Dec 06 20:09:03 2022 |
tree | 2306424a11eb061fcef5f2b65f875dfaa0d861df | |
parent | 41f1761d631ecf3c8d0edf43b2a256cd854c42a3 [diff] |
[ResultDB] Populate fetchUrl with the actual signed GcsURI. Also add testing utility to make it testable. Note that this requires the gke-pod@ for the service running to have 'Storage Object Viewer' role at minimum on the bucket it's trying to sign otherwise it would not work. BUG=b:229888940 TEST=Manual Unit Test Change-Id: Ia2d919581af01e0b5692d9f872c77dd2665a618c Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/4039109 Reviewed-by: Matthew Warton <mwarton@google.com> Commit-Queue: Jason Kusuma <jkusuma@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.