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

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2Python 3

File details

Details for the file rh_ocp_build_data_validator-0.2.5-py2.py3-none-any.whl.

File metadata

  • Download URL: rh_ocp_build_data_validator-0.2.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 19.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 pkginfo/1.7.0 requests/2.23.0 setuptools/59.6.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.8

File hashes

Hashes for rh_ocp_build_data_validator-0.2.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3d38e7b4483eecf5e30577f1eceb7a109190d9dce53d506716e9cee10295cd8b
MD5 4e112558e66062334385c76e48c60150
BLAKE2b-256 9c31fa54a9cd9d3a22e9e7d8eb53ff2293990d52d29727fd2376d72797f72e0b

See more details on using hashes here.

Supported by

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