commit | d6477a5017b00f8b8c37624bdc8ed037f104a0b3 | [log] [tgz] |
---|---|---|
author | Vadim Shtayura <vadimsh@chromium.org> | Wed Nov 20 18:53:38 2024 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Nov 20 18:53:38 2024 |
tree | fe8b04315adcf2315c8894ba14906393a0024483 | |
parent | 3d0599513fec79dd09ecb289e4f700911c9073b6 [diff] |
[swarming] Switch to using session tokens for authentication. To allow rolling back, also keep generating old-format session token as long as the bot is sending necessary inputs. Once bots are updated not to use old tokens, this can be finally removed. Remove fakebot that was used long time ago to test stuff locally. It is hard to keep it in working order. It may be resurrected in some form later after all migrations are done. R=chanli@chromium.org BUG=b/355013282 Change-Id: I7e37d7c13dc44f20974d20ee50064df9051ddcb6 Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/6032076 Commit-Queue: Vadim Shtayura <vadimsh@chromium.org> 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.