-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcincy-conditional-edge.json
97 lines (97 loc) · 3 KB
/
cincy-conditional-edge.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"nodes": [
{
"version": "4.10.0-0.nightly-2023-06-25-132139",
"payload": "registry.ci.openshift.org/ocp/release@sha256:d4df12a2fa6c65278cb7f478feecaf6cdf157d4e52be2bf01c5511adccc79e9f"
},
{
"version": "4.11.0-0.nightly-2023-06-21-192345",
"payload": "registry.ci.openshift.org/ocp/release@sha256:b94a57687d6ddebff6d29bc1a4dad0437140badae37c3c09fae45dbe0d8c1ee6"
},
{
"version": "4.11.0-0.nightly-2023-06-23-220648",
"payload": "registry.ci.openshift.org/ocp/release@sha256:22e7f886642524713a87cc9fa48b59f6c9939295ea15bd21baaebdef7171db8e"
},
{
"version": "4.11.39",
"payload": "quay.io/openshift-release-dev/ocp-release@sha256:3545730c2018e0b092d6132b31068e517cbe99b99c52c54f2a9afad61e051e3d"
}
],
"edges": [
[0,1],
[0,2],
[0,3]
],
"conditionalEdges":[
{
"edges": [
{"from": "4.10.0-0.nightly-2023-06-25-132139", "to": "4.11.0-0.nightly-2023-06-21-192345"}
],
"risks": [
{
"url": "https://bug.example.com/a",
"name": "SomeInvokerThing",
"message": "On clusters on default invoker user, this imaginary bug can happen.",
"matchingRules": [
{
"type": "PromQL",
"promql": {
"promql": "cluster_installer"
}
}
]
},
{
"url": "https://bug.example.com/b",
"name": "SomeChannelThing",
"message": "On clusters with the channel set to 'buggy', this imaginary bug can happen.",
"matchingRules": [
{
"type": "PromQL",
"promql": {
"promql": "group(cluster_version_available_updates{channel=\"buggy\"})\nor\n0 * group(cluster_version_available_updates{channel!=\"buggy\"})"
}
}
]
}
]
},
{
"edges": [
{"from": "4.10.0-0.nightly-2023-06-25-132139", "to": "4.11.39"}
],
"risks": [
{
"url": "https://openshift-release.apps.ci.l2s4.p1.openshiftapps.com/releasestream/4.10.0-0.nightly/release/4.10.0-0.nightly-2021-11-24-075634",
"name": "ReleaseIsRejected",
"message": "Too many CI failures on this release, so do not update to it",
"matchingRules": [
{
"type": "Always"
}
]
}
]
},
{
"edges": [
{"from": "4.10.0-0.nightly-2023-06-25-132139", "to": "4.11.0-0.nightly-2023-06-23-220648"}
],
"risks": [
{
"url": "https://bug.example.com/c",
"name": "SomeInfrastructureThing",
"message": "Clusters on nonexist provider, this imaginary bug can happen.",
"matchingRules": [
{
"type": "PromQL",
"promql": {
"promql": "cluster_infrastructure_provider{type=~\"nonexist\"}\nor\n0 * cluster_infrastructure_provider"
}
}
]
}
]
}
]
}