Skip to content

Commit ceaf9a5

Browse files
committed
Prepare release v3.1.1
1 parent 8308bd6 commit ceaf9a5

File tree

5 files changed

+38
-10
lines changed

5 files changed

+38
-10
lines changed

Makefile

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
# The version of the Operator being build - this should be a valid SemVer format
1111
VERSION ?= 3.1.1
1212

13+
# The version number to be replaced by this release
14+
PREV_VERSION ?= 3.1.0
15+
1316
# The operator version to use to run certification tests against
1417
CERTIFICATION_VERSION ?= $(VERSION)
1518

@@ -194,7 +197,7 @@ CRD_V1 ?= $(shell kubectl api-versions | grep '^apiextensions.k8s.io/v
194197
TEST_SSL_SECRET := coherence-ssl-secret
195198

196199
.PHONY: all
197-
all: build-all-images
200+
all: build-all-images helm-chart
198201

199202
# ----------------------------------------------------------------------------------------------------------------------
200203
# Configure the build properties
@@ -1320,6 +1323,31 @@ serve-docs:
13201323
cd $(BUILD_OUTPUT)/docs; \
13211324
python -m SimpleHTTPServer 8080
13221325

1326+
1327+
# ----------------------------------------------------------------------------------------------------------------------
1328+
# Pre-Release Tasks
1329+
# Update the version numbers in the documentation to be the version about to be released
1330+
# ----------------------------------------------------------------------------------------------------------------------
1331+
.PHONY: pre-release
1332+
pre-release:
1333+
sed -i '' 's/$(subst .,\.,$(PREV_VERSION))/$(VERSION)/g' README.md
1334+
find docs \( -name '*.adoc' -o -name '*.md' \) -exec sed -i '' 's/$(subst .,\.,$(PREV_VERSION))/$(VERSION)/g' {} +
1335+
find examples \( -name '*.adoc' -o -name '*.md' -o -name '*.yaml' \) -exec sed -i '' 's/$(subst .,\.,$(PREV_VERSION))/$(VERSION)/g' {} +
1336+
1337+
# ----------------------------------------------------------------------------------------------------------------------
1338+
# Post-Release Tasks
1339+
# Update the version numbers
1340+
# ----------------------------------------------------------------------------------------------------------------------
1341+
.PHONY: post-release
1342+
post-release: new-version manifests generate build-all-images
1343+
1344+
.PHONY: new-version
1345+
new-version:
1346+
sed -i '' 's/$(subst .,\.,$(PREV_VERSION))/$(VERSION)/g' config/operator/config.json
1347+
find config \( -name '*.yaml' \) -exec sed -i '' 's/<version>$(subst .,\.,$(PREV_VERSION))</version>/<version>$(VERSION)</version>/g' {} +
1348+
find java \( -name '*.pom' \) -exec sed -i '' 's/<version>$(subst .,\.,$(PREV_VERSION))</version>/<version>$(VERSION)</version>/g' {} +
1349+
1350+
13231351
# ----------------------------------------------------------------------------------------------------------------------
13241352
# Release the Coherence Operator dashboards
13251353
# ----------------------------------------------------------------------------------------------------------------------

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ to the kubernetes zone label on the associated pod.
4040
Kibana (EFK) stack), and Prometheus to monitor the performance, logs, and health of your clusters.
4141

4242
-------
43-
Documentation for the Coherence Operator is available [here](https://oracle.github.io/coherence-operator/docs/3.1.0)
43+
Documentation for the Coherence Operator is available [here](https://oracle.github.io/coherence-operator/docs/3.1.1)
4444

4545
The fastest way to experience the operator is to follow the
46-
[Quick Start guide](https://oracle.github.io/coherence-operator/docs/3.1.0/#/about/03_quickstart).
46+
[Quick Start guide](https://oracle.github.io/coherence-operator/docs/3.1.1/#/about/03_quickstart).
4747
-------
4848

4949
# Need more help? Have a suggestion? Come and say "Hello!"

docs/installation/01_installation.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,13 +187,13 @@ helm install \
187187
188188
If you want to use yaml directly to install the operator, with something like `kubectl`, you can use the manifest files
189189
published with the GitHub release at this link:
190-
https://github.com/oracle/coherence-operator/releases/download/v3.1.0/coherence-operator-manifests-3.1.0.tar.gz[3.1.0 Manifests]
190+
https://github.com/oracle/coherence-operator/releases/download/v3.1.1/coherence-operator-manifests-3.1.1.tar.gz[3.1.1 Manifests]
191191
192192
These manifest files are for use with a tool called Kustomize, which is built into `kubectl`
193193
see the documentation here: https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/
194194
195195
Download the
196-
https://github.com/oracle/coherence-operator/releases/download/v3.1.0/coherence-operator-manifests-3.1.0.tar.gz[3.1.0 Manifests]
196+
https://github.com/oracle/coherence-operator/releases/download/v3.1.1/coherence-operator-manifests-3.1.1.tar.gz[3.1.1 Manifests]
197197
from the release page and unpack the file, which should produce a directory called `manifests` with a structure like this:
198198
199199
[source]
@@ -233,14 +233,14 @@ Change the name of the Operator image by running the command below, changing the
233233
that you are using for the Operator
234234
[source,bash]
235235
----
236-
cd ./manager && kustomize edit set image controller=container-registry.oracle.com/middleware/coherence-operator:3.1.0
236+
cd ./manager && kustomize edit set image controller=container-registry.oracle.com/middleware/coherence-operator:3.1.1
237237
----
238238
239239
Change the name of the Operator utilities image by running the command below, changing the image name to the registry and image name
240240
that you are using for the Operator utilities image
241241
[source,bash]
242242
----
243-
cd ./manager && kustomize edit add configmap env-vars --from-literal UTILS_IMAGE=container-registry.oracle.com/middleware/coherence-operator:3.1.0-utils
243+
cd ./manager && kustomize edit add configmap env-vars --from-literal UTILS_IMAGE=container-registry.oracle.com/middleware/coherence-operator:3.1.1-utils
244244
----
245245
246246
Change the name of the default Coherence image. If you are always going to be deploying your own application images then this

docs/jvm/030_jvm_args.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,4 @@ The Coherence Operator will add the following JVM arguments by default:
9090
-XX:+PrintNMTStatistics
9191
----
9292
93-
Some of the arguments and system properties above can be overridden or changed by setting values in the `Coherence` CDR spec.
93+
Some of the arguments and system properties above can be overridden or changed by setting values in the `Coherence` CDR spec.

examples/deployment/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ You can use `kubectl create` for any of the examples to install that one directl
3838

3939
## Coherence Operator Quick Start
4040

41-
Ensure you have followed all the [Quick Start Guide](https://oracle.github.io/coherence-operator/docs/3.1.0/#/about/03_quickstart) including the
41+
Ensure you have followed all the [Quick Start Guide](https://oracle.github.io/coherence-operator/docs/3.1.1/#/about/03_quickstart) including the
4242
prerequisites and have been able to successfully install the Coherence Operator and a Coherence Cluster.
4343

4444
## Software Versions
@@ -683,7 +683,7 @@ install any of the examples above.
683683
684684
kubectl -n coherence-example label configmap demo-grafana-datasource grafana_datasource=1
685685
686-
kubectl -n coherence-example create -f https://oracle.github.io/coherence-operator/dashboards/3.1.0/coherence-grafana-dashboards.yaml
686+
kubectl -n coherence-example create -f https://oracle.github.io/coherence-operator/dashboards/3.1.1/coherence-grafana-dashboards.yaml
687687
688688
kubectl -n coherence-example label configmap coherence-grafana-dashboards grafana_dashboard=1
689689
```

0 commit comments

Comments
 (0)