From 021fd81fe8c120a17feadfd543ad1995c0de81c5 Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Tue, 31 Mar 2026 17:39:33 +1100 Subject: [PATCH 1/2] chore(ci): use apache archive for cassandra download dlcdn is only for the latest versions, we were using 5.0.6 which was removed when 5.0.7 was released. In this change we use archive.apache.org which has all the versions and we increment to 5.0.7 while we're at it. --- scripts/setup-scenarios-prerequisites.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/setup-scenarios-prerequisites.sh b/scripts/setup-scenarios-prerequisites.sh index 84f2cbf..56221f6 100755 --- a/scripts/setup-scenarios-prerequisites.sh +++ b/scripts/setup-scenarios-prerequisites.sh @@ -27,11 +27,11 @@ info() { printf "${BLUE}ℹ${NC} %s\n" "$1"; } # ── Constants ──────────────────────────────────────────────── FOUNDRY_VERSION="v1.6.0-rc1" PYENV_VERSION="v2.5.3" -CASSANDRA_VERSION="5.0.6" +CASSANDRA_VERSION="5.0.7" PYTHON_VERSION="3.11.10" PYENV_ROOT="${PYENV_ROOT:-$HOME/.pyenv}" PYTHON_BIN="${PYENV_ROOT}/versions/${PYTHON_VERSION}/bin/python3" -CASSANDRA_URL="https://dlcdn.apache.org/cassandra/${CASSANDRA_VERSION}/apache-cassandra-${CASSANDRA_VERSION}-bin.tar.gz" +CASSANDRA_URL="https://archive.apache.org/dist/cassandra/${CASSANDRA_VERSION}/apache-cassandra-${CASSANDRA_VERSION}-bin.tar.gz" CASSANDRA_DIR="$HOME/.foc-devnet/artifacts/cassandra" FOUNDRY_DIR="$HOME/.foc-devnet/artifacts/foundry/bin" CASSANDRA_HOME="${CASSANDRA_DIR}/apache-cassandra-${CASSANDRA_VERSION}" From 916051da89f7120984401d7713e5bccf911247d0 Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Tue, 31 Mar 2026 22:04:06 +1100 Subject: [PATCH 2/2] fixup! chore(ci): use apache archive for cassandra download --- scenarios/test_caching_subsystem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scenarios/test_caching_subsystem.py b/scenarios/test_caching_subsystem.py index 0ba5e80..e93f5b2 100644 --- a/scenarios/test_caching_subsystem.py +++ b/scenarios/test_caching_subsystem.py @@ -29,7 +29,7 @@ ) from scenarios.synapse import clone_and_build, upload_file -CASSANDRA_VERSION = "5.0.6" +CASSANDRA_VERSION = "5.0.7" PYTHON_VERSION = "3.11.10" PYENV_ROOT = Path.home() / ".pyenv" PYTHON_DIR = PYENV_ROOT / "versions" / PYTHON_VERSION