Skip to content

vfreex/ocp-build-data-validator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ocp-build-data-validator

Validation of ocp-build-data Image & RPM declarations

Installation

$ pip install rh-ocp-build-data-validator

Usage

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}/*

Validations

  • 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)
    • Presence of branch on GitHub (if declared)
    • Presence of dockerfile on GitHub (if declared)
    • Presence of manifests-dir on GitHub (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/)

About

Validation of ocp-build-data Image & RPM declarations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%