Skip to content

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

Merged
bin-xnatworks merged 56 commits into
devfrom
xnat-8763
Jul 10, 2026
Merged

INTERNAL-2043 Add GitHub release actions to open-source plugin repos#2
bin-xnatworks merged 56 commits into
devfrom
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; release-cut-rc source_branch defaults to dev)
  4. Migrate test stack to JUnit 5 + Mockito jupiter (junit-bom 5.10.2; vintage engine kept for legacy JUnit 4 cases; add junit-platform-launcher)

Kate Alpert and others added 30 commits March 2, 2024 17:35
Amend Changelog for 3.6.3 release

* Amend Changelog for 3.6.3 release


Approved-by: Rick Herrick
CS-1036 Added label processing to convert invalid chars to '-', truncate strings longer than 63 chars

* CS-1036 Added label processing to convert invalid chars to '-', truncate strings longer than 63 chars

* CS-1036 Added logging of changed label values

Approved-by: Ian Gauthier
Approved-by: Bin Zhang
Automated Build and others added 26 commits June 30, 2025 11:35
Conflict resolutions:
- build.gradle: Kept version 3.7.3-java21-RC-SNAPSHOT and vXnat 1.10.0-RC-SNAPSHOT
- Removed QueueSettingsRestApiTestConfig.java and QueueSettingsRestApiTest.java as deleted in master
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Gradle wrapper 8.5 -> 9.4.1
- Replace top-level manifest {} (removed in Gradle 9) with attribute
  map gitManifestAttrs; jar tasks use 'attributes gitManifestAttrs'

Builds on top of using-monorepo branch's 1.10.1-SNAPSHOT adaptation
(merged in via merge commit 71195a4).
build-publish triggers on dev (not develop) for container-service.
release-cut-rc defaults source_branch to dev.
…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.
…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.
The shared reusable workflow gradle-build-publish.yml@v1 has a
publish-ghcr job declaring 'permissions: contents: read, packages: write'.
Even though that job is gated by 'if: inputs.publish-ghcr' (default false),
GitHub Actions parses the permissions at workflow startup. If the caller
doesn't grant 'packages: write', the run fails with startup_failure
before any job runs.

Validated by dispatching build-publish on mfa-plugin/fake-develop:
- Without packages: write → startup_failure in 2s
- With packages: write → reaches Stage 1 Gradle build

Mirrors xnat monorepo's build-publish.yml caller pattern.
@bin-xnatworks bin-xnatworks merged commit 9ebf3a1 into dev Jul 10, 2026
2 checks passed
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.

8 participants