File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
1
2
- OPERATOR_NAME = example-operator
2
+ OPERATOR_NAME = testoperator
3
3
OPERATOR_CATALOG_DIR = catalog/$(OPERATOR_NAME )
4
4
OPERATOR_CATALOG_CONTRIBUTION = $(OPERATOR_CATALOG_DIR ) /catalog.yaml
5
5
YQ = bin/yq
@@ -62,7 +62,7 @@ semver: bin/opm semver-veneer.yaml clean
62
62
# all FBC must pass opm validation in order to be able to be used in a catalog
63
63
.PHONY : sanity
64
64
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 "
66
66
67
67
68
68
# preverify target ensures that the operator name is consistent between the destination directory and the generated catalog
Original file line number Diff line number Diff line change 1
1
---
2
2
schema : olm.package
3
- name : example-operator
3
+ name : testoperator
4
4
defaultChannel : stable
5
5
---
6
6
schema : olm.channel
7
- package : example-operator
7
+ package : testoperator
8
8
name : stable
9
9
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
13
13
---
14
14
schema : olm.bundle
15
- image : quay.io/joelanford/example-operator-bundle:0 .1.0
15
+ image : quay.io/ankitathomas/olm:testoperator.v0 .1.0
16
16
---
17
17
schema : olm.bundle
18
- image : quay.io/joelanford/example-operator-bundle:0 .2.0
18
+ image : quay.io/ankitathomas/olm:testoperator.v0 .2.0
19
19
You can’t perform that action at this time.
0 commit comments