Commit Graph

602 Commits

Author SHA1 Message Date
Stefan Miklosovic e76b63d081
Merge branch 'cassandra-5.0' into trunk 2023-09-19 20:38:29 +02:00
Stefan Miklosovic 07768674ac
Merge branch 'cassandra-4.1' into cassandra-5.0 2023-09-19 20:34:03 +02:00
Stefan Miklosovic 1acab45e4f
Merge branch 'cassandra-4.0' into cassandra-4.1 2023-09-19 20:29:27 +02:00
Jackson Fleming 31aede3275
Enable 3rd party JDK installations for Debian package
java11-runtime and java8-runtime for Cassandra 4.x branches and
java17-runtime with java11-runtime for Cassandra 5.x branches enable
users to use arbitrary JDK installation if it provides such runtime by
installing it from 3rd-party repositories.

By specifying only OpenJDK-based packages in Depends in debian/control file,
it was not possible to use other JDKs but that one.

patch by Jackson Fleming; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-18844
2023-09-19 20:26:22 +02:00
Stefan Miklosovic df94834b19
Merge branch 'cassandra-5.0' into trunk 2023-09-05 15:48:35 +02:00
Stefan Miklosovic a503ae4013
Merge branch 'cassandra-4.1' into cassandra-5.0 2023-09-05 15:45:40 +02:00
Stefan Miklosovic c6f74d231f
Merge branch 'cassandra-4.0' into cassandra-4.1 2023-09-05 15:42:52 +02:00
Stefan Miklosovic 8e34d1306b
Merge branch 'cassandra-3.11' into cassandra-4.0 2023-09-05 15:40:01 +02:00
Stefan Miklosovic 50dae280d8
Merge branch 'cassandra-3.0' into cassandra-3.11 2023-09-05 15:37:48 +02:00
Stefan Miklosovic 6c7ed52bb2
Add cqlshrc.sample and credentials.sample into Debian package
The underlying functionality for credentials.sample was firstly introduced in Cassandra 4.1

patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-18818
2023-09-05 15:36:31 +02:00
Mick Semb Wever b4d99c1a07
Prepare debian changelog for 5.0-alpha1 2023-09-01 11:23:00 +02:00
Mick Semb Wever 1c3c5008f9
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Missing license info and headers
2023-08-31 22:44:38 +02:00
Mick Semb Wever 865954fd99
Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Missing license info and headers
2023-08-31 22:43:33 +02:00
Mick Semb Wever 20125c5053
Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Missing license info and headers
2023-08-31 22:41:56 +02:00
Mick Semb Wever aa2494b30b
Merge branch 'cassandra-3.11' into cassandra-4.0
* cassandra-3.11:
  Missing license info and headers
2023-08-31 22:39:56 +02:00
Mick Semb Wever 14e89fc3c7
Merge branch 'cassandra-3.0' into cassandra-3.11
* cassandra-3.0:
  Missing license info and headers
2023-08-31 22:36:33 +02:00
Mick Semb Wever ce49e775f7
Missing license info and headers
patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-18807
2023-08-31 22:30:42 +02:00
Stefan Miklosovic 999d263a5d
Merge branch 'cassandra-5.0' into trunk 2023-08-30 21:45:48 +02:00
Stefan Miklosovic 988a855a80
Fix Depends and Build-Depends for Java for Debian packages
patch by Stefan Miklosovic; reviewed by Brandon Williams from CASSANDRA-18809
2023-08-30 21:43:28 +02:00
Mick Semb Wever 62cb03cc73
Prepare debian changelog for 5.0-alpha1 2023-08-21 18:22:16 +02:00
Stefan Miklosovic 8ddfbb6a3c
Increase version to 3.11.17 2023-08-18 18:08:32 +02:00
Stefan Miklosovic 681b6ca103
Prepare debian changelog for 3.11.16 2023-08-15 15:25:26 +02:00
Mick Semb Wever aa9b5e9ce8
ninjafix debian changelog (CASSANDRA-18705) 2023-08-14 23:48:28 +02:00
Mick Semb Wever d3a7387836
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Update trunk to version 5.1
2023-08-14 14:26:08 +02:00
Stefan Miklosovic f86929eae0
Prepare debian changelog for 3.11.16 2023-08-09 23:43:55 +02:00
ayushis 6ab45971fc
Introduce pluggable crypto providers and default to Amazon Corretto Crypto Provider
patch by Ayushi Singh; reviewed by Stefan Miklosovic, Michael Semb Wever and Maxim Muzafarov for CASSANDRA-18624

Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
2023-07-28 12:15:33 +02:00
Stefan Miklosovic 9bc0f89308
increment version to 4.1.4 2023-07-24 13:33:24 +02:00
Stefan Miklosovic 2a4cd36475
Prepare debian changelog for 4.1.3 2023-07-18 22:04:57 +02:00
Stefan Miklosovic 2584f4f070
increment version to 4.0.12 2023-07-18 11:26:19 +02:00
Stefan Miklosovic f8584b943e
Prepare debian changelog for 4.0.11 2023-07-12 21:47:08 +02:00
Mick Semb Wever f5df4b219e
Move build and test scripts in-tree, under .build/
See .build/README.md  .Build and test scripts cover all CI activities in an CI agnostic manner. Scripts are found in non-docker and dockerised variants.

The non-docker scripts are found first under .build/ .These interact directly with ant, providing additional checks and environment setup. It is intended that what can be pushed down into the base ant build layer should be. The
debian and redhat build scripts are hidden under .build/docker because they are generally not usuable outside of their corresponding linux dists, and we don't want to encourage anything to the contrary.  Bring the artifact/deb/rpm
build scripts (and associated docker images) from cassandra-builds repo to the .build directory.  These packaging script for debian and redhat are now separated from the artifacts scripts. An additional build script check-code.sh
has been added that is solely responsible for all linter and code checks (includes owasp dependency checker).  Only JDK11 and JDK17 are supported (as JDK8 is soon to be dropped).  Scripts do not clean (or realclean) so that
scripts can be better pipelined, but `ant jar` was required to be added to circleci and ci-cassandra.a.o cqlsh-tests.  Scripts can define a custom BUILD_DIR (build.dir) which can permit running parrallel builds off the same source
(though not all tests support this, or their support for it has atrophied).  All build and test artifacts, results, and logs are found under build/ (or the BUILD_DIR).  The build local venv and .ccm directories are now also
created under build (or BUILD_DIR).  The test venv, logs and results are wiped each run.  Use a separate mktemp directory each run, under /tmp (respect /tmp responsibility, and python fails when tmpdir is on a docker volume).
Don't set CASSANDRA_HOME when running python dtests (and fail-fast if `ant artifacts` was used to build instead of `ant jar`).

The docker scripts are found lower down under .build/docker/ .These scripts re-used the non-docker scripts inside containers. The docker images are versioned controlled in the same directory as dockerfiles, and tagged by their
md5sums.  When running the docker scripts these docker images will, if not in the local registry, will first be attempted to be pulled from dockerhub and only then fallback to be built locally.  This allows the dockerfiles to be
modified in existing patches and be run in existing CI as-is.  Docker scripts timeout after one hour.  virtualenv-clone is used, re-using the python versioned venvs in the image saves time over creating new ones each run.  The inner-spliting of docker containers has been removed.  It added a lot of complexity, for the most part duplicating the splitting concept, for little performance gain.

Ant target 'generate-unified-test-report' added, used for aggregating test reports and printing a summary.

 patch by Mick Semb Wever; reviewed by Brandon Williams, Josh McKenzie, Maxim Muzafarov, Stefan Miklosovic for CASSANDRA-18133
2023-07-12 12:59:37 +02:00
Brandon Williams 91bb1c3b47 Merge branch 'cassandra-4.1' into trunk 2023-06-01 15:03:12 -05:00
Brandon Williams 60b26fdfb4 Merge branch 'cassandra-4.0' into cassandra-4.1 2023-06-01 15:02:43 -05:00
Brandon Williams eb6a45fe6d Merge branch 'cassandra-3.11' into cassandra-4.0 2023-06-01 15:02:22 -05:00
Brandon Williams 1923e6955a Merge branch 'cassandra-3.0' into cassandra-3.11 2023-06-01 15:00:33 -05:00
Brandon Williams 527c0cb3a0 remove dh_python use from Debian packaging
Patch by brandonwilliams; reviewed by mck for CASSANDRA-18558
2023-06-01 15:00:03 -05:00
Mick Semb Wever 2101ce947e
Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Increment version to 4.0.11 and 4.1.3
2023-05-29 13:48:35 +02:00
Mick Semb Wever 71b79cfbe3
Increment version to 4.0.11 and 4.1.3 2023-05-29 13:38:07 +02:00
Mick Semb Wever cbe8b39f39
Prepare debian changelog for 4.1.2 2023-05-25 17:10:54 +02:00
Mick Semb Wever da77d3f729
Prepare debian changelog for 4.0.10 2023-05-25 14:45:07 +02:00
Stefan Miklosovic 087cffce63
Prepare debian changelog for 3.0.29 2023-05-05 13:22:55 +02:00
Brandon Williams ee5b601ce7 Increment version to 3.11.16 2023-05-05 05:57:31 -05:00
Andrés de la Peña e72ec4e828 Add sstablepartitions offline tool to find large partitions in sstables
patch by Andrés de la Peña and Robert Stupp; reviewed by Brandon Williams and Stefan Miklosovic for CASSANDRA-8720

Co-authored-by: Andrés de la Peña <a.penya.garcia@gmail.com>
Co-authored-by: Robert Stupp <snazy@snazy.de>
2023-05-04 13:33:16 +01:00
Stefan Miklosovic 6cdcf5e56a
Prepare debian changelog for 3.11.15 2023-04-28 12:30:03 +02:00
Stefan Miklosovic f2427a0c86
Increment version to 4.0.10 2023-04-14 11:20:04 +02:00
Stefan Miklosovic e9f8f2efa2
Prepare debian changelog for 4.0.9 2023-04-11 09:31:56 +02:00
Stefan Miklosovic 99f62b7338
Prepare debian changelog for 4.0.9 2023-04-04 09:29:07 +02:00
Stefan Miklosovic 8d91b469af
Prepare debian changelog for 4.1.1 2023-03-15 09:09:07 +01:00
Mick Semb Wever 7ca806c60a
Change trunk from 4.2 to 5.0
– update MessagingService (remove the 4.1 version that was only a placeholder in test code bc serialisation test files were previously incorrectly serialising random UUIds for TimeUUIDs)
 – update upgrade jvm-dtests
 – remove older serialization binary files we are no longer testing against

 patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-17973
2023-03-07 11:03:38 +01:00
Stefan Miklosovic 7b079503eb
Increment version to 4.0.9 2023-02-15 10:12:15 +01:00