Validation of ocp-build-data Image & RPM declarations
$ pip install rh-ocp-build-data-validator
Validating a single file:
$ validate-ocp-build-data path/to/ocp-build-data/images/or/rpms.yml
Validating the whole ocp-build-data repository:
$ validate-ocp-build-data path/to/ocp-build/data/{images,rpms}/*
- YAML Format
- YAML Schema (supported schemas: Image and RPM)
- Presence of corresponding DistGit repository
(needs to match YAML filename)
- Presence of corresponding branch on DistGit
- Presence of GitHub repository (if declared)
- Stream is supported (if declared, value must match one of the entries in
streams.yml
) - Member exists (if declared, member must be another existing declaration under
images/
)