Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 5.0/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

181 changes: 181 additions & 0 deletions 6.0/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

94 changes: 94 additions & 0 deletions 6.0/docker-entrypoint.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 11 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,17 @@
"version": "17"
},
"debian": {
"version": "bookworm"
"version": "trixie"
}
},
"6.0": {
"version": "6.0-alpha2",
"sha512": "64577a7e48068f6602396370765898364712cf22c95632c11e216b729c3db3e1eefe5d74ba173dd18a995b9c3964af455c0ca8bdecd3975120f3521754985734",
"java": {
"version": "21"
},
"debian": {
"version": "trixie"
}
}
}
14 changes: 7 additions & 7 deletions versions.sh
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
#!/usr/bin/env bash
set -Eeuo pipefail

# https://cassandra.apache.org/doc/6.0/cassandra/installing/installing.html#prerequisites
# https://github.com/apache/cassandra/commit/940739a4889794a5f198731b152c70e86bc95976 (add jdk21 support in 6.0)
# https://cassandra.apache.org/doc/5.0/cassandra/installing/installing.html#prerequisites
# https://cassandra.apache.org/doc/4.1/cassandra/getting_started/installing.html#prerequisites
# https://github.com/apache/cassandra/blob/cassandra-5.0.6/build.xml#L48
defaultJavaVersion='17'
defaultJavaVersion='21'
declare -A javaVersions=(
[4.0]='11' # https://github.com/apache/cassandra/blob/cassandra-4.0.19/build.xml#L212-L221
[4.1]='11' # https://github.com/apache/cassandra/blob/cassandra-4.1.10/build.xml#L227-L236
[5.0]='17' # https://github.com/apache/cassandra/blob/cassandra-5.0.9/build.xml#L48
)
# 5.0.9+ supports up to python 3.13: https://issues.apache.org/jira/browse/CASSANDRA-20997
# https://github.com/apache/cassandra/blob/cassandra-5.0.9/bin/cqlsh#L66
# https://github.com/apache/cassandra/blob/cassandra-6.0-alpha2/bin/cqlsh#L66
defaultSuite='trixie'
declare -A suites=(
# https://issues.apache.org/jira/browse/CASSANDRA-19206: "cqlsh breaks with Python 3.12" ("ModuleNotFoundError: No module named 'six.moves'")
[4.0]='bookworm'
[4.1]='bookworm'
# "Warning: unsupported version of Python, required 3.6-3.11 but found 3.12"
# https://github.com/apache/cassandra/commit/8fd44ca8fc9e0b0e94932bcd855e2833bf6ca3cb#diff-8d8ae48aaf489a8a0e726d3e4a6230a26dcc76e7c739e8e3968e3f65c995d148
# https://issues.apache.org/jira/browse/CASSANDRA-19245?focusedCommentId=17803539#comment-17803539
# https://github.com/apache/cassandra/blob/cassandra-5.0.6/bin/cqlsh#L65
[5.0]='bookworm'
)

cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"
Expand Down
Loading