mirror of
https://github.com/gradle/actions
synced 2024-12-17 21:52:21 +00:00
Attempt to reduce contention in integ-test-full
This commit is contained in:
parent
0b404a7148
commit
64869b1757
10 changed files with 37 additions and 15 deletions
|
@ -21,6 +21,7 @@ env:
|
||||||
jobs:
|
jobs:
|
||||||
cache-cleanup-full-build:
|
cache-cleanup-full-build:
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
@ -43,6 +44,7 @@ jobs:
|
||||||
cache-cleanup-assemble-build:
|
cache-cleanup-assemble-build:
|
||||||
needs: cache-cleanup-full-build
|
needs: cache-cleanup-full-build
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
@ -65,6 +67,7 @@ jobs:
|
||||||
cache-cleanup-check-clean-cache:
|
cache-cleanup-check-clean-cache:
|
||||||
needs: cache-cleanup-assemble-build
|
needs: cache-cleanup-assemble-build
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
|
|
@ -20,6 +20,7 @@ env:
|
||||||
jobs:
|
jobs:
|
||||||
caching-config-seed-build:
|
caching-config-seed-build:
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
@ -50,6 +51,7 @@ jobs:
|
||||||
caching-config-verify-build:
|
caching-config-verify-build:
|
||||||
needs: caching-config-seed-build
|
needs: caching-config-seed-build
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
@ -78,6 +80,7 @@ jobs:
|
||||||
# Test that build scans are captured when caching is explicitly disabled
|
# Test that build scans are captured when caching is explicitly disabled
|
||||||
caching-config-cache-disabled:
|
caching-config-cache-disabled:
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
@ -132,6 +135,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GRADLE_BUILD_ACTION_CACHE_KEY_PREFIX: caching-config-write-only-${{ inputs.cache-key-prefix }}
|
GRADLE_BUILD_ACTION_CACHE_KEY_PREFIX: caching-config-write-only-${{ inputs.cache-key-prefix }}
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
@ -155,6 +159,7 @@ jobs:
|
||||||
GRADLE_BUILD_ACTION_CACHE_KEY_PREFIX: caching-config-write-only-${{ inputs.cache-key-prefix }}
|
GRADLE_BUILD_ACTION_CACHE_KEY_PREFIX: caching-config-write-only-${{ inputs.cache-key-prefix }}
|
||||||
needs: caching-config-seed-write-only
|
needs: caching-config-seed-write-only
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
|
|
@ -23,11 +23,7 @@ env:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
dependency-graph-groovy-upload:
|
dependency-graph-groovy-upload:
|
||||||
strategy:
|
runs-on: "ubuntu-latest"
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout sources
|
- name: Checkout sources
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -59,11 +55,7 @@ jobs:
|
||||||
DEPENDENCY_GRAPH_DOWNLOAD_ARTIFACT_NAME: groovy-upload
|
DEPENDENCY_GRAPH_DOWNLOAD_ARTIFACT_NAME: groovy-upload
|
||||||
|
|
||||||
dependency-graph-kotlin-generate-and-submit:
|
dependency-graph-kotlin-generate-and-submit:
|
||||||
strategy:
|
runs-on: "ubuntu-latest"
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout sources
|
- name: Checkout sources
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -79,11 +71,7 @@ jobs:
|
||||||
working-directory: .github/workflow-samples/kotlin-dsl
|
working-directory: .github/workflow-samples/kotlin-dsl
|
||||||
|
|
||||||
dependency-graph-multiple-builds:
|
dependency-graph-multiple-builds:
|
||||||
strategy:
|
runs-on: "ubuntu-latest"
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout sources
|
- name: Checkout sources
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
|
@ -24,6 +24,7 @@ env:
|
||||||
jobs:
|
jobs:
|
||||||
dependency-submission-groovy-generate-and-upload:
|
dependency-submission-groovy-generate-and-upload:
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
@ -46,6 +47,7 @@ jobs:
|
||||||
dependency-submission-groovy-restore-cache:
|
dependency-submission-groovy-restore-cache:
|
||||||
needs: [dependency-submission-groovy-generate-and-upload]
|
needs: [dependency-submission-groovy-generate-and-upload]
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
@ -67,6 +69,7 @@ jobs:
|
||||||
dependency-submission-groovy-download-and-submit:
|
dependency-submission-groovy-download-and-submit:
|
||||||
needs: [dependency-submission-groovy-generate-and-upload]
|
needs: [dependency-submission-groovy-generate-and-upload]
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
@ -86,6 +89,7 @@ jobs:
|
||||||
|
|
||||||
dependency-submission-kotlin-generate-and-submit:
|
dependency-submission-kotlin-generate-and-submit:
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
@ -103,6 +107,7 @@ jobs:
|
||||||
|
|
||||||
dependency-submission-multiple-builds:
|
dependency-submission-multiple-builds:
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
@ -148,6 +153,7 @@ jobs:
|
||||||
|
|
||||||
dependency-submission-multiple-builds-upload:
|
dependency-submission-multiple-builds-upload:
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
@ -299,6 +305,7 @@ jobs:
|
||||||
|
|
||||||
dependency-submission-custom-report-dir-submit:
|
dependency-submission-custom-report-dir-submit:
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
|
|
@ -23,6 +23,7 @@ jobs:
|
||||||
# Each build verifies that it is executed with the expected Gradle version.
|
# Each build verifies that it is executed with the expected Gradle version.
|
||||||
provision-gradle:
|
provision-gradle:
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
|
|
@ -25,6 +25,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GRADLE_BUILD_ACTION_CACHE_KEY_JOB: restore-cc-groovy
|
GRADLE_BUILD_ACTION_CACHE_KEY_JOB: restore-cc-groovy
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
@ -57,6 +58,7 @@ jobs:
|
||||||
GRADLE_BUILD_ACTION_CACHE_KEY_JOB_EXECUTION: ${{github.sha}}_1
|
GRADLE_BUILD_ACTION_CACHE_KEY_JOB_EXECUTION: ${{github.sha}}_1
|
||||||
needs: restore-cc-seed-build-groovy
|
needs: restore-cc-seed-build-groovy
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
@ -98,6 +100,7 @@ jobs:
|
||||||
GRADLE_BUILD_ACTION_CACHE_KEY_JOB_EXECUTION: ${{github.sha}}_2
|
GRADLE_BUILD_ACTION_CACHE_KEY_JOB_EXECUTION: ${{github.sha}}_2
|
||||||
needs: restore-cc-verify-build-groovy
|
needs: restore-cc-verify-build-groovy
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
@ -138,6 +141,7 @@ jobs:
|
||||||
GRADLE_BUILD_ACTION_CACHE_KEY_JOB_EXECUTION: ${{github.sha}}_x
|
GRADLE_BUILD_ACTION_CACHE_KEY_JOB_EXECUTION: ${{github.sha}}_x
|
||||||
needs: restore-cc-seed-build-groovy
|
needs: restore-cc-seed-build-groovy
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
@ -169,6 +173,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GRADLE_BUILD_ACTION_CACHE_KEY_JOB: restore-cc-kotlin
|
GRADLE_BUILD_ACTION_CACHE_KEY_JOB: restore-cc-kotlin
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
@ -201,6 +206,7 @@ jobs:
|
||||||
GRADLE_BUILD_ACTION_CACHE_KEY_JOB_EXECUTION: ${{github.sha}}_1
|
GRADLE_BUILD_ACTION_CACHE_KEY_JOB_EXECUTION: ${{github.sha}}_1
|
||||||
needs: restore-cc-seed-build-kotlin
|
needs: restore-cc-seed-build-kotlin
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
@ -233,6 +239,7 @@ jobs:
|
||||||
GRADLE_BUILD_ACTION_CACHE_KEY_JOB_EXECUTION: ${{github.sha}}_2
|
GRADLE_BUILD_ACTION_CACHE_KEY_JOB_EXECUTION: ${{github.sha}}_2
|
||||||
needs: restore-cc-modify-build-kotlin
|
needs: restore-cc-modify-build-kotlin
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
|
|
@ -21,6 +21,7 @@ env:
|
||||||
jobs:
|
jobs:
|
||||||
restore-gradle-home-seed-build:
|
restore-gradle-home-seed-build:
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
@ -43,6 +44,7 @@ jobs:
|
||||||
restore-gradle-home-dependencies-cache:
|
restore-gradle-home-dependencies-cache:
|
||||||
needs: restore-gradle-home-seed-build
|
needs: restore-gradle-home-seed-build
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
@ -65,6 +67,7 @@ jobs:
|
||||||
restore-gradle-home-build-cache:
|
restore-gradle-home-build-cache:
|
||||||
needs: restore-gradle-home-seed-build
|
needs: restore-gradle-home-seed-build
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
@ -87,6 +90,7 @@ jobs:
|
||||||
restore-gradle-home-no-extracted-cache-entries-restored:
|
restore-gradle-home-no-extracted-cache-entries-restored:
|
||||||
needs: restore-gradle-home-seed-build
|
needs: restore-gradle-home-seed-build
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
@ -111,6 +115,7 @@ jobs:
|
||||||
restore-gradle-home-pre-existing-gradle-home:
|
restore-gradle-home-pre-existing-gradle-home:
|
||||||
needs: restore-gradle-home-seed-build
|
needs: restore-gradle-home-seed-build
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
|
|
@ -20,6 +20,7 @@ env:
|
||||||
jobs:
|
jobs:
|
||||||
restore-java-toolchain-seed-build:
|
restore-java-toolchain-seed-build:
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
@ -42,6 +43,7 @@ jobs:
|
||||||
restore-java-toolchain-verify-build:
|
restore-java-toolchain-verify-build:
|
||||||
needs: restore-java-toolchain-seed-build
|
needs: restore-java-toolchain-seed-build
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
|
|
@ -20,6 +20,7 @@ env:
|
||||||
jobs:
|
jobs:
|
||||||
sample-gradle-plugin-seed-build:
|
sample-gradle-plugin-seed-build:
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
@ -41,6 +42,7 @@ jobs:
|
||||||
sample-gradle-plugin-verify-build:
|
sample-gradle-plugin-verify-build:
|
||||||
needs: sample-gradle-plugin-seed-build
|
needs: sample-gradle-plugin-seed-build
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
|
|
@ -20,6 +20,7 @@ env:
|
||||||
jobs:
|
jobs:
|
||||||
sample-kotlin-dsl-seed-build:
|
sample-kotlin-dsl-seed-build:
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
@ -41,6 +42,7 @@ jobs:
|
||||||
sample-kotlin-dsl-verify-build:
|
sample-kotlin-dsl-verify-build:
|
||||||
needs: sample-kotlin-dsl-seed-build
|
needs: sample-kotlin-dsl-seed-build
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ${{fromJSON(inputs.runner-os)}}
|
os: ${{fromJSON(inputs.runner-os)}}
|
||||||
|
|
Loading…
Reference in a new issue