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
.
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.
Regeneration of the generated
directory files can be done by directly executing main.star, which essentially runs:
lucicfg generate main.star
Lucicfg has an autoformatter, that can be ran using:
lucicfg fmt