Skip to content

CNDB-17333: Create separate db-all artifacts#2307

Merged
djatnieks merged 3 commits intomain-5.0from
CNDB-17333-publish-db-all-5.0
Apr 7, 2026
Merged

CNDB-17333: Create separate db-all artifacts#2307
djatnieks merged 3 commits intomain-5.0from
CNDB-17333-publish-db-all-5.0

Conversation

@djatnieks
Copy link
Copy Markdown
Member

Update build.xml to create separate physical artifacts for db-all Maven coordinate (com.datastax.db:db-all).

What is the issue

CNDB-17333 Support publishing both db-all and dse-db-all artifacts

What does this PR fix and why was it fixed

Along with changes to jenkins-pipeline-lib, https://github.com/riptano/jenkins-pipeline-lib/pull/254, make sure that CC db-all artifacts are created.

Update build.xml to create separate physical artifacts for db-all
Maven coordinate (com.datastax.db:db-all).
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 6, 2026

Checklist before you submit for review

  • This PR adheres to the Definition of Done
  • Make sure there is a PR in the CNDB project updating the Converged Cassandra version
  • Use NoSpamLogger for log lines that may appear frequently in the logs
  • Verify test results on Butler
  • Test coverage for new/modified code is > 80%
  • Proper code formatting
  • Proper title for each commit staring with the project-issue number, like CNDB-1234
  • Each commit has a meaningful description
  • Each commit is not very long and contains related changes
  • Renames, moves and reformatting are in distinct commits
  • All new files should contain the DataStax copyright header instead of the Apache License one

Copy link
Copy Markdown

@emerkle826 emerkle826 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks ok to me.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Apr 7, 2026

@cassci-bot
Copy link
Copy Markdown

❌ Build ds-cassandra-pr-gate/PR-2307 rejected by Butler


3 regressions found
See build details here


Found 3 new test failures

Test Explanation Runs Upstream
o.a.c.index.sai.cql.VectorCompaction100dTest.testCompactionWithEnoughRowsForPQAndDeleteARow[eb false] () NEW 🔴 0 / 30
o.a.c.index.sai.cql.VectorSiftSmallTest.testCompaction[db false] () NEW 🔴 0 / 30
o.a.c.utils.binlog.BinLogTest.testTruncationReleasesLogSpace (compression) REGRESSION 🔵🔴 0 / 30

Found 4 known test failures

@djatnieks djatnieks merged commit 8f66239 into main-5.0 Apr 7, 2026
2 of 4 checks passed
@djatnieks djatnieks deleted the CNDB-17333-publish-db-all-5.0 branch April 7, 2026 16:25
michaelsembwever pushed a commit that referenced this pull request Apr 8, 2026
CNDB-17333: Create separate physical artifacts for db-all Maven coordinate

Update build.xml to create separate physical artifacts for db-all Maven
coordinate (com.datastax.db:db-all) alongside existing dse-db-all artifacts.

### What is the issue
CNDB-17333: Support publishing both db-all and dse-db-all artifacts

### What does this PR fix and why was it fixed

Creates separate physical `db-all` artifacts alongside existing `dse-db-all` artifacts to support gradual migration to new Maven coordinates.

**Changes to build.xml:**

1. **artifacts target** - Creates separate db-all artifacts:
   - Copies `db-all` JARs and POMs from `dse-db` artifacts
   - Creates separate `db-all-{version}-bin.tar.gz` from `${dist.dir}`
   - Creates separate `db-all-{version}-src.tar.gz` from `${basedir}`
   - Generates SHA-256 and SHA-512 checksums for all db-all tarballs

2. **publish target** - Signs both artifact sets:
   - Signs `dse-db-all` tarballs (existing)
   - Signs `db-all` tarballs (new)

**Artifacts created (example for version 5.0.4.0):**
- `dse-db-all-5.0.4.0.jar` + POM + sources
- `dse-db-all-5.0.4.0-bin.tar.gz` + checksums
- `dse-db-all-5.0.4.0-src.tar.gz` + checksums
- `db-all-5.0.4.0.jar` + POM + sources (copied from dse-db)
- `db-all-5.0.4.0-bin.tar.gz` + checksums (separate physical file)
- `db-all-5.0.4.0-src.tar.gz` + checksums (separate physical file)

**Deployment:**
Works with jenkins-pipeline-lib PR #254 which deploys artifacts under both Maven coordinates:
- `com.datastax.dse:dse-db-all:{version}`
- `com.datastax.db:db-all:{version}`

**Related PR:** riptano/jenkins-pipeline-lib#254
michaelsembwever pushed a commit that referenced this pull request Apr 14, 2026
Adds a new artifact alongside the existing one.

 (Rebase of commit 045697d)

CNDB-17333: Create separate db-all artifacts (#2307)

CNDB-17333: Create separate physical artifacts for db-all Maven coordinate

Update build.xml to create separate physical artifacts for db-all Maven
coordinate (com.datastax.db:db-all) alongside existing dse-db-all artifacts.

CNDB-17333: Support publishing both db-all and dse-db-all artifacts

Creates separate physical `db-all` artifacts alongside existing `dse-db-all` artifacts to support gradual migration to new Maven coordinates.

**Changes to build.xml:**

1. **artifacts target** - Creates separate db-all artifacts:
   - Copies `db-all` JARs and POMs from `dse-db` artifacts
   - Creates separate `db-all-{version}-bin.tar.gz` from `${dist.dir}`
   - Creates separate `db-all-{version}-src.tar.gz` from `${basedir}`
   - Generates SHA-256 and SHA-512 checksums for all db-all tarballs

2. **publish target** - Signs both artifact sets:
   - Signs `dse-db-all` tarballs (existing)
   - Signs `db-all` tarballs (new)

**Artifacts created (example for version 5.0.4.0):**
- `dse-db-all-5.0.4.0.jar` + POM + sources
- `dse-db-all-5.0.4.0-bin.tar.gz` + checksums
- `dse-db-all-5.0.4.0-src.tar.gz` + checksums
- `db-all-5.0.4.0.jar` + POM + sources (copied from dse-db)
- `db-all-5.0.4.0-bin.tar.gz` + checksums (separate physical file)
- `db-all-5.0.4.0-src.tar.gz` + checksums (separate physical file)

**Deployment:**
Works with jenkins-pipeline-lib PR #254 which deploys artifacts under both Maven coordinates:
- `com.datastax.dse:dse-db-all:{version}`
- `com.datastax.db:db-all:{version}`

**Related PR:** riptano/jenkins-pipeline-lib#254

 (Rebase of commit 8f66239)
michaelsembwever pushed a commit that referenced this pull request Apr 15, 2026
Adds a new artifact alongside the existing one.

 (Rebase of commit 045697d)

CNDB-17333: Create separate db-all artifacts (#2307)

CNDB-17333: Create separate physical artifacts for db-all Maven coordinate

Update build.xml to create separate physical artifacts for db-all Maven
coordinate (com.datastax.db:db-all) alongside existing dse-db-all artifacts.

CNDB-17333: Support publishing both db-all and dse-db-all artifacts

Creates separate physical `db-all` artifacts alongside existing `dse-db-all` artifacts to support gradual migration to new Maven coordinates.

**Changes to build.xml:**

1. **artifacts target** - Creates separate db-all artifacts:
   - Copies `db-all` JARs and POMs from `dse-db` artifacts
   - Creates separate `db-all-{version}-bin.tar.gz` from `${dist.dir}`
   - Creates separate `db-all-{version}-src.tar.gz` from `${basedir}`
   - Generates SHA-256 and SHA-512 checksums for all db-all tarballs

2. **publish target** - Signs both artifact sets:
   - Signs `dse-db-all` tarballs (existing)
   - Signs `db-all` tarballs (new)

**Artifacts created (example for version 5.0.4.0):**
- `dse-db-all-5.0.4.0.jar` + POM + sources
- `dse-db-all-5.0.4.0-bin.tar.gz` + checksums
- `dse-db-all-5.0.4.0-src.tar.gz` + checksums
- `db-all-5.0.4.0.jar` + POM + sources (copied from dse-db)
- `db-all-5.0.4.0-bin.tar.gz` + checksums (separate physical file)
- `db-all-5.0.4.0-src.tar.gz` + checksums (separate physical file)

**Deployment:**
Works with jenkins-pipeline-lib PR #254 which deploys artifacts under both Maven coordinates:
- `com.datastax.dse:dse-db-all:{version}`
- `com.datastax.db:db-all:{version}`

**Related PR:** riptano/jenkins-pipeline-lib#254

 (Rebase of commit 8f66239)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants