-
Notifications
You must be signed in to change notification settings - Fork 199
Multiple Project updates #1868
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Multiple Project updates #1868
Changes from 24 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
50102a6
ci: improve GitHub workflows for clarity and stability
matrei ba6bba7
build: switch to Gradle's `test-report-aggregation` Gradle Plugin
matrei d15c26b
build: remove unused `idea` Gradle Plugin
matrei 2f09ed8
build(deps): upgrade `common-custom-user-data-gradle-plugin` to `2.1`
matrei 6a62220
build: set correct tag for Develocity build scans
matrei 6e027c1
build: remove unused `groovyVersion` property
matrei 01f060f
build: remove unnecessary snapshot guard
matrei da611f2
build: correct typo in developer ID
matrei 63cc614
build: optimize and clean up build configuration
matrei aea8748
build: add test event logging
matrei 7ad9c49
build: add `clean` task for root project
matrei b32716e
build: cleanup dependencies for better stability and clarity
matrei 09c0a42
chore: remove unused imports
matrei 11bf8e4
refactor: remove unused method in test
matrei 4edc323
fix: replace usage of deprecated `BeanUtils.instantiate` method
matrei b25d820
refactor: replace deprecated `AbstractGlobalExtension` with `IGlobalE…
matrei 4264dae
test: replace `@Ignore` with `@PendingFeature`
matrei 0f435b9
test: remove `@Ignore` from passing `HasManyDefaultMappedBySpec` test
matrei fdfc89c
test: replace deprecated `@RunWith` with `@Suite`
matrei 58750ee
refactor: replace deprecated `AccessControlException` with `SecurityE…
matrei 5a09262
chore: update license headers for changes files
matrei 6e59c57
ci: fix typo in step name
matrei 85123f6
build: fix building with Groovy snapshots
matrei 2c3a056
build: fix typo in `test-report/build.gradle`
matrei e05d6b8
test: use `@PendingFeatureIf` for selective test execution
matrei 9bf583a
ci: add Java version matrix with 17 and 21
matrei c00a24d
build: restore `groovy-test-junit5` for JUnit 5 compatibility
matrei b1463b2
build: use `compileOnlyApi` to expose AST transforms to downstream co…
matrei b72eb62
test: unignore passing test in `WhereMethodSpec`
matrei 254c760
build: use `org.grails.grails-publish` for publishing
matrei 9a8242a
fix(deps): bump `com.gradle.develocity` from `3.19` to `3.19.1`
matrei File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| name: Java CI | ||
| name: "Java CI" | ||
| on: | ||
| push: | ||
| branches: | ||
|
|
@@ -8,83 +8,91 @@ on: | |
| - '[7-9]+.[0-9]+.x' | ||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| runs-on: ubuntu-24.04 | ||
| permissions: | ||
| contents: read | ||
| packages: read | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Set up JDK | ||
| - 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 | ||
| distribution: 'liberica' | ||
| java-version: '17' | ||
| - name: "🐘 Setup Gradle" | ||
| uses: gradle/actions/setup-gradle@v4 | ||
| with: | ||
| develocity-access-key: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} | ||
| - name: Run Build | ||
| develocity-access-key: ${{ secrets.DEVELOCITY_ACCESS_KEY }} | ||
| - name: "🔨 Run Build" | ||
| id: build | ||
| run: ./gradlew build | ||
| env: | ||
| DEVELOCITY_BUILD_CACHE_NODE_USER: ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER }} | ||
| DEVELOCITY_BUILD_CACHE_NODE_KEY: ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY }} | ||
| GITHUB_MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }} | ||
| run: ./gradlew build --continue | ||
| publish: | ||
| if: github.event_name == 'push' | ||
| needs: ["build"] | ||
| runs-on: ubuntu-latest | ||
| needs: build | ||
| runs-on: ubuntu-24.04 | ||
| permissions: | ||
| contents: read | ||
| packages: read | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Set up JDK | ||
| - 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 | ||
| distribution: 'liberica' | ||
| java-version: '17' | ||
| - name: "🐘 Setup Gradle" | ||
| uses: gradle/actions/setup-gradle@v4 | ||
| with: | ||
| develocity-access-key: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} | ||
| - name: Publish to Artifactory (repo.grails.org) | ||
| run: ./gradlew -Dorg.gradle.internal.publish.checksums.insecure=true publish | ||
| develocity-access-key: ${{ secrets.DEVELOCITY_ACCESS_KEY }} | ||
| - name: "📤 Publish Snapshot to repo.grails.org" | ||
| env: | ||
| DEVELOCITY_BUILD_CACHE_NODE_USER: ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER }} | ||
| DEVELOCITY_BUILD_CACHE_NODE_KEY: ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY }} | ||
| GITHUB_MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }} | ||
| ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }} | ||
| ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }} | ||
| run: ./gradlew --no-build-cache publish | ||
| trigger-build-gorm-impls: | ||
| if: github.event_name == 'push' | ||
| needs: ["build", "publish"] | ||
| runs-on: ubuntu-latest | ||
| needs: [build, publish] | ||
| runs-on: ubuntu-24.04 | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Extract branch name | ||
| - name: "📝 Store the target branch" | ||
| id: extract_branch | ||
| run: echo "value=${GITHUB_REF:11}" >> $GITHUB_OUTPUT | ||
| - name: Create Snapshot Message for the Workflow Dispatch | ||
| run: | | ||
| echo "🔍 Determine Target Branch" | ||
| TARGET_BRANCH=${GITHUB_REF#refs/heads/} | ||
| echo $TARGET_BRANCH | ||
| echo "value=${TARGET_BRANCH}" >> $GITHUB_OUTPUT | ||
| - name: "📝 Create Snapshot Message for the Workflow Dispatch" | ||
| id: dispatch_message | ||
| run: echo "value={\"message\":\"New Core Snapshot $(date) - $GITHUB_SHA\"}" >> $GITHUB_OUTPUT | ||
| - name: Invoke the Java CI workflow in GORM Hibernate5 | ||
| uses: benc-uk/[email protected] | ||
| run: echo "value={\"message\":\"New Data Mapping Snapshots $(date) - $GITHUB_SHA\"}" >> $GITHUB_OUTPUT | ||
| - name: "📡 Invoke the Java CI workflow in GORM Hibernate5" | ||
| uses: benc-uk/workflow-dispatch@e2e5e9a103e331dad343f381a29e654aea3cf8fc # v1.2.4 (Use commit sha as this is a 3rd party action) | ||
| with: | ||
| workflow: Java CI | ||
| repo: grails/gorm-hibernate5 | ||
| ref: ${{ steps.extract_branch.outputs.value }} | ||
| token: ${{ secrets.GH_TOKEN }} | ||
| - name: Invoke the Java CI workflow in GORM Hibernate6 | ||
| uses: benc-uk/[email protected] | ||
| - name: "📡 Invoke the Java CI workflow in GORM Hibernate6" | ||
| uses: benc-uk/workflow-dispatch@e2e5e9a103e331dad343f381a29e654aea3cf8fc # v1.2.4 (Use commit sha as this is a 3rd party action) | ||
| with: | ||
| workflow: Java CI | ||
| repo: grails/gorm-hibernate6 | ||
| ref: ${{ steps.extract_branch.outputs.value }} | ||
| token: ${{ secrets.GH_TOKEN }} | ||
| - name: Invoke the Java CI workflow in GORM MongoDB | ||
| uses: benc-uk/[email protected] | ||
| - name: "📡 Invoke the Java CI workflow in GORM MongoDB" | ||
| uses: benc-uk/workflow-dispatch@e2e5e9a103e331dad343f381a29e654aea3cf8fc # v1.2.4 (Use commit sha as this is a 3rd party action) | ||
| with: | ||
| workflow: Java CI | ||
| repo: grails/gorm-mongodb | ||
| ref: ${{ steps.extract_branch.outputs.value }} | ||
| token: ${{ secrets.GH_TOKEN }} | ||
| inputs: ${{ steps.dispatch_message.outputs.value }} | ||
| - name: Invoke the Java CI workflow in GORM Neo4j | ||
| uses: benc-uk/[email protected] | ||
| - name: "📡 Invoke the Java CI workflow in GORM Neo4j" | ||
| uses: benc-uk/workflow-dispatch@e2e5e9a103e331dad343f381a29e654aea3cf8fc # v1.2.4 (Use commit sha as this is a 3rd party action) | ||
| with: | ||
| workflow: Java CI | ||
| repo: grails/gorm-neo4j | ||
|
|
||
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.