Skip to main content

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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

rh_ocp_build_data_validator-0.2.5-py2.py3-none-any.whl (19.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page