88# ----------------------------------------------------------------------------------------------------------------------
99
1010# The version of the Operator being build - this should be a valid SemVer format
11- VERSION ?= 3.1.6
11+ VERSION ?= 3.2.0
1212MVN_VERSION ?= $(VERSION ) -SNAPSHOT
1313
1414# The version number to be replaced by this release
15- PREV_VERSION ?= 3.1.2
15+ PREV_VERSION ?= 3.1.5
1616
1717# The operator version to use to run certification tests against
1818CERTIFICATION_VERSION ?= $(VERSION )
@@ -224,8 +224,8 @@ help: ## Display this help.
224224
225225# #@ Build
226226
227- .PHONY : all # # Build all the Coherence Operator artefacts
228- all : java-client build-all-images helm-chart
227+ .PHONY : all
228+ all : java-client build-all-images helm-chart # # Build all the Coherence Operator artefacts
229229
230230# ----------------------------------------------------------------------------------------------------------------------
231231# Configure the build properties
@@ -358,8 +358,8 @@ $(BUILD_BIN)/converter-windows-amd64: $(BUILD_PROPS) $(GOS)
358358# ----------------------------------------------------------------------------------------------------------------------
359359# Build the Java artifacts
360360# ----------------------------------------------------------------------------------------------------------------------
361- .PHONY : build-mvn # # Build the Java artefacts
362- build-mvn :
361+ .PHONY : build-mvn
362+ build-mvn : # # Build the Java artefacts
363363 ./mvnw $(USE_MAVEN_SETTINGS ) -B -f java package -DskipTests -Drevision=$(MVN_VERSION ) $(MAVEN_OPTIONS )
364364
365365# ---------------------------------------------------------------------------
@@ -466,7 +466,7 @@ $(BUILD_OUTPUT)/certs:
466466# Generate bundle manifests and metadata, then validate generated files.
467467# ----------------------------------------------------------------------------------------------------------------------
468468.PHONY : bundle
469- bundle : $(BUILD_PROPS ) ensure-sdk $(GOBIN ) /kustomize $(BUILD_TARGETS ) /manifests
469+ bundle : $(BUILD_PROPS ) ensure-sdk $(GOBIN ) /kustomize $(BUILD_TARGETS ) /manifests # # Generate OLM bundle manifests and metadata, then validate generated files.
470470 $(OPERATOR_SDK ) generate kustomize manifests -q
471471 cd config/manager && $(GOBIN ) /kustomize edit set image controller=$(OPERATOR_IMAGE )
472472 kustomize build config/manifests | $(OPERATOR_SDK ) generate bundle -q --overwrite --version $(VERSION ) $(BUNDLE_METADATA_OPTS )
@@ -476,11 +476,11 @@ bundle: $(BUILD_PROPS) ensure-sdk $(GOBIN)/kustomize $(BUILD_TARGETS)/manifests
476476# Build the bundle image.
477477# ----------------------------------------------------------------------------------------------------------------------
478478.PHONY : bundle-build
479- bundle-build :
479+ bundle-build : # # Build the OLM image
480480 docker build --no-cache -f bundle.Dockerfile -t $(BUNDLE_IMG ) .
481481
482482.PHONY : bundle-push
483- bundle-push : # # Push the bundle image.
483+ bundle-push : # # Push the OLM bundle image.
484484 $(MAKE ) docker-push IMG=$(BUNDLE_IMG )
485485
486486
@@ -517,12 +517,12 @@ endif
517517# This recipe invokes 'opm' in 'semver' bundle add mode. For more information on add modes, see:
518518# https://github.com/operator-framework/community-operators/blob/7f1438c/docs/packaging-operator.md#updating-your-existing-operator
519519.PHONY : catalog-build
520- catalog-build : opm # # Build a catalog image.
520+ catalog-build : opm # # Build an OLM catalog image.
521521 $(OPM ) index add --container-tool docker --mode semver --tag $(CATALOG_IMG ) --bundles $(BUNDLE_IMGS ) $(FROM_INDEX_OPT )
522522
523523# Push the catalog image.
524524.PHONY : catalog-push
525- catalog-push : # # Push a catalog image.
525+ catalog-push : # # Push an OLM catalog image.
526526 $(MAKE ) docker-push IMG=$(CATALOG_IMG )
527527
528528
0 commit comments