Skip to content

Commit d8dd79d

Browse files
committed
cincinnati-graph: Update demo for cvo#1367 (alerts as risk.Source)
openshift/cluster-version-operator#1367
1 parent b001f16 commit d8dd79d

1 file changed

Lines changed: 24 additions & 4 deletions

File tree

cincinnati-graph.json

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"nodes": [
33
{
4-
"payload": "registry.build10.ci.openshift.org/ci-ln-bk7yf1t/release@sha256:7bbed88c06f5f12942d554987f25e6560ea270460b2cc1c3214eb27b5edfff73",
5-
"version": "4.21.0-0-2025-10-05-000656-test-ci-ln-bk7yf1t-latest",
4+
"payload": "registry.build10.ci.openshift.org/ci-ln-5tsyhlb/release@sha256:13b44131ccddc1eefc6209367e3cc80e43229dbd19f1de9ccc3fe23b2021b60a",
5+
"version": "4.22.0-0-2026-04-08-051426-test-ci-ln-5tsyhlb-latest",
66
"metadata": {
77
"url": "https://example.com/current",
88
"io.openshift.upgrades.graph.release.channels": "channel-a,channel-current"
@@ -18,8 +18,28 @@
1818
},
1919
{
2020
"payload": "quay.io/openshift-release-dev/ocp-release@sha256:1111111111111111111111111111111111111111111111111111111111111111",
21-
"version": "4.22.1-always-recommended"
21+
"version": "4.22.1-conditionally-recommended"
2222
}
2323
],
24-
"edges": [[0,1], [0,2]]
24+
"edges": [[0,1]],
25+
"conditionalEdges": [
26+
{
27+
"edges": [{"from": "4.22.0-0-2026-04-08-051426-test-ci-ln-5tsyhlb-latest", "to": "4.22.1-conditionally-recommend"}],
28+
"risks": [
29+
{
30+
"url": "https://example.com/broken-promql",
31+
"name": "BrokenPromQL",
32+
"message": "Testing with broken PromQL to trigger failed risk evaluation.",
33+
"matchingRules": [
34+
{
35+
"type": "PromQL",
36+
"promql": {
37+
"promql": "cluster_version"
38+
}
39+
}
40+
]
41+
}
42+
]
43+
}
44+
]
2545
}

0 commit comments

Comments
 (0)