Socket
Socket
Sign inDemoInstall

rh-ocp-build-data-validator

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rh-ocp-build-data-validator

Validation of ocp-build-data Image & RPM declarations


Maintainers
1

ocp-build-data-validator

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

Validation of ocp-build-data <https://gitlab.cee.redhat.com/openshift-art/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 <https://gitlab.cee.redhat.com/openshift-art/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 <http://pkgs.devel.redhat.com>__ repository (needs to match YAML filename)

    • Presence of corresponding branch on DistGit <http://pkgs.devel.redhat.com>__
  • Presence of GitHub <https://github.com>__ repository (if declared)

    • Presence of branch on GitHub <https://github.com>__ (if declared)
    • Presence of dockerfile on GitHub <https://github.com>__ (if declared)
    • Presence of manifests-dir on GitHub <https://github.com>__ (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/)

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc