Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.2
Filename, size File type Python version Upload date Hashes
Filename, size rh_ocp_build_data_validator-0.1.2-py2.py3-none-any.whl (12.9 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page