Documentation
¶
Overview ¶
Command catalog-validate checks a directory of catalog YAML manifests. It runs the graph linter (catalogvalidate.ValidateGraph) and plans the tree the way a first boot seed does (apply.CheckDocs). With --curation it also runs a published catalog's curation checks (app/catalogvalidate/curation): the named rules, every Model's spec.family and spec.productLine against families.yaml, and featured.yaml against the featured labels.
Usage:
catalog-validate [--strict] [--curation [--skip <name>...] [--families <path>] [--featured <path>]] <dir> catalog-validate --list catalog-validate --write-featured [--featured <path>] <dir>
families.yaml defaults to dir's own; featured.yaml to the catalog repo root, one level above dir. A missing featured.yaml skips the featured check.
Exit codes:
0 no errors (warnings may be present unless --strict) 1 at least one error 2 internal failure (couldn't load, etc.)