tree: 4b4e48dc7ee470cd83142e59fc13c81f44d541fd [path history] [tgz]
  1. README.md
  2. commit-queue.cfg
  3. cr-buildbucket.cfg
  4. generated/
  5. luci-logdog.cfg
  6. luci-milo.cfg
  7. luci-scheduler.cfg
  8. main.star
  9. project.cfg
infra/config/global/README.md

Lucicfg overview

The way our infrastructure for try jobs and continuous integration works is currently based on lucicfg, which uses the singular main.star file to generate what used to be manual *.cfg files, such as cr-buildbucket.cfg.

Editing main.star

Validation

When making edits to the main.star file, after your edits are complete validation can be done using:

lucicfg validate main.star

Note that this validation is done as part of git cl presubmit as well.

Generation

Regeneration of the generated directory files can be done by directly executing main.star, which essentially runs:

lucicfg generate main.star

Formatting

Lucicfg has an autoformatter, that can be ran using:

lucicfg fmt