This maintainer guide configures rstreamlabs/rstream-java CI and publishing.
Applications start with Getting started; SDK contributors
start with Contributing.
Source checks do not authorize changing repository visibility or publishing a release.
| Type | Name | Purpose |
|---|---|---|
| Repository variable | CI_ALLOWED_ACTOR |
GitHub login allowed to run release-please on main. |
| Repository secret | RELEASE_PLEASE_TOKEN |
Token used by release-please to create and update release PRs. |
Add RELEASE_PLEASE_TOKEN before setting CI_ALLOWED_ACTOR. If that variable
is missing, the release-please workflow is skipped and normal CI still runs.
release-please-config.json and .release-please-manifest.json are part of the
repository contract. Keep both files versioned so release-please can update the
Maven version consistently. The runtime version sent to the engine is loaded
from Maven-filtered build metadata.
CI and release-please do not require Maven Central credentials. Publishing uses the Central Publisher Portal, not legacy OSSRH. Configure publishing secrets only in the protected release environments:
| Secret | Purpose |
|---|---|
MAVEN_CENTRAL_USERNAME |
Sonatype Central Portal token username. |
MAVEN_CENTRAL_PASSWORD |
Sonatype Central Portal token password. |
GPG_PRIVATE_KEY |
ASCII-armored signing key used for release artifacts. |
GPG_PASSPHRASE |
Passphrase for the signing key. |
Create an environment named maven-central in GitHub for the signing secrets.
Create a separate stable-release environment for publishing credentials and
require maintainer approval before promotion.
In the Central Publisher Portal, verify ownership of the io.rstream namespace
before the first release. Generate the publishing token at:
https://central.sonatype.com/usertoken
Release-please creates a draft GitHub release and a rstream-v<version> tag.
That tag starts the candidate workflow, which builds and verifies a signed
Maven Central bundle without publishing it. After qualification, dispatch the
promotion workflow with the same tag. It verifies and publishes the retained
bundle, then publishes the GitHub release. It never rebuilds the candidate.
Export the signing key with:
gpg --armor --export-secret-keys <key-id>Store the complete ASCII-armored output, including the BEGIN and END lines,
as GPG_PRIVATE_KEY.
Before proposing stable promotion:
- Review the complete git history for secrets, tokens, private endpoint URLs, generated credentials, and local test artifacts.
- Run
mvn verifylocally. - Run the real-engine e2e matrix against a local engine and at least one managed environment.
- Confirm the product documentation points to the final repository URL.
- Confirm the organization profile lists the Java SDK.