Skip to content

Commit

Permalink
(e2e) Use custom built test catalog for e2e testing
Browse files Browse the repository at this point in the history
closes operator-framework#215

Signed-off-by: Anik <[email protected]>
  • Loading branch information
anik120 authored and everettraven committed Jun 5, 2023
1 parent 4391c50 commit 5bbdd8b
Show file tree
Hide file tree
Showing 2 changed files with 105 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
annotations:
operators.operatorframework.io.bundle.channel.default.v1: beta
operators.operatorframework.io.bundle.channels.v1: beta
operators.operatorframework.io.bundle.manifests.v1: manifests/
operators.operatorframework.io.bundle.mediatype.v1: registry+v1
Expand Down
104 changes: 104 additions & 0 deletions testdata/catalogs/test-catalog/catalog.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
{
"schema": "olm.package",
"name": "prometheus",
"defaultChannel": "beta"
}
{
"schema": "olm.channel",
"name": "beta",
"package": "prometheus",
"entries": [
{
"name": "prometheusoperator.0.47.0"
}
]
}
{
"schema": "olm.bundle",
"name": "prometheusoperator.0.47.0",
"package": "prometheus",
"image": "localhost/testdata/bundles/registry-v1/prometheus-operator:v0.47.0",
"properties": [
{
"type": "olm.gvk",
"value": {
"group": "monitoring.coreos.com",
"kind": "Alertmanager",
"version": "v1"
}
},
{
"type": "olm.gvk",
"value": {
"group": "monitoring.coreos.com",
"kind": "AlertmanagerConfig",
"version": "v1alpha1"
}
},
{
"type": "olm.gvk",
"value": {
"group": "monitoring.coreos.com",
"kind": "PodMonitor",
"version": "v1"
}
},
{
"type": "olm.gvk",
"value": {
"group": "monitoring.coreos.com",
"kind": "Probe",
"version": "v1"
}
},
{
"type": "olm.gvk",
"value": {
"group": "monitoring.coreos.com",
"kind": "Prometheus",
"version": "v1"
}
},
{
"type": "olm.gvk",
"value": {
"group": "monitoring.coreos.com",
"kind": "PrometheusRule",
"version": "v1"
}
},
{
"type": "olm.gvk",
"value": {
"group": "monitoring.coreos.com",
"kind": "ServiceMonitor",
"version": "v1"
}
},
{
"type": "olm.gvk",
"value": {
"group": "monitoring.coreos.com",
"kind": "ThanosRuler",
"version": "v1"
}
},
{
"type": "olm.package",
"value": {
"packageName": "prometheus",
"version": "0.47.0"
}
}
],
"relatedImages": [
{
"name": "",
"image": "quay.io/operatorhubio/prometheus@sha256:47c659b352bbc4b75b64fbe0077d19afaea80cf691c62d803d44fdfc88dc9c6f"
},
{
"name": "",
"image": "quay.io/prometheus-operator/prometheus-operator:v0.47.0"
}
]
}

0 comments on commit 5bbdd8b

Please sign in to comment.