Repository navigation
ci(java): publish releases through the Central Publisher Portal API - #2195
Draft
ramakrishnap-nv wants to merge 1 commit into
Draft
ramakrishnap-nv wants to merge 1 commit into
ramakrishnap-nv wants to merge 1 commit into
Conversation
The release path uploaded files one by one through the legacy ossrh-staging-api compatibility service and then handed the staging repository to the Portal. Sonatype asked projects to move to the Publisher API. Upload the signed bundle zip with POST /api/v1/publisher/upload as a USER_MANAGED deployment, then poll status as before. Publishing is still a manual step in the Portal UI. The staging profile id has no meaning in the Publisher API, so drop the profile-id input and option. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: Ramakrishna Prabhu <ramakrishnap@nvidia.com>
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sonatype asked projects to move from the legacy
ossrh-staging-apito the Publisher API. This changes the Java release path.POST /api/v1/publisher/uploadas aUSER_MANAGEDdeployment, then polled untilVALIDATED. Publishing is still a manual step in the Portal UI.profile-idinput and option are removed, since the Publisher API has no staging profile.The nightly snapshot path already uses the Portal snapshot repository, so it is unchanged.
Tested against a mock Portal server (both
auto-dropmodes). Not yet run against the real service, since the release path only runs on tags.The same change for the upstream workflow is in rapidsai/shared-workflows#665. This vendored copy can be dropped once that ships.
🤖 Generated with Claude Code