commit | 33584ca464308e41718291c108d1ef67c2045486 | [log] [tgz] |
---|---|---|
author | Anthony Fandrianto <atyfto@google.com> | Wed Nov 13 01:35:24 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Nov 13 01:35:24 2019 |
tree | 103dc4d9b1e51eb2adece223359958e255b18501 | |
parent | b161a97279431b1bc1d0cc87d4ecbd6f59a324e1 [diff] |
[lucicfg] Generalize recipes as executables Generalizes kinds.RECIPE as kinds.EXECUTABLE. It is now possible to define executables through luci.executable(...) and pass them to builders in the same way luci.recipe(...) is used. To remain backwards-compatible with existing configs, we still generate the same recipe definitions as before. luci.recipe(...) is treated as a special-case executable by generators.star, where a 'recipe' is defined on the builder proto instead of an 'exe'. Bug: 939368 Bug: fuchsia:39786 Change-Id: Ic6af6a50b6c43ca0a2f73512e35b26afb3822028 Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/1910899 Commit-Queue: Anthony Fandrianto <atyfto@google.com> Reviewed-by: Vadim Shtayura <vadimsh@chromium.org> Reviewed-by: Robbie Iannucci <iannucci@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
Contributing uses the same flow as Chromium contributions.