Skip to main content

Validation of ocp-build-data Image & RPM declarations

Project description

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 Distribution

rh-ocp-build-data-validator-0.0.7.tar.gz (4.9 kB view details)

Uploaded Source

File details

Details for the file rh-ocp-build-data-validator-0.0.7.tar.gz.

File metadata

  • Download URL: rh-ocp-build-data-validator-0.0.7.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for rh-ocp-build-data-validator-0.0.7.tar.gz
Algorithm Hash digest
SHA256 d3a4ae919ae205dedaff6d2e9833fc836f780d04387666b40e919119f8cae9e0
MD5 edf4c326ef5fc23f15da340dbf9a31bd
BLAKE2b-256 a106183a5a26a0f66498d92ecc8dc6a8ae441aa4479eb7054b7398e1f643716d

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