package
0.0.0-20250403192851-34a345b3f333
Repository: https://github.com/openshift/ci-tools.git
Documentation: pkg.go.dev

# README

Image Graph Generator

This tool is responsible for reading multiple ci-operator configurations and generating a graph based on the connections of all the organizations, repositories, branches, and images that are specified in each configuration.

The image-graph-generator is expected to operate against a Dgraph database.

The schema is defined and maintained in the types.graphql file.

Update or change or update the schema in the database:

curl -X POST http://localhost:8080/admin/schema --data-binary '@types.graphql'

Usage

Usage of image-graph-generator:
  -ci-operator-configs-path string
      Path to ci-operator configurations.
  -graphql-endpoint-address string
      Address of the Dgraph's graphql endpoint.
  -image-mirroring-path string
      Path to image mirroring mapping files.