tree: 4a821af93320b750f4203ca76030daff505f6978 [path history] [tgz]
  1. generated/
  2. main.star
  3. README.md
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