Add GitHub Actions release/snapshot workflows (JFrog Pipelines EOL migration) - #455
Open
agrasth wants to merge 3 commits into
Open
Add GitHub Actions release/snapshot workflows (JFrog Pipelines EOL migration)#455agrasth wants to merge 3 commits into
agrasth wants to merge 3 commits into
Conversation
…gration) Ports release/pipelines.release.yml (release_java_client) and release/pipelines.snapshot.yml (create_artifactory_java_client_snapshot) to .github/workflows, since JFrog Pipelines is EOL.
Move the run: step bodies of release.yml and snapshot.yml into .github/scripts/release.sh and .github/scripts/snapshot.sh so the same logic can be executed locally by exporting the documented env vars, not just from GitHub Actions. Non-shell steps (checkout, setup-java, setup-jfrog-cli, cache) are unchanged; behavior is preserved exactly.
fluxxBot
approved these changes
Sep 8, 2026
The /api/system/encrypt call triggered by --user/--password returns 403 on this instance even though the same credential works fine otherwise (confirmed via direct ping test). --access-token skips that call. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.
Summary
JFrog Pipelines is EOL, so this ports the two pipelines defined under
release/to GitHub Actions workflows:.github/workflows/release.ymlportsrelease/pipelines.release.yml(release_java_client): manual (workflow_dispatch) release that bumpsgradle.properties, tags and pushesmaster, publishes to Artifactory (ecosys-oss-release-local), distributes a release bundle, publishes to Maven Central, then bumpsdevto the next development version..github/workflows/snapshot.ymlportsrelease/pipelines.snapshot.yml(create_artifactory_java_client_snapshot): runs on every push todev(matching thejavaClientSnapshotGitGitRepo resource inrelease/pipelines.resources.yml, which tracksdev) plus manualworkflow_dispatch, and publishes a snapshot build to Artifactory (ecosys-oss-snapshot-local) and JFrog Distribution.Every step from both pipeline scripts was ported faithfully (env vars,
jfconfig, gradle invocations, git tagging/branch juggling, release-bundle create/distribute, Maven Central publish).Branch determination
release/pipelines.resources.ymlshows thejavaClientReleaseGitresource tracksmaster, and the release script itself does an explicitgit checkout masteras its first git operation (it only touchesdevat the very end, to bump the next development version). Somasteris the pipeline's actual release target and is whatrelease.ymlchecks out and pushes to. The snapshot pipeline's resource (javaClientSnapshotGit) tracksdev, sosnapshot.ymltriggers onpushtodevand checks that out. This PR is based onmaster, matching the release pipeline's real operating branch (and GitHub's configured default branch).Deliberate behavior change
Both workflows use
jfrog/setup-jfrog-cli@v4to install the JFrog CLI instead of the pipeline'scurl -fL https://install-cli.jfrog.io | sh. The snapshot pipeline'senv -i PATH=$PATH HOME=$HOME ...wrapper around the gradle build was also dropped — it existed to reset the pipeline container's environment and isn't needed on a cleanubuntu-latestrunner.Judgment calls
git config user.name/user.emailinrelease.ymlbefore committing — the JFrog Pipelines image had this preconfigured; GitHub-hosted runners don't.NEXT_VERSION,NEXT_DEVELOPMENT_VERSION, andAUDIT_FAIL(previously pipeline run-time variables) becameworkflow_dispatchinputs onrelease.yml..gradlecache step insnapshot.ymlmirroring the pipeline'srestore_cache_files/add_cache_filesgradle cache.Required secrets
il_automationIL_AUTOMATION_TOKENecosys_entplus_deployerARTIFACTORY_URL,ARTIFACTORY_USER,ARTIFACTORY_APIKEYmvn_centralMVN_CENTRAL_USER,MVN_CENTRAL_PASSWORD,MVN_CENTRAL_SIGNING_KEY,MVN_CENTRAL_SIGNING_PASSWORDNot run yet — needs secrets added first.