commit | e2ef2b63beb47a005a6f74fed8c00eef7708a824 | [log] [tgz] |
---|---|---|
author | Frank Borden <frankborden@google.com> | Tue Apr 30 08:31:41 2024 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Apr 30 08:31:41 2024 +0000 |
tree | 0cacf3bd2914360af598a65515e8f849a0c99c07 | |
parent | 62c0cdadcb527b96de7c6b9165c7eeb2530d04cd [diff] | |
parent | 804ce5c08c1a6f7345e21d0678c3fefde86f4882 [diff] |
Merge "Address recipe engine deprecations" into main
This repo holds all the configuration for LUCI, the CI system Gerrit uses. You can find recent verification runs and logs at https://ci.chromium.org/ui/p/gerrit/builders.
Recipe
: a python script to verify a change, and a test for that verificationBuilder
: a recipe configured to run on a specific machine typeCQ Group
: a watcher that triggers on new votes/patchsets on the specified repo+refsCQ Tryjob Verifier
: combines a CQ group with a builder to run a recipe when a new vote or patchset comes in/main.star
: overall starlark configuration for the entire host. It is also executable to generate the config data/repos/*.star
: repo-specific starlark configuration for builders, CQ groups, CQ tryjob verifiers, etc/recipes/recipes/*.py
: recipes for testing a change based on the repo/recipes/recipes.py
: executes recipe tests and compares/generates expected JSON goldens. 100% coverage is expected./recipes/recipe_modules/
: dependencies shared by modules/recipes/*.expected/*.json
: expected commands executed by the recipe/infra/config/recipes.cfg
: versions and URLs of external recipe dependencieslucicfg
- CLI tool to generate the configuration from the starlark scripts. To install, clone depot_tools.python
- Python 3, used to execute recipes.Regenerate config data after making changes (lucicfg):
$ ./main.star
Run recipe tests (python):
$ recipes/recipes.py test run
Update recipe test goldens (python):
$ recipes/recipes.py test train