Skip to content

ctron/openshift-update-graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenShift Update Graph Visualizer

This is the source code for the OpenShift update graph visualizer.

Example

About

The data is fetched from the OpenShift update information endpoint (https://api.openshift.com/api/upgrades_info/v1/graph). This data is being by openshift/cincinnati, and contains the information which version upgrades are possible.

As the endpoint doesn't set any CORS headers, the data is being synced very 15 minutes to this repository. A check is added to see if the content of the graph changed, as the original content is not sorted, the order of the nodes, and thus the "edge information" changes with every request.

At the same time, the list of possible channels is refreshed as well.

Credit

This solution is inspired by the graph.sh script, from openshift/cincinnati, which takes the upgrade information, and creates a dot file from it, which can be visualized with the Graphviz dot tool.