commit | 578abe2bb2333a22e822c455cdea911ad9663703 | [log] [tgz] |
---|---|---|
author | Vadim Shtayura <vadimsh@chromium.org> | Thu May 08 22:24:17 2025 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu May 08 22:24:17 2025 |
tree | 060e507f80ab289563ee96d4c33ac6075a927d7c | |
parent | 6b45b8d243f7fcfc24835cb7b4b0130ce60ef570 [diff] |
[auth] Add credential helper token provider. Wire it up credential helper to "luci-auth" and "cipd". Can be used like this: cipd proxy -credential-helper \ "protocol:RECLIENT exec:'credshelper' args: '--auth_source=automaticAuth'" Only "reclient" protocol is supported currently. The path must either be absolute or resolvable via $PATH (relative paths with "." are not supported). No auto-discover of any sort is happening. BUG=b/414989137 R=iannucci@chromium.org, bryner@google.com Change-Id: Ied51f626f85868a0f2b0e8b91f9ab33ab7849b8e Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/6514513 Reviewed-by: Robbie Iannucci <iannucci@google.com> Commit-Queue: Vadim Shtayura <vadimsh@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.