Skip to content

Commit

Permalink
update to Cassandra 3.11.9 and 4.0-beta3
Browse files Browse the repository at this point in the history
  • Loading branch information
smiklosovic committed Nov 9, 2020
1 parent 92181a1 commit c4703d3
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Currently user facing Cassandra cluster objects are created as [Kubernetes Custo

### Cassandra version support

We are currently building images for Cassandra 3.11.8 and 4.0-beta2.
We are currently building images for Cassandra 3.11.9 and 4.0-beta3.

## Documentation

Expand Down
12 changes: 6 additions & 6 deletions buildenv/build-all
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ make
function release_dev() {
docker tag cassandra-operator:latest "${REGISTRY}/cassandra-operator:latest-dev"
docker tag instaclustr-icarus:latest "${REGISTRY}/instaclustr-icarus:latest-dev"
docker tag cassandra-3.11.8:latest "${REGISTRY}/cassandra-3.11.8:latest-dev"
docker tag cassandra-4.0-beta2:latest "${REGISTRY}/cassandra-4.0-beta2:latest-dev"
docker tag cassandra-3.11.9:latest "${REGISTRY}/cassandra-3.11.9:latest-dev"
docker tag cassandra-4.0-beta3:latest "${REGISTRY}/cassandra-4.0-beta3:latest-dev"
}

function release_prod() {
docker tag cassandra-operator:latest "${REGISTRY}/cassandra-operator:${TAG}"
docker tag cassandra-operator:latest "${REGISTRY}/cassandra-operator:latest"
docker tag instaclustr-icarus:latest "${REGISTRY}/instaclustr-icarus:${TAG}"
docker tag instaclustr-icarus:latest "${REGISTRY}/instaclustr-icarus:latest"
docker tag cassandra-3.11.8:latest "${REGISTRY}/cassandra-3.11.8:${TAG}"
docker tag cassandra-3.11.8:latest "${REGISTRY}/cassandra-3.11.8:latest"
docker tag cassandra-4.0-beta2:latest "${REGISTRY}/cassandra-4.0-beta2:${TAG}"
docker tag cassandra-4.0-beta2:latest "${REGISTRY}/cassandra-4.0-beta2:latest"
docker tag cassandra-3.11.9:latest "${REGISTRY}/cassandra-3.11.9:${TAG}"
docker tag cassandra-3.11.9:latest "${REGISTRY}/cassandra-3.11.9:latest"
docker tag cassandra-4.0-beta3:latest "${REGISTRY}/cassandra-4.0-beta3:${TAG}"
docker tag cassandra-4.0-beta3:latest "${REGISTRY}/cassandra-4.0-beta3:latest"
}

if [ "${1}" = "dev" ]; then
Expand Down
12 changes: 6 additions & 6 deletions buildenv/release-all
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ function release_prod() {
docker push "${REGISTRY}/cassandra-operator:latest"
docker push "${REGISTRY}/instaclustr-icarus:${TAG}"
docker push "${REGISTRY}/instaclustr-icarus:latest"
docker push "${REGISTRY}/cassandra-3.11.8:latest"
docker push "${REGISTRY}/cassandra-3.11.8:${TAG}"
docker push "${REGISTRY}/cassandra-4.0-beta2:latest"
docker push "${REGISTRY}/cassandra-4.0-beta2:${TAG}"
docker push "${REGISTRY}/cassandra-3.11.9:latest"
docker push "${REGISTRY}/cassandra-3.11.9:${TAG}"
docker push "${REGISTRY}/cassandra-4.0-beta3:latest"
docker push "${REGISTRY}/cassandra-4.0-beta3:${TAG}"
fi
}

Expand Down Expand Up @@ -66,8 +66,8 @@ function release_helm() {
function release_dev() {
docker push "${REGISTRY}/cassandra-operator:latest-dev"
docker push "${REGISTRY}/instaclustr-icarus:latest-dev"
docker push "${REGISTRY}/cassandra-3.11.8:latest-dev"
docker push "${REGISTRY}/cassandra-4.0-beta2:latest-dev"
docker push "${REGISTRY}/cassandra-3.11.9:latest-dev"
docker push "${REGISTRY}/cassandra-4.0-beta3:latest-dev"
}

trap defer EXIT
Expand Down
2 changes: 1 addition & 1 deletion docker/cassandra/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG openjre_image
FROM ${openjre_image}

ARG cassandra_major_version=3
ARG cassandra_version=3.11.8
ARG cassandra_version=3.11.9
ARG cassandra_exporter_version=0.9.10
ARG apache_mirror_url=https://dl.bintray.com/apache/cassandra/pool/main/c/cassandra
ARG install_cassandra_exporter=true
Expand Down
8 changes: 4 additions & 4 deletions docker/cassandra/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
CASSANDRA_3_OPENJRE_IMAGE := $(if $(OPENJRE_IMAGE),$(OPENJRE_IMAGE),"base-openjre:stretch-8u252-b09-1-deb9u1")
CASSANDRA_3_VERSION := $(if $(CASSANDRA_VERSION),$(CASSANDRA_VERSION),"3.11.8")
CASSANDRA_3_VERSION_IMAGE_TAG := $(if $(CASSANDRA_VERSION),$(subst ~,-,$(CASSANDRA_VERSION)),"3.11.8")
CASSANDRA_3_VERSION := $(if $(CASSANDRA_VERSION),$(CASSANDRA_VERSION),"3.11.9")
CASSANDRA_3_VERSION_IMAGE_TAG := $(if $(CASSANDRA_VERSION),$(subst ~,-,$(CASSANDRA_VERSION)),"3.11.9")

CASSANDRA_4_OPENJRE_IMAGE := $(if $(CASSANDRA_4_OPENJRE_IMAGE),$(CASSANDRA_4_OPENJRE_IMAGE),"base-openjre:buster-11.0.8-10-1-deb10u1")
CASSANDRA_4_VERSION=$(if $(CASSANDRA_VERSION),$(CASSANDRA_VERSION),"4.0~beta2")
CASSANDRA_4_VERSION_IMAGE_TAG := $(if $(CASSANDRA_4_VERSION),$(subst ~,-,$(CASSANDRA_4_VERSION)),"4.0~beta2")
CASSANDRA_4_VERSION=$(if $(CASSANDRA_VERSION),$(CASSANDRA_VERSION),"4.0~beta3")
CASSANDRA_4_VERSION_IMAGE_TAG := $(if $(CASSANDRA_4_VERSION),$(subst ~,-,$(CASSANDRA_4_VERSION)),"4.0~beta3")

CASSANDRA_EXPORTER_VERSION := $(if $(CASSANDRA_EXPORTER_VERSION),$(CASSANDRA_EXPORTER_VERSION),"0.9.10")
CASSANDRA_K8S_ADDONS_VERSION := $(if $(CASSANDRA_K8S_ADDONS_VERSION),$(CASSANDRA_K8S_ADDONS_VERSION),"1.0.2")
Expand Down
2 changes: 1 addition & 1 deletion examples/default-values-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: cassandra-operator-default-config
data:
nodes: "3"
cassandraImage: gcr.io/cassandra-operator/cassandra-3.11.8:latest
cassandraImage: gcr.io/cassandra-operator/cassandra-3.11.9:latest
sidecarImage: gcr.io/cassandra-operator/instaclustr-icarus:latest
memory: 1Gi
disk: 1Gi
Expand Down
2 changes: 1 addition & 1 deletion helm/cassandra/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ datacenter: dc1
cluster: test-cluster

image:
cassandraRepository: gcr.io/cassandra-operator/cassandra-3.11.8
cassandraRepository: gcr.io/cassandra-operator/cassandra-3.11.9
sidecarRepository: gcr.io/cassandra-operator/instaclustr-icarus
cassandraTag: latest
sidecarTag: latest
Expand Down
2 changes: 1 addition & 1 deletion java/cassandra-3-k8s-addons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<properties>
<cassandra.k8s.addons.version>1.0.2</cassandra.k8s.addons.version>
<cassandra.version>3.11.8</cassandra.version>
<cassandra.version>3.11.9</cassandra.version>

<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
Expand Down
2 changes: 1 addition & 1 deletion java/cassandra-4-k8s-addons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<properties>
<cassandra.k8s.addons.version>1.0.2</cassandra.k8s.addons.version>
<cassandra.version>4.0-beta2</cassandra.version>
<cassandra.version>4.0-beta3</cassandra.version>

<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
Expand Down
2 changes: 1 addition & 1 deletion test/cassandra-cluster-deployment-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ docker images
helm install \
cassandra \
$SCRIPT_DIR/../helm/cassandra \
--set image.cassandraRepository=gcr.io/cassandra-operator/cassandra-4.0-beta2 \
--set image.cassandraRepository=gcr.io/cassandra-operator/cassandra-4.0-beta3 \
--set image.cassandraTag=latest-dev \
--set image.sidecarRepository=gcr.io/cassandra-operator/instaclustr-icarus \
--set image.sidecarTag=latest-dev \
Expand Down

0 comments on commit c4703d3

Please sign in to comment.