Skip to content

Commit

Permalink
Merge pull request #114 from gradle/gk/armeriaFix
Browse files Browse the repository at this point in the history
Fix armeria OSS experiments
  • Loading branch information
ribafish authored Aug 16, 2024
2 parents 1911393 + 4eae8d8 commit 96d2558
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/run-experiments-armeria.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
env:
GRADLE_ENTERPRISE_URL: "https://ge.solutions-team.gradle.com"
GIT_REPO: "https://github.com/line/armeria"
TASKS: "build -Pretry=true -PfailOnPassedAfterRetry=false -PnoLint -PflakyTests=false -PbuildJdkVersion=19 -PtestJavaVersion=19"
TASKS: "build --no-daemon --max-workers=2 --parallel -PbuildJdkVersion=21 -Pretry=true -PfailOnPassedAfterRetry=false -PnoLint -PflakyTests=false"

jobs:
Experiment:
Expand All @@ -22,10 +22,11 @@ jobs:
- experimentId: 3
runs-on: ubuntu-latest
steps:
- name: Set up JDK 19
- name: Set up JDK 21
id: setup-jdk
uses: actions/setup-java@v4
with:
java-version: 19
java-version: 21
distribution: "temurin"
- name: Download latest version of the validation scripts
uses: gradle/gradle-enterprise-build-validation-scripts/.github/actions/gradle/download@actions-stable
Expand All @@ -37,7 +38,7 @@ jobs:
GRADLE_ENTERPRISE_ACCESS_KEY: "${{ secrets.DV_SOLUTIONS_ACCESS_KEY }}"
with:
gitRepo: ${{ env.GIT_REPO }}
tasks: ${{ env.TASKS }}
tasks: ${{ env.TASKS }} "-Porg.gradle.java.installations.paths=${{ steps.setup-jdk.outputs.path }}"
gradleEnterpriseUrl: ${{ env.GRADLE_ENTERPRISE_URL }}
if: matrix.experimentId == 1
- name: Run experiment 2
Expand All @@ -46,7 +47,7 @@ jobs:
GRADLE_ENTERPRISE_ACCESS_KEY: "${{ secrets.DV_SOLUTIONS_ACCESS_KEY }}"
with:
gitRepo: ${{ env.GIT_REPO }}
tasks: ${{ env.TASKS }}
tasks: ${{ env.TASKS }} "-Porg.gradle.java.installations.paths=${{ steps.setup-jdk.outputs.path }}"
gradleEnterpriseUrl: ${{ env.GRADLE_ENTERPRISE_URL }}
failIfNotFullyCacheable: true
if: matrix.experimentId == 2
Expand All @@ -56,7 +57,7 @@ jobs:
GRADLE_ENTERPRISE_ACCESS_KEY: "${{ secrets.DV_SOLUTIONS_ACCESS_KEY }}"
with:
gitRepo: ${{ env.GIT_REPO }}
tasks: ${{ env.TASKS }}
tasks: ${{ env.TASKS }} "-Porg.gradle.java.installations.paths=${{ steps.setup-jdk.outputs.path }}"
gradleEnterpriseUrl: ${{ env.GRADLE_ENTERPRISE_URL }}
failIfNotFullyCacheable: true
if: matrix.experimentId == 3

0 comments on commit 96d2558

Please sign in to comment.