Skip to content

Grails 7 Migration - Rundeck 6.0 Compatibility#199

Merged
fdevans merged 17 commits intomasterfrom
grails7-upgrade
Apr 8, 2026
Merged

Grails 7 Migration - Rundeck 6.0 Compatibility#199
fdevans merged 17 commits intomasterfrom
grails7-upgrade

Conversation

@fdevans
Copy link
Copy Markdown
Contributor

@fdevans fdevans commented Apr 2, 2026

Overview

Updates this plugin for Grails 7 / Rundeck 6.0 compatibility.

Key Changes

  • Upgraded to Java 17
  • Updated to Grails 7 / Groovy 4 / Spring Boot 3
  • Modernized GitHub Actions workflows (Java 17, updated actions, YAML fixes)
  • Standardized Gradle to 8.14.3
  • Updated version to 2.0.19-grails7 format

Documentation

Migration details and handoff documentation: .github/Grails7-Handoff/

Testing

  • All CI workflows passing on grails7-upgrade branch
  • Plugin builds and tests successfully with Java 17
  • Compatible with Rundeck 6.0 (Grails 7)

Notes

  • Version uses temporary -grails7 suffix (will be removed at release)
  • Maintains backward compatibility with Rundeck 5.x

fdevans added 16 commits January 2, 2026 15:11
- Update groupId to com.github.rundeck-plugins
- Update version to X.Y.Z-grails7-upgrade-test
- Update rundeck-core dependency to 6.0.0-SNAPSHOT
- Enhanced diagnostics and error logging
- Fixed test compatibility issues (JUnit 4 vs 5, Java 17)
- Updated for Spring Boot 3 / Java 17
….plugins

- Changed groupId: com.github.rundeck-plugins → com.rundeck.plugins
- Added Axion 1.17.2 with prefix='' (no 'v' prefix)
- Removed hardcoded version (2.0.16-grails7-upgrade-test)
- Replaced external build-zip with inline pluginZip task (type: Jar, not Zip!)
- Added PackageCloud publishing configuration
- Version now managed dynamically from git tags

CRITICAL: ZIP plugins must use task type Jar, not Zip, for proper manifest handling.

See: .temp/PLUGIN_TAGGING_ARCHITECTURE.md and PACKAGECLOUD_MIGRATION_PLAN.md
- Added ReplaceTokens filter to process @Version@, @author@, @url@ tokens
- Added tokens map with version, date, author, url, title, description, name
- Import org.apache.tools.ant.filters.ReplaceTokens

This fixes the YAML parsing error where unprocessed tokens like @Version@
were being included in the published plugin.yaml file.
- Update actions/checkout@v2 to v4
- Update actions/setup-java@v1 to v4 with zulu distribution
- Replace deprecated actions/create-release and actions/upload-release-asset with gh CLI
- Fix ::set-output syntax to use GITHUB_OUTPUT
- Align Java version to 17 across all workflows

These changes ensure workflows remain functional after Node.js 20 deprecation in September 2026.
Added distribution: 'zulu' to all setup-java@v4 calls.
This parameter is required in v4 and was causing workflow failures.
Upgrade Gradle wrapper to match rundeck/rundeckpro (8.14.3) for consistency.
This ensures all plugins use the same build tooling version.
Corrected distribution parameter indentation to align with java-version.
This fixes GitHub Actions validation errors.
- Fixed distribution parameter indentation (must align with java-version)
- Updated step name labels to 'Set up JDK 17'
- Updated Gradle wrapper scripts to 8.14.3
Copilot AI review requested due to automatic review settings April 2, 2026 22:29

This comment was marked as resolved.

Copy link
Copy Markdown

@ronaveva ronaveva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fdevans fdevans merged commit 74aa6f0 into master Apr 8, 2026
10 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.

3 participants