Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

Validation of ocp-build-data Image & RPM declarations

Project description

https://badge.fury.io/py/rh-ocp-build-data-validator.svg https://codecov.io/gh/openshift/ocp-build-data-validator/branch/master/graph/badge.svg

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/)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for rh-ocp-build-data-validator, version 0.1.23
Filename, size File type Python version Upload date Hashes
Filename, size rh_ocp_build_data_validator-0.1.23-py2.py3-none-any.whl (14.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page