Skip to content

INTERNAL-2043 Add GitHub release actions to open-source plugin repos#1

Open
bin-xnatworks wants to merge 6 commits into
developfrom
xnat-8763
Open

INTERNAL-2043 Add GitHub release actions to open-source plugin repos#1
bin-xnatworks wants to merge 6 commits into
developfrom
xnat-8763

Conversation

@bin-xnatworks

@bin-xnatworks bin-xnatworks commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator
  1. Java 21
  2. Gradle 9.4.1, monorepo 1.10.1-SNAPSHOT
  3. Add CI workflows: build-publish.yml / release-cut-rc.yml / release-promote.yml (thin callers of NrgXnat/xnat-ci-workflows@v1)

- vXnat 1.8.10 -> 1.10.1-SNAPSHOT
- Gradle 8.7 -> 9.4.1
- dependency-management 1.1.0 -> 1.1.7
- Java toolchain 8 -> 21
- Plugin version 1.1.0 -> 1.2.0-SNAPSHOT (new local dev line)
- Bump datasets-schema-plugin buildscript classpath dep 1.0.0-SNAPSHOT -> 1.2.0-SNAPSHOT
- Remove implementation org.nrg.xnat:xnat-data-models (merged into xnat-web)

NOTE: schema-only plugin. Local develop branch created from main; not pushed.
…nvention

Read artifactoryUser/Token via project.findProperty (matches CI workflow's
ORG_GRADLE_PROJECT_artifactoryUser/Token env-var mapping), with
ARTIFACTORY_USER/TOKEN env-var fallback. Standardize URL to -local repos.
Mirrors monorepo's buildSrc/buildlogic.java-common-conventions.gradle pattern.

NOTE: local-only — no upstream develop branch yet, commit not pushed.
…tern

Replace 187-line + 165-line inline workflows with ~37-line callers that
delegate to NrgXnat/xnat-ci-workflows reusable workflows:
  - gradle-release-cut-rc.yml@v1
  - gradle-release-promote.yml@v1

Total YAML saved per plugin: ~278 lines. Behavior unchanged — the
reusable workflows were extracted verbatim from the previous inline scripts.

NOTE: local-only — no upstream develop branch yet, commit not pushed.
The shared reusable workflow gradle-build-publish.yml@v1 has a publish-ghcr
job declaring 'packages: write'. Even when gated by 'if: inputs.publish-ghcr'
(default false), permissions are parsed at workflow startup → caller must
grant it or run fails with startup_failure.

NOTE: local-only — no upstream develop branch yet, commit not pushed.
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.

2 participants