Skip to content

Instantly share code, notes, and snippets.

@petr-muller
Last active November 24, 2023 16:55
Show Gist options
  • Select an option

  • Save petr-muller/900d7aca629e5627abab695941b00a36 to your computer and use it in GitHub Desktop.

Select an option

Save petr-muller/900d7aca629e5627abab695941b00a36 to your computer and use it in GitHub Desktop.
Fake Cincinnati Data
{
"nodes": [
{"version": "CLUSTER-BOT-VERSION", "payload": "CLUSTER-BOT-PAYLOAD"},
{"version": "4.12.22", "payload": "quay.io/openshift-release-dev/ocp-release@sha256:1111111111111111111111111111111111111111111111111111111111111111"},
{"version": "4.12.21", "payload": "quay.io/openshift-release-dev/ocp-release@sha256:2222222222222222222222222222222222222222222222222222222222222222"},
{"version": "4.12.20", "payload": "quay.io/openshift-release-dev/ocp-release@sha256:3333333333333333333333333333333333333333333333333333333333333333"}
],
"conditionalEdges": [
{
"edges": [{"from": "CLUSTER-BOT-VERSION", "to": "4.12.22"}],
"risks": [
{
"url": "https://example.com/oldest",
"name": "OCPBUGS_13308_AWS",
"message": "Risk to 4.12.22: AWS",
"matchingRules": [{"type": "PromQL", "promql": { "promql": "group by (type) (cluster_infrastructure_provider{type=\"AWS\"}) or 0 * group by (type) (cluster_infrastructure_provider)"}}]
}
]
},
{
"edges": [{"from": "CLUSTER-BOT-VERSION", "to": "4.12.21"}],
"risks": [
{
"url": "https://example.com/oldest",
"name": "OCPBUGS_13308_GCP",
"message": "Risk to 4.12.21: GCP",
"matchingRules": [{"type": "PromQL", "promql": { "promql": "group by (type) (cluster_infrastructure_provider{type=\"GCP\"}) or 0 * group by (type) (cluster_infrastructure_provider)"}}]
}
]
},
{
"edges": [{"from": "CLUSTER-BOT-VERSION", "to": "4.12.20"}],
"risks": [
{
"url": "https://example.com/oldest",
"name": "OCPBUGS_13308_01",
"message": "Risk to 4.12.20: 1",
"matchingRules": [{"type": "PromQL", "promql": { "promql": "group(network_attachment_definition_instances > 1) or 0 * group(network_attachment_definition_instances)"}}]
},
{
"url": "https://example.com/oldest",
"name": "Oldest",
"name": "OCPBUGS_13308_02",
"message": "Risk to 4.12.20: 3!",
"matchingRules": [{"type": "PromQL", "promql": { "promql": "group(network_attachment_definition_instances > 3) or 0 * group(network_attachment_definition_instances)"}}]
},
{
"url": "https://example.com/oldest",
"name": "Oldest",
"name": "OCPBUGS_13308_03",
"message": "Risk to 4.12.20: 4!",
"matchingRules": [{"type": "PromQL", "promql": { "promql": "group(network_attachment_definition_instances > 4) or 0 * group(network_attachment_definition_instances)"}}]
},
{
"url": "https://example.com/oldest",
"name": "Oldest",
"name": "OCPBUGS_13308_04",
"message": "Risk to 4.12.20: 5!",
"matchingRules": [{"type": "PromQL", "promql": { "promql": "group(network_attachment_definition_instances > 5) or 0 * group(network_attachment_definition_instances)"}}]
},
{
"url": "https://example.com/oldest",
"name": "Oldest",
"name": "OCPBUGS_13308_05",
"message": "Risk to 4.12.20: 6!",
"matchingRules": [{"type": "PromQL", "promql": { "promql": "group(network_attachment_definition_instances > 6) or 0 * group(network_attachment_definition_instances)"}}]
},
{
"url": "https://example.com/oldest",
"name": "Oldest",
"name": "OCPBUGS_13308_06",
"message": "Risk to 4.12.20: 7!",
"matchingRules": [{"type": "PromQL", "promql": { "promql": "group(network_attachment_definition_instances > 7) or 0 * group(network_attachment_definition_instances)"}}]
}
]
}
]
}
{
"nodes": [
{"version": "4.14.0-rc.3", "payload": "registry.build05.ci.openshift.org/ci-ln-lqpmcqt/release@sha256:a4cb1959bcfbc92571ffdd1ad5873107e32972be4dbd5c4ee4c9221bc907a216"},
{"version": "4.42.42", "payload": "quay.io/openshift-release-dev/ocp-release@sha256:2222222222222222222222222222222222222222222222222222222222222222"},
{"version": "4.42.43", "payload": "quay.io/openshift-release-dev/ocp-release@sha256:2222222222222222222222222222222222222222222222222222222222222223"},
{"version": "4.42.44", "payload": "quay.io/openshift-release-dev/ocp-release@sha256:2222222222222222222222222222222222222222222222222222222222222224"}
],
"conditionalEdges": [
{
"edges": [{"from": "4.14.0-rc.3", "to": "4.42.42"}],
"risks": [
{
"url": "https://home.robusta.dev/blog/why-your-prometheus-sucks-and-how-to-fix-it",
"name": "RISK",
"message": "Risk that does not evaluate because it contains invalid PromQL",
"matchingRules": [{"type": "PromQL", "promql": { "promql": "group by (cluster_infrastructure_provider{type=\"GCP\") or 0 * group by (type) (cluster_infrastructure_provider)"}}]
}
]
},
{
"edges": [{"from": "4.14.0-rc.3", "to": "4.42.43"}],
"risks": [
{
"url": "https://cloud.google.com",
"name": "RISK",
"message": "Risk that applies on GCP",
"matchingRules": [{"type": "PromQL", "promql": { "promql": "group by (type) (cluster_infrastructure_provider{type=\"GCP\"}) or 0 * group by (type) (cluster_infrastructure_provider)"}}]
}
]
},
{
"edges": [{"from": "4.14.0-rc.3", "to": "4.42.44"}],
"risks": [
{
"url": "https://aws.amazon.com",
"name": "RISK",
"message": "Risk that applies on AWS",
"matchingRules": [{"type": "PromQL", "promql": { "promql": "group by (type) (cluster_infrastructure_provider{type=\"AWS\"}) or 0 * group by (type) (cluster_infrastructure_provider)"}}]
}
]
}
]
}
{
"nodes": [
{"version": "4.15.0-ec.2", "payload": "quay.io/openshift-release-dev/ocp-release:4.15.0-ec.2-x86_64"},
{"version": "4.42.42", "payload": "quay.io/openshift-release-dev/ocp-release@sha256:2222222222222222222222222222222222222222222222222222222222222222"},
{"version": "4.42.43", "payload": "quay.io/openshift-release-dev/ocp-release@sha256:2222222222222222222222222222222222222222222222222222222222222223"},
{"version": "4.42.44", "payload": "quay.io/openshift-release-dev/ocp-release@sha256:2222222222222222222222222222222222222222222222222222222222222224"}
],
"conditionalEdges": [
{
"edges": [{"from": "4.15.0-ec.2", "to": "4.42.42"}],
"risks": [
{
"url": "https://home.robusta.dev/blog/why-your-prometheus-sucks-and-how-to-fix-it",
"name": "RISK",
"message": "Risk that does not evaluate because it contains invalid PromQL",
"matchingRules": [{"type": "PromQL", "promql": { "promql": "group by (type) (cluster_infrastructure_provider{type=\"GCP\"}) or 0 * group by (type) (cluster_infrastructure_provider)"}}]
}
]
},
{
"edges": [{"from": "4.15.0-ec.2", "to": "4.42.43"}],
"risks": [
{
"url": "https://cloud.google.com",
"name": "RISK",
"message": "Risk that applies on GCP",
"matchingRules": [{"type": "PromQL", "promql": { "promql": "group by (type) (cluster_infrastructure_provider{type=\"GCP\"}) or 0 * group by (type) (cluster_infrastructure_provider)"}}]
}
]
},
{
"edges": [{"from": "4.15.0-ec.2", "to": "4.42.44"}],
"risks": [
{
"url": "https://aws.amazon.com",
"name": "RISK",
"message": "Risk that applies on AWS",
"matchingRules": [{"type": "PromQL", "promql": { "promql": "group by (type) (cluster_infrastructure_provider{type=\"GCP\"}) or 0 * group by (type) (cluster_infrastructure_provider)"}}]
}
]
}
]
}
{
"nodes": [
{"version": "CLUSTER-BOT-VERSION", "payload": "CLUSTER-BOT-PAYLOAD"},
{"version": "4.42.42", "payload": "quay.io/openshift-release-dev/ocp-release@sha256:2222222222222222222222222222222222222222222222222222222222222222"},
{"version": "4.42.43", "payload": "quay.io/openshift-release-dev/ocp-release@sha256:2222222222222222222222222222222222222222222222222222222222222223"},
{"version": "4.42.44", "payload": "quay.io/openshift-release-dev/ocp-release@sha256:2222222222222222222222222222222222222222222222222222222222222224"}
],
"conditionalEdges": [
{
"edges": [{"from": "CLUSTER-BOT-VERSION", "to": "4.42.42"}],
"risks": [
{
"url": "https://home.robusta.dev/blog/why-your-prometheus-sucks-and-how-to-fix-it",
"name": "RISK",
"message": "Risk that does not evaluate because it contains invalid PromQL",
"matchingRules": [{"type": "PromQL", "promql": { "promql": "group by (cluster_infrastructure_provider{type=\"GCP\") or 0 * group by (type) (cluster_infrastructure_provider)"}}]
}
]
},
{
"edges": [{"from": "CLUSTER-BOT-VERSION", "to": "4.42.43"}],
"risks": [
{
"url": "https://cloud.google.com",
"name": "RISK",
"message": "Risk that applies on GCP",
"matchingRules": [{"type": "PromQL", "promql": { "promql": "group by (type) (cluster_infrastructure_provider{type=\"GCP\"}) or 0 * group by (type) (cluster_infrastructure_provider)"}}]
}
]
},
{
"edges": [{"from": "CLUSTER-BOT-VERSION", "to": "4.42.44"}],
"risks": [
{
"url": "https://aws.amazon.com",
"name": "RISK",
"message": "Risk that applies on AWS",
"matchingRules": [{"type": "PromQL", "promql": { "promql": "group by (type) (cluster_infrastructure_provider{type=\"AWS\"}) or 0 * group by (type) (cluster_infrastructure_provider)"}}]
}
]
}
]
}
{
"nodes": [
{"version": "CLUSTER-BOT-VERSION", "payload": "CLUSTER-BOT-PAYLOAD"},
{"version": "4.42.42", "payload": "quay.io/openshift-release-dev/ocp-release@sha256:2222222222222222222222222222222222222222222222222222222222222222"}
],
"conditionalEdges": [
{
"edges": [{"from": "CLUSTER-BOT-VERSION", "to": "4.42.42"}],
"risks": [
{
"url": "https://cloud.google.com",
"name": "RISK",
"message": "Risk that applies on GCP",
"matchingRules": [{"type": "PromQL", "promql": { "promql": "group by (cluster_infrastructure_provider{type=\"GCP\") or 0 * group by (type) (cluster_infrastructure_provider)"}}]
}
]
}
]
}
{
"nodes": [
{"version": "CLUSTER-BOT-VERSION", "payload": "CLUSTER-BOT-PAYLOAD"},
{"version": "4.42.42", "payload": "quay.io/openshift-release-dev/ocp-release@sha256:2222222222222222222222222222222222222222222222222222222222222222"}
],
"conditionalEdges": [
{
"edges": [{"from": "CLUSTER-BOT-VERSION", "to": "4.42.42"}],
"risks": [
{
"url": "https://aws.amazon.com",
"name": "RISK",
"message": "Risk that applies on AWS",
"matchingRules": [{"type": "PromQL", "promql": { "promql": "group by (type) (cluster_infrastructure_provider{type=\"AWS\"}) or 0 * group by (type) (cluster_infrastructure_provider)"}}]
}
]
}
]
}
{
"nodes": [
{"version": "CLUSTER-BOT-VERSION", "payload": "CLUSTER-BOT-PAYLOAD"},
{"version": "4.42.42", "payload": "quay.io/openshift-release-dev/ocp-release@sha256:2222222222222222222222222222222222222222222222222222222222222222"}
],
"conditionalEdges": [
{
"edges": [{"from": "CLUSTER-BOT-VERSION", "to": "4.42.42"}],
"risks": [
{
"url": "https://cloud.google.com",
"name": "RISK",
"message": "Risk that applies on GCP",
"matchingRules": [{"type": "PromQL", "promql": { "promql": "group by (type) (cluster_infrastructure_provider{type=\"GCP\"}) or 0 * group by (type) (cluster_infrastructure_provider)"}}]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment