Skip to content

Commit 8f4b835

Browse files
committed
aligning targets
1 parent fbc5fa1 commit 8f4b835

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
OPERATOR_NAME = example-operator
2+
OPERATOR_NAME = testoperator
33
OPERATOR_CATALOG_DIR = catalog/$(OPERATOR_NAME)
44
OPERATOR_CATALOG_CONTRIBUTION = $(OPERATOR_CATALOG_DIR)/catalog.yaml
55
YQ = bin/yq
@@ -62,7 +62,7 @@ semver: bin/opm semver-veneer.yaml clean
6262
# all FBC must pass opm validation in order to be able to be used in a catalog
6363
.PHONY: sanity
6464
sanity: bin/opm $(OPERATOR_CATALOG_CONTRIBUTION) preverify
65-
bin/opm validate catalog
65+
bin/opm validate catalog && echo "catalog validation passed" || echo "catalog validation failed"
6666

6767

6868
# preverify target ensures that the operator name is consistent between the destination directory and the generated catalog

basic-veneer.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
---
22
schema: olm.package
3-
name: example-operator
3+
name: testoperator
44
defaultChannel: stable
55
---
66
schema: olm.channel
7-
package: example-operator
7+
package: testoperator
88
name: stable
99
entries:
10-
- name: example-operator.v0.1.0
11-
- name: example-operator.v0.2.0
12-
replaces: example-operator.v0.1.0
10+
- name: testoperator.v0.1.0
11+
- name: testoperator.v0.2.0
12+
replaces: testoperator.v0.1.0
1313
---
1414
schema: olm.bundle
15-
image: quay.io/joelanford/example-operator-bundle:0.1.0
15+
image: quay.io/ankitathomas/olm:testoperator.v0.1.0
1616
---
1717
schema: olm.bundle
18-
image: quay.io/joelanford/example-operator-bundle:0.2.0
18+
image: quay.io/ankitathomas/olm:testoperator.v0.2.0
1919

0 commit comments

Comments
 (0)