Skip to content

Move Java staging deploy to local release script#71

Open
jianguotian wants to merge 1 commit into
apache:mainfrom
jianguotian:ci/local-java-staging-deploy
Open

Move Java staging deploy to local release script#71
jianguotian wants to merge 1 commit into
apache:mainfrom
jianguotian:ci/local-java-staging-deploy

Conversation

@jianguotian

Copy link
Copy Markdown
Contributor

Purpose

Move Java release candidate staging deployment out of GitHub Actions so release signing and Nexus staging deployment are performed from a committer/RM machine instead of CI.

Changes

  • Replace the Java release CI staging deploy job with a package verification job that runs the release profile with GPG disabled and uploads the Java jars as workflow artifacts.
  • Stop inheriting release secrets into the Java reusable workflow.
  • Add tools/deploy_java_staging.sh for local Java staging deployment using the RC tag's successful Release workflow run artifacts.
  • Add tools/README.md with the committer setup, run-id source, dry-run flow, and real staging deployment flow.

Tests

  • bash -n tools/deploy_java_staging.sh
  • Parsed all GitHub workflow YAML files with PyYAML
  • git diff --check
  • Verified no release workflow remains with GPG private key, Nexus staging credentials, or mvn clean deploy
  • Ran the staging script with fake gh artifacts and fake mvn to validate dry-run control flow
  • Ran the staging script with fake gh artifacts and real mvn clean verify -Prelease -Dgpg.skip=true -DskipTests to validate Java artifacts and native jar entries

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant