Skip to content

Add command lb-ap list-checks

Dylan Jaide White requested to merge djwhite/list-checks into master

Adds a new command to the CLI: lb-ap list-checks. This displays information about the checks defined for a specific production, similar to how lb-ap list does for productions & jobs within a production.

To use, run lb-ap list-checks <PRODUCTION_NAME>, and it will list all checks defined for that production. If no checks are defined for that production, it will say that instead.

You can also optionally specify a job name, using lb-ap list-checks <PRODUCTION_NAME> <JOB_NAME>. This will list all the checks in that production that are required by that specific job. If that job requires none of the defined checks, it will say that instead. (NB. If there is a check that is not required by any job within a production, that will be considered an error by the YAML validation)

FYI @gtuci

Work related to https://gitlab.cern.ch/lhcb-dpa/project/-/issues/93 and lhcb-dpa&1 (closed)

Edited by Dylan Jaide White

Merge request reports