Skip to content

Commit

Permalink
Deprecate Cassandra 3.11 support
Browse files Browse the repository at this point in the history
  • Loading branch information
emerkle826 committed Oct 28, 2024
1 parent d1b1dae commit d4674d2
Show file tree
Hide file tree
Showing 23 changed files with 165 additions and 167 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ jobs:
fail-fast: false
max-parallel: 16
matrix:
cassandra-version: ['3.11', '4.0', '4.1', '5.0']
cassandra-version: ['4.0', '4.1', '5.0']
base-platform: ['ubuntu', 'ubi8']
itTest : ['LifecycleIT', 'KeepAliveIT', 'NonDestructiveOpsIT', 'DestructiveOpsIT', 'NonDestructiveOpsResourcesV2IT', 'DockerImageIT', 'AsyncRepairIT', 'PortOverrideIT', 'MetricsIT', 'NodetoolIT']
exclude:
Expand Down Expand Up @@ -472,7 +472,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
cassandra-version: ['3.11', '4.0', '4.1', '5.0']
cassandra-version: ['4.0', '4.1', '5.0']
base-platform: ['ubuntu', 'ubi8']
exclude:
- cassandra-version: '5.0'
Expand Down
151 changes: 76 additions & 75 deletions .github/workflows/docker-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -177,81 +177,82 @@ jobs:
--target dse \
--platform linux/amd64 .
build-oss-3-11x:
strategy:
fail-fast: false
max-parallel: 4
matrix:
cassandra-version: [3.11.7, 3.11.8, 3.11.11, 3.11.12, 3.11.13, 3.11.14, 3.11.15, 3.11.16, 3.11.17]
include:
- cassandra-version: 3.11.16
latest: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Setup Buildx
id: buildx
uses: docker/setup-buildx-action@v3
with:
version: latest
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
- if: ${{ matrix.latest }}
name: Publish ${{ matrix.cassandra-version }} to Registry
run: |
RELEASE_VERSION="${GITHUB_REF##*/}"
docker buildx build --push \
--build-arg CASSANDRA_VERSION=${{ matrix.cassandra-version }} \
--tag k8ssandra/cass-management-api:3.11 \
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }} \
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-$RELEASE_VERSION \
--file cassandra/Dockerfile-3.11 \
--target cassandra \
--platform linux/amd64,linux/arm64 .
- if: ${{ !matrix.latest }}
name: Publish ${{ matrix.cassandra-version }} to Registry
run: |
RELEASE_VERSION="${GITHUB_REF##*/}"
docker buildx build --push \
--build-arg CASSANDRA_VERSION=${{ matrix.cassandra-version }} \
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }} \
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-$RELEASE_VERSION \
--file cassandra/Dockerfile-3.11 \
--target cassandra \
--platform linux/amd64,linux/arm64 .
- if: ${{ matrix.latest }}
name: Publish ${{ matrix.cassandra-version }}-ubi to Registry
run: |
RELEASE_VERSION="${GITHUB_REF##*/}"
docker buildx build --push \
--build-arg CASSANDRA_VERSION=${{ matrix.cassandra-version }} \
--tag k8ssandra/cass-management-api:3.11-ubi8 \
--tag k8ssandra/cass-management-api:3.11-ubi \
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi8 \
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi \
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi8-$RELEASE_VERSION \
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi-$RELEASE_VERSION \
--file cassandra/Dockerfile-3.11.ubi8 \
--target cassandra \
--platform linux/amd64,linux/arm64 .
- if: ${{ !matrix.latest }}
name: Publish ${{ matrix.cassandra-version }}-ubi8 to Registry
run: |
RELEASE_VERSION="${GITHUB_REF##*/}"
docker buildx build --push \
--build-arg CASSANDRA_VERSION=${{ matrix.cassandra-version }} \
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi8 \
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi \
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi8-$RELEASE_VERSION \
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi-$RELEASE_VERSION \
--file cassandra/Dockerfile-3.11.ubi8 \
--target cassandra \
--platform linux/amd64,linux/arm64 .
# Cassandra 3.11 support is now deprecated
# build-oss-3-11x:
# strategy:
# fail-fast: false
# max-parallel: 4
# matrix:
# cassandra-version: [3.11.7, 3.11.8, 3.11.11, 3.11.12, 3.11.13, 3.11.14, 3.11.15, 3.11.16, 3.11.17]
# include:
# - cassandra-version: 3.11.16
# latest: true
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v3
# - name: Setup Buildx
# id: buildx
# uses: docker/setup-buildx-action@v3
# with:
# version: latest
# - name: Login to DockerHub
# uses: docker/login-action@v3
# with:
# username: ${{ secrets.DOCKER_HUB_USERNAME }}
# password: ${{ secrets.DOCKER_HUB_PASSWORD }}
# - if: ${{ matrix.latest }}
# name: Publish ${{ matrix.cassandra-version }} to Registry
# run: |
# RELEASE_VERSION="${GITHUB_REF##*/}"
# docker buildx build --push \
# --build-arg CASSANDRA_VERSION=${{ matrix.cassandra-version }} \
# --tag k8ssandra/cass-management-api:3.11 \
# --tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }} \
# --tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-$RELEASE_VERSION \
# --file cassandra/Dockerfile-3.11 \
# --target cassandra \
# --platform linux/amd64,linux/arm64 .
# - if: ${{ !matrix.latest }}
# name: Publish ${{ matrix.cassandra-version }} to Registry
# run: |
# RELEASE_VERSION="${GITHUB_REF##*/}"
# docker buildx build --push \
# --build-arg CASSANDRA_VERSION=${{ matrix.cassandra-version }} \
# --tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }} \
# --tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-$RELEASE_VERSION \
# --file cassandra/Dockerfile-3.11 \
# --target cassandra \
# --platform linux/amd64,linux/arm64 .
# - if: ${{ matrix.latest }}
# name: Publish ${{ matrix.cassandra-version }}-ubi to Registry
# run: |
# RELEASE_VERSION="${GITHUB_REF##*/}"
# docker buildx build --push \
# --build-arg CASSANDRA_VERSION=${{ matrix.cassandra-version }} \
# --tag k8ssandra/cass-management-api:3.11-ubi8 \
# --tag k8ssandra/cass-management-api:3.11-ubi \
# --tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi8 \
# --tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi \
# --tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi8-$RELEASE_VERSION \
# --tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi-$RELEASE_VERSION \
# --file cassandra/Dockerfile-3.11.ubi8 \
# --target cassandra \
# --platform linux/amd64,linux/arm64 .
# - if: ${{ !matrix.latest }}
# name: Publish ${{ matrix.cassandra-version }}-ubi8 to Registry
# run: |
# RELEASE_VERSION="${GITHUB_REF##*/}"
# docker buildx build --push \
# --build-arg CASSANDRA_VERSION=${{ matrix.cassandra-version }} \
# --tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi8 \
# --tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi \
# --tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi8-$RELEASE_VERSION \
# --tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi-$RELEASE_VERSION \
# --file cassandra/Dockerfile-3.11.ubi8 \
# --target cassandra \
# --platform linux/amd64,linux/arm64 .

build-oss-4-0x:
strategy:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/jar-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ jobs:
zip jars.zip \
management-api-agent-shaded-libs/target/datastax-mgmtapi-agent-shaded-libs*.jar \
management-api-agent-common/target/datastax-mgmtapi-agent-*.jar \
management-api-agent-3.x/target/datastax-mgmtapi-agent-*.jar \
management-api-agent-4.x/target/datastax-mgmtapi-agent-*.jar \
management-api-agent-4.1.x/target/datastax-mgmtapi-agent-*.jar \
management-api-agent-5.0.x/target/datastax-mgmtapi-agent-*.jar \
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Changelog for Management API, new PRs should update the `main / unreleased` sect

## unreleased
* [CHANGE] [#556](https://github.com/k8ssandra/management-api-for-apache-cassandra/issues/556) Update Management API dependencies to address CVEs
* [CHANGE] [#547](https://github.com/k8ssandra/management-api-for-apache-cassandra/issues/547) Deprecate Cassandra 3.11 support
* [FEATURE] [#551](https://github.com/k8ssandra/management-api-for-apache-cassandra/issues/551) Add Cassandra 5.0.2 to the build matrix
* [FEATURE] [#549](https://github.com/k8ssandra/management-api-for-apache-cassandra/issues/549) Add DSE 6.9.3 to the build matrix
* [ENHANCEMENT] [#552](https://github.com/k8ssandra/management-api-for-apache-cassandra/issues/552) Improve "liveness" probe implementation
Expand Down
Loading

0 comments on commit d4674d2

Please sign in to comment.