-
Notifications
You must be signed in to change notification settings - Fork 2
/
cincy-conditional-edge.json
148 lines (148 loc) · 4.65 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
"nodes": [
{
"version": "4.16.0-0.test-2024-03-28-103443-ci-ln-7s8866t-latest",
"payload": "registry.build03.ci.openshift.org/ci-ln-7s8866t/release@sha256:d7e027a1b9291f641833c85dfe1fe9ef6422e93675d2657265c386d0478a4bd0"
},
{
"version": "4.17.0-0.nightly-2023-12-17-000000",
"payload": "registry.ci.openshift.org/ocp/release@sha256:66c753e8b75d172f2a3f7ba13363383a76ecbc7ecdc00f3a423bef4ea8560405"
},
{
"version": "4.17.0-0.nightly-2023-12-18-111111",
"payload": "registry.ci.openshift.org/ocp/release@sha256:a5cd1b44e5b25b8a617d92a1f947297f56fc9bad104c117a8e452f932e1e2fd0"
},
{
"version": "4.17.0-0.nightly-2023-12-19-222222",
"payload": "registry.ci.openshift.org/ocp/release@sha256:e385a786f122c6c0e8848ecb9901f510676438f17af8a5c4c206807a9bc0bf28"
},
{
"version": "4.17.0-0.nightly-2023-12-20-333333",
"payload": "registry.ci.openshift.org/ocp/release@sha256:caf073ce29232978c331d421c06ca5c2736ce5461962775fdd760b05fb2496a0"
}
],
"edges": [
[0,1],
[0,2],
[0,3],
[0,4]
],
"conditionalEdges":[
{
"edges": [
{"from": "4.16.0-0.test-2024-03-28-103443-ci-ln-7s8866t-latest", "to": "4.17.0-0.nightly-2023-12-17-000000"}
],
"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.16.0-0.test-2024-03-28-103443-ci-ln-7s8866t-latest", "to": "4.17.0-0.nightly-2023-12-18-111111"}
],
"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.16.0-0.test-2024-03-28-103443-ci-ln-7s8866t-latest", "to": "4.17.0-0.nightly-2023-12-19-222222"}
],
"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"
}
}
]
}
]
},
{
"edges": [
{"from": "4.16.0-0.test-2024-03-28-103443-ci-ln-7s8866t-latest", "to": "4.17.0-0.nightly-2023-12-20-333333"}
],
"risks": [
{
"url": "https://bug.example.com/d",
"name": "SomeVersionThing",
"message": "Fake version, bug https://bug.example.com/d can happen.",
"matchingRules": [
{
"type": "PromQL",
"promql": {
"promql": "0 * group(cluster_version)"
}
}
]
},
{
"url": "https://bug.example.com/e",
"name": "SomeVersionThing1",
"message": "Fake version, bug https://bug.example.com/e can happen.",
"matchingRules": [
{
"type": "PromQL",
"promql": {
"promql": "0 * 0 * group(cluster_version)"
}
}
]
},
{
"url": "https://bug.example.com/f",
"name": "SomeVersionThing2",
"message": "Fake version, bug https://bug.example.com/f can happen.",
"matchingRules": [
{
"type": "PromQL",
"promql": {
"promql": "0 * 0* 0 * group(cluster_version)"
}
}
]
}
]
}
]
}