-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from jdaugherty/5.0.x
Initial Upgrade to Grails 7 & Hibernate 5.6.15.Final
- Loading branch information
Showing
75 changed files
with
2,389 additions
and
795 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: gradle | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 | ||
target-branch: 5.0.x | ||
labels: | ||
- "type: dependency upgrade" | ||
ignore: | ||
- dependency-name: "*" | ||
update-types: ["version-update:semver-major", "version-update:semver-minor"] | ||
- package-ecosystem: gradle | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 | ||
target-branch: 6.0.x | ||
labels: | ||
- "type: dependency upgrade" | ||
ignore: | ||
- dependency-name: "*" | ||
update-types: ["version-update:semver-major", "version-update:semver-minor"] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
name-template: $RESOLVED_VERSION | ||
tag-template: v$RESOLVED_VERSION | ||
pull-request: | ||
title-templates: | ||
fix: 'π $TITLE (#$NUMBER)' | ||
feat: 'π $TITLE (#$NUMBER)' | ||
default: '$TITLE (#$NUMBER)' | ||
autolabeler: | ||
- label: 'bug' | ||
branch: | ||
- '/fix\/.+/' | ||
title: | ||
- '/fix/i' | ||
- label: 'feature' | ||
branch: | ||
- '/feature\/.+/' | ||
title: | ||
- '/feat/i' | ||
- label: 'documentation' | ||
branch: | ||
- '/docs\/.+/' | ||
title: | ||
- '/docs/i' | ||
- label: 'maintenance' | ||
branch: | ||
- '/(chore|refactor|style|test|ci|perf|build|deps)\/.+/' | ||
title: | ||
- '/(chore|refactor|style|test|ci|perf|build|deps)/i' | ||
- label: 'chore' | ||
branch: | ||
- '/chore\/.+/' | ||
title: | ||
- '/chore/i' | ||
- label: 'refactor' | ||
branch: | ||
- '/refactor\/.+/' | ||
title: | ||
- '/refactor/i' | ||
- label: 'style' | ||
branch: | ||
- '/style\/.+/' | ||
title: | ||
- '/style/i' | ||
- label: 'test' | ||
branch: | ||
- '/test\/.+/' | ||
title: | ||
- '/test/i' | ||
- label: 'ci' | ||
branch: | ||
- '/ci\/.+/' | ||
title: | ||
- '/ci/i' | ||
- label: 'perf' | ||
branch: | ||
- '/perf\/.+/' | ||
title: | ||
- '/perf/i' | ||
- label: 'build' | ||
branch: | ||
- '/build\/.+/' | ||
title: | ||
- '/build/i' | ||
- label: 'deps' | ||
branch: | ||
- '/deps\/.+/' | ||
title: | ||
- '/deps/i' | ||
- label: 'revert' | ||
branch: | ||
- '/revert\/.+/' | ||
title: | ||
- '/revert/i' | ||
categories: | ||
- title: 'π Features' | ||
labels: | ||
- 'feat' | ||
- "type: enhancement" | ||
- "type: new feature" | ||
- "type: major" | ||
- title: 'π Bug Fixes' | ||
labels: | ||
- 'fix' | ||
- "type: improvement" | ||
- "type: bug" | ||
- "type: minor" | ||
- title: 'π Documentation' | ||
labels: | ||
- 'docs' | ||
- title: 'π§ Maintenance' | ||
labels: | ||
- 'chore' | ||
- 'refactor' | ||
- 'style' | ||
- 'test' | ||
- 'ci' | ||
- 'perf' | ||
- 'build' | ||
- 'deps' | ||
- "type: dependency upgrade" | ||
- "dependencies" | ||
- "type: ci" | ||
- "type: build" | ||
- title: 'βͺ Reverts' | ||
labels: | ||
- 'revert' | ||
change-template: '- $TITLE @$AUTHOR (#$NUMBER)' | ||
version-resolver: | ||
major: | ||
labels: | ||
- 'type: major' | ||
minor: | ||
labels: | ||
- 'type: minor' | ||
patch: | ||
labels: | ||
- 'type: patch' | ||
default: patch | ||
template: | | ||
## What's Changed | ||
$CHANGES | ||
## Contributors | ||
$CONTRIBUTORS |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
"extends": [ | ||
"config:base" | ||
], | ||
"labels": ["type: dependency upgrade"], | ||
"packageRules": [ | ||
{ | ||
"matchPackagePatterns": ["*"], | ||
"allowedVersions": "!/SNAPSHOT$/" | ||
}, | ||
{ | ||
"matchPackagePatterns": [ | ||
"^org\\.codehaus\\.groovy" | ||
], | ||
"groupName": "groovy monorepo" | ||
}, | ||
{ | ||
"matchPackagePatterns": [ | ||
"^org\\.seleniumhq" | ||
], | ||
"groupName": "selenium monorepo" | ||
}, | ||
{ | ||
"matchPackagePatterns": [ | ||
"^org\\.spockframework" | ||
], | ||
"groupName": "spock framework monorepo" | ||
}, | ||
{ | ||
"matchPackageNames": [ | ||
"org.grails:grails-bom", | ||
"org.grails:grails-bootstrap", | ||
"org.grails:grails-codecs", | ||
"org.grails:grails-console", | ||
"org.grails:grails-core", | ||
"org.grails:grails-databinding", | ||
"org.grails:grails-dependencies", | ||
"org.grails:grails-docs", | ||
"org.grails:grails-encoder", | ||
"org.grails:grails-gradle-model", | ||
"org.grails:grails-logging", | ||
"org.grails:grails-plugin-codecs", | ||
"org.grails:grails-plugin-controllers", | ||
"org.grails:grails-plugin-databinding", | ||
"org.grails:grails-plugin-datasource", | ||
"org.grails:grails-plugin-domain-class", | ||
"org.grails:grails-plugin-i18n", | ||
"org.grails:grails-plugin-interceptors", | ||
"org.grails:grails-plugin-mimetypes", | ||
"org.grails:grails-plugin-rest", | ||
"org.grails:grails-plugin-services", | ||
"org.grails:grails-plugin-url-mappings", | ||
"org.grails:grails-plugin-url-validation", | ||
"org.grails:grails-shell", | ||
"org.grails:grails-spring", | ||
"org.grails:grails-test", | ||
"org.grails:grails-validation", | ||
"org.grails:grails-web", | ||
"org.grails:grails-web-boot", | ||
"org.grails:grails-web-common", | ||
"org.grails:grails-web-databinding", | ||
"org.grails:grails-web-fileupload", | ||
"org.grails:grails-web-mvc", | ||
"org.grails:grails-web-url-mappings" | ||
], | ||
"groupName": "grails monorepo" | ||
} | ||
] | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
name: "Java CI" | ||
on: | ||
push: | ||
branches: | ||
- '[5-9].[0-9].x' | ||
pull_request: | ||
types: [ opened, reopened, synchronize ] | ||
workflow_dispatch: | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
java: ['17', '21'] | ||
steps: | ||
- name: "π₯ Checkout the repository" | ||
uses: actions/checkout@v4 | ||
- name: "βοΈ Setup JDK" | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'liberica' | ||
java-version: ${{ matrix.java }} | ||
- name: "π Setup Gradle" | ||
uses: gradle/actions/setup-gradle@v4 | ||
- name: "π¨ Run Base Tests" | ||
run: ./gradlew check --continue | ||
- name: "π¨ Run Example App to confirm it does not fail" | ||
working-directory: examples/mysql | ||
run: ./gradlew bootRun | ||
publish: | ||
if: github.event_name == 'push' | ||
needs: build | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write # publishing docs | ||
pages: write | ||
steps: | ||
- name: "π₯ Checkout the repository" | ||
uses: actions/checkout@v4 | ||
- name: "βοΈ Setup JDK" | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'liberica' | ||
java-version: '17' | ||
- name: "π Setup Gradle" | ||
uses: gradle/actions/setup-gradle@v4 | ||
- name: Read project version | ||
id: version | ||
run: | | ||
# Extract the version from the property file. | ||
version=$(grep '^projectVersion=' gradle.properties | cut -d= -f2) | ||
echo "version=$version" >> $GITHUB_OUTPUT | ||
shell: bash | ||
- name: "π€ Publish to Snapshot" | ||
if: ${{ success() && endsWith( steps.version.outputs.version, '-SNAPSHOT' ) }} | ||
env: | ||
MAVEN_PUBLISH_USERNAME: ${{ secrets.MAVEN_PUBLISH_USERNAME }} | ||
MAVEN_PUBLISH_PASSWORD: ${{ secrets.MAVEN_PUBLISH_PASSWORD }} | ||
MAVEN_PUBLISH_URL: ${{ secrets.MAVEN_PUBLISH_SNAPSHOT_URL }} | ||
GRAILS_PUBLISH_RELEASE: "false" | ||
working-directory: ./plugin | ||
run: ../gradlew publish | ||
- name: "π Generate User Guide Documentation" | ||
if: success() | ||
run: ./gradlew docs | ||
- name: "π Publish to Github Pages" | ||
if: ${{ success() && endsWith( steps.version.outputs.version, '-SNAPSHOT' ) }} | ||
uses: grails/github-pages-deploy-action@grails | ||
env: | ||
BRANCH: gh-pages | ||
COMMIT_EMAIL: ${{ env.GIT_USER_EMAIL }} | ||
COMMIT_NAME: ${{ env.GIT_USER_NAME }} | ||
FOLDER: build/docs | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
TARGET_REPOSITORY: ${{ github.repository }} | ||
DOC_FOLDER: gh-pages |
Oops, something went wrong.