Roll recipe dependencies (trivial).

This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (depot_tools, infra, recipe_engine) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8744486472106839457

depot_tools:
https://chromium.googlesource.com/chromium/tools/depot_tools.git/+/47a841a204af658aa82e38479aa1fdd316c38785
  47a841a (gavinmak@google.com)
      Handle empty diff in _diffs_to_change_files

infra:
https://chromium.googlesource.com/infra/infra.git/+log/8f89ced637fd2e690a2c99e762bb3d5ca6e81b87~..3f249afcd58b6dba4afeaf716bf7abbd274b074d
  8f89ced (chromium-autoroll@skia-public.iam.gserviceaccount.com)
      Roll chromiumos/config from 52c46a72c073 to e16d3a180b8d (1 rev...
  046d3c7 (amirmousavi@google.com)
      cros_test_runner: Pass the test results artifact dir to rdb_pub...
  3f249af (chromium-autoroll@skia-public.iam.gserviceaccount.com)
      Roll chromiumos/infra/proto from 6e101bacffb1 to e02535005277 (...

recipe_engine:
https://chromium.googlesource.com/infra/luci/recipes-py.git/+/f3a3b6e2d0d3f187f3d94de72bd7d9c5e5f85bf3
  f3a3b6e (gbeaty@chromium.org)
      Prevent joining paths with None.

Please check the following references for more information:
- autoroller, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#autoroller
- rollback, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#rollback
- cross-repo dependencies, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/cross_repo.md

Use https://goo.gl/noib3a to file a bug.

Recipe-Tryjob-Bypass-Reason: Autoroller
Ignore-Freeze: Autoroller
Bugdroid-Send-Email: False
Change-Id: I58399d6dd3e95c0ba1683c6ff004b4ddc16f93b5
2 files changed
tree: a7fd095001c295e348ecca427b6d04199bf4355f
  1. generated/
  2. infra/
  3. recipes/
  4. repos/
  5. .gitignore
  6. main.star
  7. README.md
README.md

LUCI Configuration

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.

Concepts

  • Recipe: a python script to verify a change, and a test for that verification
  • Builder: a recipe configured to run on a specific machine type
  • CQ Group: a watcher that triggers on new votes/patchsets on the specified repo+refs
  • CQ Tryjob Verifier: combines a CQ group with a builder to run a recipe when a new vote or patchset comes in

Layout

  • /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 dependencies

Prerequisites

  • lucicfg - CLI tool to generate the configuration from the starlark scripts. To install, clone depot_tools.
  • python - Python 3, used to execute recipes.

Imporant commands

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

Documentation