Skip to content

Commit

Permalink
Use new Coherence versions
Browse files Browse the repository at this point in the history
  • Loading branch information
thegridman committed Jan 17, 2024
1 parent ffb7ef9 commit 39e925d
Show file tree
Hide file tree
Showing 21 changed files with 42 additions and 42 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/coherence-matrix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ jobs:
baseImage: "gcr.io/distroless/java17-debian12"

- matrixName: "22.06"
coherenceVersion: "22.06.6"
coherenceImage: "ghcr.io/oracle/coherence-ce:22.06.6"
coherenceVersion: "22.06.7"
coherenceImage: "ghcr.io/oracle/coherence-ce:22.06.7"
javaVersion: 11
baseImage: "gcr.io/distroless/java11-debian11"

Expand All @@ -88,9 +88,9 @@ jobs:
baseImage: "gcr.io/distroless/java11-debian11"

- matrixName: "14.1.1-0"
coherenceVersion: "14.1.1-0-15"
coherenceVersion: "14.1.1-0-16"
javaVersion: 8
coherenceImage: "ghcr.io/oracle/coherence-ce:14.1.1-0-15"
coherenceImage: "ghcr.io/oracle/coherence-ce:14.1.1-0-16"
baseImage: "gcr.io/distroless/java11-debian11"

- matrixName: "14.1.1.0.0"
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/compatibility-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,35 +47,35 @@ jobs:
- 3.2.6
include:
- compatibilityVersion: 3.3.2
coherence-image: "ghcr.io/oracle/coherence-ce:22.06.6"
coherence-image: "ghcr.io/oracle/coherence-ce:22.06.7"
compatibilitySelector: control-plane=coherence
k8s: kindest/node:v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72
- compatibilityVersion: 3.3.1
coherence-image: "ghcr.io/oracle/coherence-ce:22.06.6"
coherence-image: "ghcr.io/oracle/coherence-ce:22.06.7"
compatibilitySelector: control-plane=coherence
k8s: kindest/node:v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72
- compatibilityVersion: 3.3.0
coherence-image: "ghcr.io/oracle/coherence-ce:22.06.6"
coherence-image: "ghcr.io/oracle/coherence-ce:22.06.7"
compatibilitySelector: control-plane=coherence
k8s: kindest/node:v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72
- compatibilityVersion: 3.2.11
coherence-image: "ghcr.io/oracle/coherence-ce:22.06.6"
coherence-image: "ghcr.io/oracle/coherence-ce:22.06.7"
compatibilitySelector: control-plane=coherence
k8s: kindest/node:v1.26.6@sha256:6e2d8b28a5b601defe327b98bd1c2d1930b49e5d8c512e1895099e4504007adb
- compatibilityVersion: 3.2.10
coherence-image: "ghcr.io/oracle/coherence-ce:22.06.6"
coherence-image: "ghcr.io/oracle/coherence-ce:22.06.7"
compatibilitySelector: control-plane=coherence
k8s: kindest/node:v1.26.6@sha256:6e2d8b28a5b601defe327b98bd1c2d1930b49e5d8c512e1895099e4504007adb
- compatibilityVersion: 3.2.9
coherence-image: "ghcr.io/oracle/coherence-ce:22.06.6"
coherence-image: "ghcr.io/oracle/coherence-ce:22.06.7"
compatibilitySelector: control-plane=coherence
k8s: kindest/node:v1.24.12@sha256:1e12918b8bc3d4253bc08f640a231bb0d3b2c5a9b28aa3f2ca1aee93e1e8db16
- compatibilityVersion: 3.2.7
coherence-image: "ghcr.io/oracle/coherence-ce:22.06.6"
coherence-image: "ghcr.io/oracle/coherence-ce:22.06.7"
compatibilitySelector: control-plane=coherence
k8s: kindest/node:v1.24.12@sha256:1e12918b8bc3d4253bc08f640a231bb0d3b2c5a9b28aa3f2ca1aee93e1e8db16
- compatibilityVersion: 3.2.6
coherence-image: "ghcr.io/oracle/coherence-ce:22.06.6"
coherence-image: "ghcr.io/oracle/coherence-ce:22.06.7"
compatibilitySelector: control-plane=coherence
k8s: kindest/node:v1.24.12@sha256:1e12918b8bc3d4253bc08f640a231bb0d3b2c5a9b28aa3f2ca1aee93e1e8db16

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ KUBERNETES_DOC_VERSION=v1.28
# ----------------------------------------------------------------------------------------------------------------------
# The Coherence version to build against - must be a Java 8 compatible version
COHERENCE_VERSION ?= 21.12.5
COHERENCE_VERSION_LTS ?= 22.06.6
COHERENCE_VERSION_LTS ?= 22.06.7
# The default Coherence image the Operator will run if no image is specified
COHERENCE_IMAGE_REGISTRY ?= ghcr.io/oracle
COHERENCE_IMAGE_NAME ?= coherence-ce
Expand Down
4 changes: 2 additions & 2 deletions examples/015_simple_image/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ In the `build.gradle` file we add the bom as a platform dependency.
.build.gradle
----
dependencies {
implementation platform("com.oracle.coherence.ce:coherence-bom:22.06.6")
implementation platform("com.oracle.coherence.ce:coherence-bom:22.06.7")
----
We can then add the `coherence` and `coherence-json` modules as dependencies
Expand All @@ -77,7 +77,7 @@ In the `build.gradle` file we add the bom as a platform dependency.
.build.gradle
----
dependencies {
implementation platform("com.oracle.coherence.ce:coherence-bom:22.06.6")
implementation platform("com.oracle.coherence.ce:coherence-bom:22.06.7")
implementation "com.oracle.coherence.ce:coherence"
implementation "com.oracle.coherence.ce:coherence-json"
Expand Down
2 changes: 1 addition & 1 deletion examples/015_simple_image/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repositories {
}

dependencies {
implementation platform("com.oracle.coherence.ce:coherence-bom:22.06.6")
implementation platform("com.oracle.coherence.ce:coherence-bom:22.06.7")

implementation "com.oracle.coherence.ce:coherence"
implementation "com.oracle.coherence.ce:coherence-json"
Expand Down
2 changes: 1 addition & 1 deletion examples/015_simple_image/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>

<coherence.version>22.06.6</coherence.version>
<coherence.version>22.06.7</coherence.version>

<version.plugin.jib>3.4.0</version.plugin.jib>
</properties>
Expand Down
4 changes: 2 additions & 2 deletions examples/016_simple_docker_image/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ The `image-assembly.xml` descriptor file is shown below, and configures the foll
* There are two `<fileSets>` configured:
** The first copies any class files in `target/classes` to `app/classes` (which will actually be `target/docker/app/classes`)
** The second copies all files under `src/docker` (i.e. the `Dockerfile`) into `target/docker`
* The `<dependencySets>` configuration copies all the project dependencies (including transitive dependencies) to the `app/libs` directory (actually the `target/docker/app/libs` directory). Any version information will be stripped from the files, so `coherence-22.06.6.jar` would become `coherence.jar`.
* The `<dependencySets>` configuration copies all the project dependencies (including transitive dependencies) to the `app/libs` directory (actually the `target/docker/app/libs` directory). Any version information will be stripped from the files, so `coherence-22.06.7.jar` would become `coherence.jar`.
[source,xml]
.src/assembly/image-assembly.xml
Expand Down Expand Up @@ -274,7 +274,7 @@ In the `build.gradle` file we add the bom as a platform dependency and then add
.build.gradle
----
dependencies {
implementation platform("com.oracle.coherence.ce:coherence-bom:22.06.6")
implementation platform("com.oracle.coherence.ce:coherence-bom:22.06.7")
implementation "com.oracle.coherence.ce:coherence"
implementation "com.oracle.coherence.ce:coherence-json"
Expand Down
2 changes: 1 addition & 1 deletion examples/016_simple_docker_image/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repositories {
}

dependencies {
implementation platform("com.oracle.coherence.ce:coherence-bom:22.06.6")
implementation platform("com.oracle.coherence.ce:coherence-bom:22.06.7")

implementation "com.oracle.coherence.ce:coherence"
implementation "com.oracle.coherence.ce:coherence-json"
Expand Down
2 changes: 1 addition & 1 deletion examples/016_simple_docker_image/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>

<coherence.version>22.06.6</coherence.version>
<coherence.version>22.06.7</coherence.version>

<version.plugin.jib>3.3.2</version.plugin.jib>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion examples/021_deployment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<properties>
<coherence.group.id>com.oracle.coherence.ce</coherence.group.id>
<coherence.version>22.06.6</coherence.version>
<coherence.version>22.06.7</coherence.version>

<helidon.version>1.3.1</helidon.version>

Expand Down
2 changes: 1 addition & 1 deletion examples/025_extend_client/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repositories {
}

dependencies {
implementation platform("com.oracle.coherence.ce:coherence-bom:22.06.6")
implementation platform("com.oracle.coherence.ce:coherence-bom:22.06.7")

implementation "com.oracle.coherence.ce:coherence"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/025_extend_client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>

<coherence.version>22.06.6</coherence.version>
<coherence.version>22.06.7</coherence.version>

<version.plugin.jib>3.4.0</version.plugin.jib>
<version.plugin.exec>3.0.0</version.plugin.exec>
Expand Down
2 changes: 1 addition & 1 deletion examples/090_tls/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<maven.compiler.target>11</maven.compiler.target>

<coherence.group.id>com.oracle.coherence.ce</coherence.group.id>
<coherence.version>22.06.6</coherence.version>
<coherence.version>22.06.7</coherence.version>

<jib.version>3.4.0</jib.version>

Expand Down
2 changes: 1 addition & 1 deletion examples/200_autoscaler/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<maven.compiler.target>11</maven.compiler.target>

<coherence.group.id>com.oracle.coherence.ce</coherence.group.id>
<coherence.version>22.06.6</coherence.version>
<coherence.version>22.06.7</coherence.version>

<jib.version>3.4.0</jib.version>

Expand Down
4 changes: 2 additions & 2 deletions examples/400_Istio/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ metadata:
name: storage
spec:
replicas: 3
image: ghcr.io/oracle/coherence-ce:22.06.6
image: ghcr.io/oracle/coherence-ce:22.06.7
labels:
app: storage # <1>
version: 1.0.0 # <2>
Expand Down Expand Up @@ -274,7 +274,7 @@ kind: CoherenceJob
metadata:
name: client
spec:
image: ghcr.io/oracle/coherence-ce:22.06.6 # <1>
image: ghcr.io/oracle/coherence-ce:22.06.7 # <1>
restartPolicy: Never
cluster: storage # <2>
coherence:
Expand Down
4 changes: 2 additions & 2 deletions examples/no-operator/04_istio/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM ghcr.io/oracle/coherence-operator:3.3.3 AS Builder

FROM ghcr.io/oracle/coherence-ce:22.06.6
FROM ghcr.io/oracle/coherence-ce:22.06.7
COPY --from=Builder /files /files
COPY --from=Builder /files/lib/coherence-operator.jar /app/libs/coherence-operator.jar
COPY coherence-java-client-22.06.6.jar /app/libs/coherence-java-client-22.06.6.jar
COPY coherence-java-client-22.06.7.jar /app/libs/coherence-java-client-22.06.7.jar

ENTRYPOINT ["files/runner"]
CMD ["-h"]
14 changes: 7 additions & 7 deletions examples/no-operator/04_istio/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ spec:
spec:
containers:
- name: coherence
image: ghcr.io/oracle/coherence-ce:22.06.6 # <2>
image: ghcr.io/oracle/coherence-ce:22.06.7 # <2>
env:
- name: COHERENCE_CLUSTER # <3>
value: "test-cluster"
Expand Down Expand Up @@ -408,7 +408,7 @@ The port could be changed by setting the `COHERENCE_EXTEND_PORT` environment var
spec:
containers:
- name: coherence
image: ghcr.io/oracle/coherence-ce:22.06.6
image: ghcr.io/oracle/coherence-ce:22.06.7
env:
- name: COHERENCE_EXTEND_PORT
value: "20001"
Expand All @@ -434,7 +434,7 @@ This port can be changed by using the `COHERENCE_GRPC_SERVER_PORT` environment v
spec:
containers:
- name: coherence
image: ghcr.io/oracle/coherence-ce:22.06.6
image: ghcr.io/oracle/coherence-ce:22.06.7
env:
- name: COHERENCE_GRPC_SERVER_PORT
value: "1408"
Expand Down Expand Up @@ -476,10 +476,10 @@ Various utilities are copied from the Operator image into the base.
----
FROM ghcr.io/oracle/coherence-operator:3.3.3 AS Builder
FROM ghcr.io/oracle/coherence-ce:22.06.6
FROM ghcr.io/oracle/coherence-ce:22.06.7
COPY --from=Builder /files /files
COPY --from=Builder /files/lib/coherence-operator.jar /app/libs/coherence-operator.jar
COPY coherence-java-client-22.06.6.jar /app/libs/coherence-java-client-22.06.6.jar
COPY coherence-java-client-22.06.7.jar /app/libs/coherence-java-client-22.06.7.jar
ENTRYPOINT ["files/runner"]
CMD ["-h"]
Expand All @@ -490,8 +490,8 @@ Coherence gRPC client jar. We can download this with `curl` to the same director
[source,bash]
----
curl -s https://repo1.maven.org/maven2/com/oracle/coherence/ce/coherence-java-client/22.06.6/coherence-java-client-22.06.6.jar \
-o coherence-java-client-22.06.6.jar
curl -s https://repo1.maven.org/maven2/com/oracle/coherence/ce/coherence-java-client/22.06.7/coherence-java-client-22.06.7.jar \
-o coherence-java-client-22.06.7.jar
----
Build the image with the following command:
Expand Down
2 changes: 1 addition & 1 deletion examples/no-operator/04_istio/storage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
spec:
containers:
- name: coherence
image: ghcr.io/oracle/coherence-ce:22.06.6 # <2>
image: ghcr.io/oracle/coherence-ce:22.06.7 # <2>
env:
- name: COHERENCE_CLUSTER # <3>
value: "test-cluster"
Expand Down
2 changes: 1 addition & 1 deletion examples/no-operator/test-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<maven.compiler.target>11</maven.compiler.target>

<!-- The Coherence jar version (compile time dependency) -->
<coherence.version>22.06.6</coherence.version>
<coherence.version>22.06.7</coherence.version>

<coherence.extend.socket.provider/>
<working.dir>${project.basedir}</working.dir>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ public void shouldWorkWithInterimBuild() throws Exception {
@Test
public void shouldWorkWithCE() throws Exception {
assertThat(CoherenceVersion.versionCheck("14.1.1.0.15", "22.06.1"), is(false));
assertThat(CoherenceVersion.versionCheck("14.1.1.2206.5", "22.06.6"), is(false));
assertThat(CoherenceVersion.versionCheck("14.1.1.2206.5", "22.06.7"), is(false));
assertThat(CoherenceVersion.versionCheck("14.1.1.2206.7", "22.06.7"), is(true));
assertThat(CoherenceVersion.versionCheck("22.06.5", "22.06.6"), is(false));
assertThat(CoherenceVersion.versionCheck("22.06.5", "22.06.7"), is(false));
assertThat(CoherenceVersion.versionCheck("22.06.7", "22.06.7"), is(true));
}

Expand Down
2 changes: 1 addition & 1 deletion java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

<!-- The Coherence jar version (compile time dependency) -->
<coherence.version>21.12.4</coherence.version>
<coherence.version.2206>22.06.6</coherence.version.2206>
<coherence.version.2206>22.06.7</coherence.version.2206>
<!-- The version of Coherence to use in the test images -->
<coherence.test.groupId>com.oracle.coherence.ce</coherence.test.groupId>
<coherence.test.version>${coherence.version}</coherence.test.version>
Expand Down

0 comments on commit 39e925d

Please sign in to comment.