Skip to content

Commit 0412b12

Browse files
authored
Merge pull request #165 from gradle/erichaagdev/even-more-oss-project-improvements
Issue even more quick fixes for several failing workflows
2 parents 127652c + 85af786 commit 0412b12

10 files changed

+13
-29
lines changed

.github/workflows/run-experiments-apache-solr.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ permissions:
1111
env:
1212
DEVELOCITY_URL: "https://ge.solutions-team.gradle.com"
1313
GIT_REPO: "https://github.com/apache/solr"
14-
TASKS: "check integrationTests -Ptests.seed=3466BEBDD5AA01A0 -Pvalidation.git.failOnModified=false -Ptests.haltonfailure=false -Ptests.neverUpToDate=false"
14+
TASKS: "check integrationTests"
15+
ARGS: "-x validateJarChecksums -Ptests.seed=3466BEBDD5AA01A0 -Pvalidation.git.failOnModified=false -Ptests.haltonfailure=false -Ptests.neverUpToDate=false"
1516

1617
jobs:
1718
Experiment:
@@ -33,7 +34,6 @@ jobs:
3334
run: |
3435
mkdir ~/git-hooks
3536
echo -e 'echo "\nallprojects { pluginManager.withPlugin(\"com.diffplug.spotless\") { tasks.withType(com.diffplug.gradle.spotless.SpotlessTaskImpl).configureEach { outputs.doNotCacheIf(\"SpotlessTaskImpl is not cacheable if custom formatter steps are used\") { true } } } }" >> build.gradle\n' >> ~/git-hooks/post-checkout
36-
echo -e 'echo "\nallprojects { tasks.named { it == "validateJarChecksums" }.configureEach { enabled = false } }" >> build.gradle\n' >> ~/git-hooks/post-checkout
3737
chmod +x ~/git-hooks/post-checkout
3838
git config --global core.hooksPath ~/git-hooks
3939
- name: Download latest version of the validation scripts
@@ -50,6 +50,7 @@ jobs:
5050
with:
5151
gitRepo: ${{ env.GIT_REPO }}
5252
tasks: ${{ env.TASKS }}
53+
args: ${{ env.ARGS }}
5354
develocityUrl: ${{ env.DEVELOCITY_URL }}
5455
if: matrix.experimentId == 1
5556
- name: Run experiment 2
@@ -59,6 +60,7 @@ jobs:
5960
with:
6061
gitRepo: ${{ env.GIT_REPO }}
6162
tasks: ${{ env.TASKS }}
63+
args: ${{ env.ARGS }}
6264
develocityUrl: ${{ env.DEVELOCITY_URL }}
6365
failIfNotFullyCacheable: true
6466
if: matrix.experimentId == 2
@@ -69,6 +71,7 @@ jobs:
6971
with:
7072
gitRepo: ${{ env.GIT_REPO }}
7173
tasks: ${{ env.TASKS }}
74+
args: ${{ env.ARGS }}
7275
develocityUrl: ${{ env.DEVELOCITY_URL }}
7376
failIfNotFullyCacheable: true
7477
if: matrix.experimentId == 3

.github/workflows/run-experiments-hibernate-search.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
- experimentId: 2
2525
runs-on: ubuntu-latest
2626
steps:
27-
- name: Set up JDK 21
27+
- name: Set up JDK 25
2828
uses: actions/setup-java@v5
2929
with:
30-
java-version: 21
30+
java-version: 25
3131
distribution: "temurin"
3232
- name: Download latest version of the validation scripts
3333
uses: gradle/develocity-build-validation-scripts/.github/actions/maven/download@actions-stable

.github/workflows/run-experiments-micronaut-aws.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ env:
1212
DEVELOCITY_URL: "https://ge.solutions-team.gradle.com"
1313
GIT_REPO: "https://github.com/micronaut-projects/micronaut-aws"
1414
TASKS: "check"
15-
ARGS: "-DpredictiveTestSelection=false"
1615

1716
jobs:
1817
Experiment:
@@ -44,7 +43,6 @@ jobs:
4443
with:
4544
gitRepo: ${{ env.GIT_REPO }}
4645
tasks: ${{ env.TASKS }}
47-
args: ${{ env.ARGS }}
4846
develocityUrl: ${{ env.DEVELOCITY_URL }}
4947
if: matrix.experimentId == 1
5048
- name: Run experiment 2
@@ -54,7 +52,6 @@ jobs:
5452
with:
5553
gitRepo: ${{ env.GIT_REPO }}
5654
tasks: ${{ env.TASKS }}
57-
args: ${{ env.ARGS }}
5855
develocityUrl: ${{ env.DEVELOCITY_URL }}
5956
failIfNotFullyCacheable: false
6057
if: matrix.experimentId == 2
@@ -65,7 +62,6 @@ jobs:
6562
with:
6663
gitRepo: ${{ env.GIT_REPO }}
6764
tasks: ${{ env.TASKS }}
68-
args: ${{ env.ARGS }}
6965
develocityUrl: ${{ env.DEVELOCITY_URL }}
7066
failIfNotFullyCacheable: false
7167
if: matrix.experimentId == 3

.github/workflows/run-experiments-micronaut-core.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212
DEVELOCITY_URL: "https://ge.solutions-team.gradle.com"
1313
GIT_REPO: "https://github.com/micronaut-projects/micronaut-core"
1414
TASKS: "check"
15-
ARGS: "-x japiCmp -DpredictiveTestSelection=false --warn"
15+
ARGS: "-x japiCmp --warn"
1616

1717
jobs:
1818
Experiment:

.github/workflows/run-experiments-micronaut-data.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ env:
1212
DEVELOCITY_URL: "https://ge.solutions-team.gradle.com"
1313
GIT_REPO: "https://github.com/micronaut-projects/micronaut-data"
1414
TASKS: "check"
15-
ARGS: "-DpredictiveTestSelection=false"
1615

1716
jobs:
1817
Experiment:
@@ -44,7 +43,6 @@ jobs:
4443
with:
4544
gitRepo: ${{ env.GIT_REPO }}
4645
tasks: ${{ env.TASKS }}
47-
args: ${{ env.ARGS }}
4846
develocityUrl: ${{ env.DEVELOCITY_URL }}
4947
if: matrix.experimentId == 1
5048
- name: Run experiment 2
@@ -54,7 +52,6 @@ jobs:
5452
with:
5553
gitRepo: ${{ env.GIT_REPO }}
5654
tasks: ${{ env.TASKS }}
57-
args: ${{ env.ARGS }}
5855
develocityUrl: ${{ env.DEVELOCITY_URL }}
5956
failIfNotFullyCacheable: false
6057
if: matrix.experimentId == 2
@@ -65,7 +62,6 @@ jobs:
6562
with:
6663
gitRepo: ${{ env.GIT_REPO }}
6764
tasks: ${{ env.TASKS }}
68-
args: ${{ env.ARGS }}
6965
develocityUrl: ${{ env.DEVELOCITY_URL }}
7066
failIfNotFullyCacheable: false
7167
if: matrix.experimentId == 3

.github/workflows/run-experiments-micronaut-kafka.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ env:
1212
DEVELOCITY_URL: "https://ge.solutions-team.gradle.com"
1313
GIT_REPO: "https://github.com/micronaut-projects/micronaut-kafka"
1414
TASKS: "check"
15-
ARGS: "-DpredictiveTestSelection=false"
1615

1716
jobs:
1817
Experiment:
@@ -44,7 +43,6 @@ jobs:
4443
with:
4544
gitRepo: ${{ env.GIT_REPO }}
4645
tasks: ${{ env.TASKS }}
47-
args: ${{ env.ARGS }}
4846
develocityUrl: ${{ env.DEVELOCITY_URL }}
4947
if: matrix.experimentId == 1
5048
- name: Run experiment 2
@@ -54,7 +52,6 @@ jobs:
5452
with:
5553
gitRepo: ${{ env.GIT_REPO }}
5654
tasks: ${{ env.TASKS }}
57-
args: ${{ env.ARGS }}
5855
develocityUrl: ${{ env.DEVELOCITY_URL }}
5956
failIfNotFullyCacheable: false
6057
if: matrix.experimentId == 2
@@ -65,7 +62,6 @@ jobs:
6562
with:
6663
gitRepo: ${{ env.GIT_REPO }}
6764
tasks: ${{ env.TASKS }}
68-
args: ${{ env.ARGS }}
6965
develocityUrl: ${{ env.DEVELOCITY_URL }}
7066
failIfNotFullyCacheable: false
7167
if: matrix.experimentId == 3

.github/workflows/run-experiments-micronaut-kotlin.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ env:
1212
DEVELOCITY_URL: "https://ge.solutions-team.gradle.com"
1313
GIT_REPO: "https://github.com/micronaut-projects/micronaut-kotlin"
1414
TASKS: "check"
15-
ARGS: "-DpredictiveTestSelection=false"
1615

1716
jobs:
1817
Experiment:
@@ -44,7 +43,6 @@ jobs:
4443
with:
4544
gitRepo: ${{ env.GIT_REPO }}
4645
tasks: ${{ env.TASKS }}
47-
args: ${{ env.ARGS }}
4846
develocityUrl: ${{ env.DEVELOCITY_URL }}
4947
if: matrix.experimentId == 1
5048
- name: Run experiment 2
@@ -54,7 +52,6 @@ jobs:
5452
with:
5553
gitRepo: ${{ env.GIT_REPO }}
5654
tasks: ${{ env.TASKS }}
57-
args: ${{ env.ARGS }}
5855
develocityUrl: ${{ env.DEVELOCITY_URL }}
5956
failIfNotFullyCacheable: false
6057
if: matrix.experimentId == 2
@@ -65,7 +62,6 @@ jobs:
6562
with:
6663
gitRepo: ${{ env.GIT_REPO }}
6764
tasks: ${{ env.TASKS }}
68-
args: ${{ env.ARGS }}
6965
develocityUrl: ${{ env.DEVELOCITY_URL }}
7066
failIfNotFullyCacheable: false
7167
if: matrix.experimentId == 3

.github/workflows/run-experiments-micronaut-security.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ env:
1212
DEVELOCITY_URL: "https://ge.solutions-team.gradle.com"
1313
GIT_REPO: "https://github.com/micronaut-projects/micronaut-security"
1414
TASKS: "check"
15-
ARGS: "-DpredictiveTestSelection=false"
1615

1716
jobs:
1817
Experiment:
@@ -44,7 +43,6 @@ jobs:
4443
with:
4544
gitRepo: ${{ env.GIT_REPO }}
4645
tasks: ${{ env.TASKS }}
47-
args: ${{ env.ARGS }}
4846
develocityUrl: ${{ env.DEVELOCITY_URL }}
4947
if: matrix.experimentId == 1
5048
- name: Run experiment 2
@@ -54,7 +52,6 @@ jobs:
5452
with:
5553
gitRepo: ${{ env.GIT_REPO }}
5654
tasks: ${{ env.TASKS }}
57-
args: ${{ env.ARGS }}
5855
develocityUrl: ${{ env.DEVELOCITY_URL }}
5956
failIfNotFullyCacheable: false
6057
if: matrix.experimentId == 2
@@ -65,7 +62,6 @@ jobs:
6562
with:
6663
gitRepo: ${{ env.GIT_REPO }}
6764
tasks: ${{ env.TASKS }}
68-
args: ${{ env.ARGS }}
6965
develocityUrl: ${{ env.DEVELOCITY_URL }}
7066
failIfNotFullyCacheable: false
7167
if: matrix.experimentId == 3

.github/workflows/run-experiments-micronaut-spring.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ env:
1212
DEVELOCITY_URL: "https://ge.solutions-team.gradle.com"
1313
GIT_REPO: "https://github.com/micronaut-projects/micronaut-spring"
1414
TASKS: "check"
15-
ARGS: "-DpredictiveTestSelection=false"
15+
# Excludes:
16+
# - :test-suite:test - https://ge.micronaut.io/scans/failures?failures.failureClassification=verification&failures.failureMessage=Execution%20failed%20for%20task%20%27:test-suite:test%27.%0A%3E%20Test%20process%20encountered%20an%20unexpected%20problem.%0A%20%20%20%3E%20Could%20not%20start%20Gradle%20Test%20Executor%20*%20Failed%20to%20load%20JUnit%20Platform.%20%20Please%20ensure%20that%20all%20JUnit%20Platform%20dependencies%20are%20available%20on%20the%20test%27s%20runtime%20classpath%2C%20including%20the%20JUnit%20Platform%20launcher.&search.rootProjectNames=spring-parent&search.timeZoneId=America%2FChicago
17+
ARGS: "-x :test-suite:test"
1618

1719
jobs:
1820
Experiment:

.github/workflows/run-experiments-micronaut-starter.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ permissions:
1111
env:
1212
DEVELOCITY_URL: "https://ge.solutions-team.gradle.com"
1313
GIT_REPO: "https://github.com/micronaut-projects/micronaut-starter"
14-
TASKS: "check"
15-
ARGS: "-DpredictiveTestSelection=false -x test-aws:test -x test-buildtool:test -x test-cli:test -x test-cloud:test -x test-core:test -x test-features:test"
14+
TASKS: "assemble :micronaut-cli:nativeCompile"
1615

1716
jobs:
1817
Experiment:
@@ -29,7 +28,7 @@ jobs:
2928
uses: actions/setup-java@v5
3029
with:
3130
java-version: 21
32-
distribution: "temurin"
31+
distribution: "graalvm"
3332
- name: Download latest version of the validation scripts
3433
uses: gradle/develocity-build-validation-scripts/.github/actions/gradle/download@actions-stable
3534
with:

0 commit comments

Comments
 (0)