Skip to content

Commit

Permalink
Jobs with duplicated instances still need separate concurrency keys b…
Browse files Browse the repository at this point in the history
…ased on platform
  • Loading branch information
jleibs committed Apr 26, 2023
1 parent e4814bc commit 0ad1998
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 24 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/manual_build_wheels_for_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
name: 'Linux: Build/Test Wheels'
uses: ./.github/workflows/reusable_build_and_test_wheels.yml
with:
CONCURRENCY: manual-wheels-${{ needs.check-for-pr.outputs.PR_NUMBER }}
CONCURRENCY: manual-wheels-linux-${{ needs.check-for-pr.outputs.PR_NUMBER }}
PLATFORM: linux
WHEEL_ARTIFACT_NAME: linux-wheel
RRD_ARTIFACT_NAME: linux-rrd
Expand All @@ -43,7 +43,7 @@ jobs:
name: 'Windows: Build/Test Wheels'
uses: ./.github/workflows/reusable_build_and_test_wheels.yml
with:
CONCURRENCY: manual-wheels-${{ needs.check-for-pr.outputs.PR_NUMBER }}
CONCURRENCY: manual-wheels-windows-${{ needs.check-for-pr.outputs.PR_NUMBER }}
PLATFORM: windows
WHEEL_ARTIFACT_NAME: windows-wheel
RRD_ARTIFACT_NAME: ''
Expand All @@ -54,7 +54,7 @@ jobs:
name: 'Macos-Arm: Build/Test Wheels'
uses: ./.github/workflows/reusable_build_and_test_wheels.yml
with:
CONCURRENCY: manual-wheels-${{ needs.check-for-pr.outputs.PR_NUMBER }}
CONCURRENCY: manual-wheels-macos-arm-${{ needs.check-for-pr.outputs.PR_NUMBER }}
PLATFORM: macos-arm
WHEEL_ARTIFACT_NAME: macos-arm-wheel
RRD_ARTIFACT_NAME: ''
Expand All @@ -65,7 +65,7 @@ jobs:
name: 'Macos-Intel: Build/Test Wheels'
uses: ./.github/workflows/reusable_build_and_test_wheels.yml
with:
CONCURRENCY: manual-wheels-${{ needs.check-for-pr.outputs.PR_NUMBER }}
CONCURRENCY: manual-wheels-macos-intel-${{ needs.check-for-pr.outputs.PR_NUMBER }}
PLATFORM: macos-intel
WHEEL_ARTIFACT_NAME: 'macos-intel-wheel'
RRD_ARTIFACT_NAME: ''
Expand All @@ -76,7 +76,7 @@ jobs:
needs: [build-linux]
uses: ./.github/workflows/reusable_upload_wheels.yml
with:
CONCURRENCY: manual-wheels-${{ needs.check-for-pr.outputs.PR_NUMBER }}
CONCURRENCY: manual-wheels-linux-${{ needs.check-for-pr.outputs.PR_NUMBER }}
WHEEL_ARTIFACT_NAME: linux-wheel
RRD_ARTIFACT_NAME: linux-rrd
secrets: inherit
Expand All @@ -86,7 +86,7 @@ jobs:
needs: [build-linux, build-windows]
uses: ./.github/workflows/reusable_upload_wheels.yml
with:
CONCURRENCY: manual-wheels-${{ needs.check-for-pr.outputs.PR_NUMBER }}
CONCURRENCY: manual-wheels-windows-${{ needs.check-for-pr.outputs.PR_NUMBER }}
WHEEL_ARTIFACT_NAME: windows-wheel
RRD_ARTIFACT_NAME: linux-rrd
secrets: inherit
Expand All @@ -96,7 +96,7 @@ jobs:
needs: [build-linux, build-macos-arm]
uses: ./.github/workflows/reusable_upload_wheels.yml
with:
CONCURRENCY: manual-wheels-${{ needs.check-for-pr.outputs.PR_NUMBER }}
CONCURRENCY: manual-wheels--macos-arm-${{ needs.check-for-pr.outputs.PR_NUMBER }}
WHEEL_ARTIFACT_NAME: macos-arm-wheel
RRD_ARTIFACT_NAME: linux-rrd
secrets: inherit
Expand All @@ -106,7 +106,7 @@ jobs:
needs: [build-linux, build-macos-intel]
uses: ./.github/workflows/reusable_upload_wheels.yml
with:
CONCURRENCY: manual-wheels-${{ needs.check-for-pr.outputs.PR_NUMBER }}
CONCURRENCY: manual-wheels-macos-intel-${{ needs.check-for-pr.outputs.PR_NUMBER }}
WHEEL_ARTIFACT_NAME: macos-intel-wheel
RRD_ARTIFACT_NAME: linux-rrd
secrets: inherit
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/manual_dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:

uses: ./.github/workflows/reusable_build_and_test_wheels.yml
with:
CONCURRENCY: manual-dispatch-${{ github.run_id}}
CONCURRENCY: manual-dispatch-linux-${{ github.run_id}}
SAVE_CACHE: ${{ github.event.inputs.SAVE_CACHE == 'true' }}
PLATFORM: linux
WHEEL_ARTIFACT_NAME: linux-wheel
Expand All @@ -131,7 +131,7 @@ jobs:
if: ${{ contains(github.event.inputs.WHEEL_PLATFORMS, 'windows') }}
uses: ./.github/workflows/reusable_build_and_test_wheels.yml
with:
CONCURRENCY: manual-dispatch-${{ github.run_id}}
CONCURRENCY: manual-dispatch-windows-${{ github.run_id}}
SAVE_CACHE: ${{ github.event.inputs.SAVE_CACHE == 'true' }}
PLATFORM: windows
WHEEL_ARTIFACT_NAME: windows-wheel
Expand All @@ -144,7 +144,7 @@ jobs:
if: ${{ contains(github.event.inputs.WHEEL_PLATFORMS, 'macos-arm') }}
uses: ./.github/workflows/reusable_build_and_test_wheels.yml
with:
CONCURRENCY: manual-dispatch-${{ github.run_id}}
CONCURRENCY: manual-dispatch-macos-arm-${{ github.run_id}}
SAVE_CACHE: ${{ github.event.inputs.SAVE_CACHE == 'true' }}
PLATFORM: macos-arm
WHEEL_ARTIFACT_NAME: macos-arm-wheel
Expand All @@ -157,7 +157,7 @@ jobs:
if: ${{ contains(github.event.inputs.WHEEL_PLATFORMS, 'macos-intel') }}
uses: ./.github/workflows/reusable_build_and_test_wheels.yml
with:
CONCURRENCY: manual-dispatch-${{ github.run_id}}
CONCURRENCY: manual-dispatch-macos-intel-${{ github.run_id}}
SAVE_CACHE: ${{ github.event.inputs.SAVE_CACHE == 'true' }}
PLATFORM: macos-intel
WHEEL_ARTIFACT_NAME: 'macos-intel-wheel'
Expand All @@ -172,7 +172,7 @@ jobs:
if: ${{ contains(github.event.inputs.WHEEL_PLATFORMS, 'linux') && (github.event.inputs.UPLOAD_GCLOUD == 'true') }}
uses: ./.github/workflows/reusable_upload_wheels.yml
with:
CONCURRENCY: manual-dispatch-${{ github.run_id}}
CONCURRENCY: manual-dispatch-linux-${{ github.run_id}}
WHEEL_ARTIFACT_NAME: linux-wheel
RRD_ARTIFACT_NAME: linux-rrd
secrets: inherit
Expand All @@ -183,7 +183,7 @@ jobs:
if: ${{ contains(github.event.inputs.WHEEL_PLATFORMS, 'windows') && (github.event.inputs.UPLOAD_GCLOUD == 'true') }}
uses: ./.github/workflows/reusable_upload_wheels.yml
with:
CONCURRENCY: manual-dispatch-${{ github.run_id}}
CONCURRENCY: manual-dispatch-windows-${{ github.run_id}}
WHEEL_ARTIFACT_NAME: windows-wheel
RRD_ARTIFACT_NAME: linux-rrd
secrets: inherit
Expand All @@ -194,7 +194,7 @@ jobs:
if: ${{ contains(github.event.inputs.WHEEL_PLATFORMS, 'macos-arm') && (github.event.inputs.UPLOAD_GCLOUD == 'true') }}
uses: ./.github/workflows/reusable_upload_wheels.yml
with:
CONCURRENCY: manual-dispatch-${{ github.run_id}}
CONCURRENCY: manual-dispatch-macos-arm-${{ github.run_id}}
WHEEL_ARTIFACT_NAME: macos-arm-wheel
RRD_ARTIFACT_NAME: linux-rrd
secrets: inherit
Expand All @@ -205,7 +205,7 @@ jobs:
if: ${{ contains(github.event.inputs.WHEEL_PLATFORMS, 'macos-intel') && (github.event.inputs.UPLOAD_GCLOUD == 'true') }}
uses: ./.github/workflows/reusable_upload_wheels.yml
with:
CONCURRENCY: manual-dispatch-${{ github.run_id}}
CONCURRENCY: manual-dispatch-macos-intel-${{ github.run_id}}
WHEEL_ARTIFACT_NAME: macos-intel-wheel
RRD_ARTIFACT_NAME: linux-rrd
secrets: inherit
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/on_push_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
name: 'Linux: Build/Test Wheels'
uses: ./.github/workflows/reusable_build_and_test_wheels.yml
with:
CONCURRENCY: push-${{ github.ref_name }}
CONCURRENCY: push-linux-${{ github.ref_name }}
PLATFORM: linux
WHEEL_ARTIFACT_NAME: linux-wheel
RRD_ARTIFACT_NAME: linux-rrd
Expand All @@ -66,7 +66,7 @@ jobs:
name: 'Windows: Build/Test Wheels'
uses: ./.github/workflows/reusable_build_and_test_wheels.yml
with:
CONCURRENCY: push-${{ github.ref_name }}
CONCURRENCY: push-windows-${{ github.ref_name }}
PLATFORM: windows
WHEEL_ARTIFACT_NAME: windows-wheel
RRD_ARTIFACT_NAME: ''
Expand All @@ -77,7 +77,7 @@ jobs:
name: 'Macos-Arm: Build/Test Wheels'
uses: ./.github/workflows/reusable_build_and_test_wheels.yml
with:
CONCURRENCY: push-${{ github.ref_name }}
CONCURRENCY: push-macos-arm-${{ github.ref_name }}
PLATFORM: macos-arm
WHEEL_ARTIFACT_NAME: macos-arm-wheel
RRD_ARTIFACT_NAME: ''
Expand All @@ -88,7 +88,7 @@ jobs:
name: 'Macos-Intel: Build/Test Wheels'
uses: ./.github/workflows/reusable_build_and_test_wheels.yml
with:
CONCURRENCY: push-${{ github.ref_name }}
CONCURRENCY: push-macos-intel-${{ github.ref_name }}
PLATFORM: macos-intel
WHEEL_ARTIFACT_NAME: 'macos-intel-wheel'
RRD_ARTIFACT_NAME: ''
Expand All @@ -99,7 +99,7 @@ jobs:
needs: [build-linux]
uses: ./.github/workflows/reusable_upload_wheels.yml
with:
CONCURRENCY: push-${{ github.ref_name }}
CONCURRENCY: push-linux-${{ github.ref_name }}
WHEEL_ARTIFACT_NAME: linux-wheel
RRD_ARTIFACT_NAME: linux-rrd
secrets: inherit
Expand All @@ -109,7 +109,7 @@ jobs:
needs: [build-linux, build-windows]
uses: ./.github/workflows/reusable_upload_wheels.yml
with:
CONCURRENCY: push-${{ github.ref_name }}
CONCURRENCY: push-windows-${{ github.ref_name }}
WHEEL_ARTIFACT_NAME: windows-wheel
RRD_ARTIFACT_NAME: linux-rrd
secrets: inherit
Expand All @@ -119,7 +119,7 @@ jobs:
needs: [build-linux, build-macos-arm]
uses: ./.github/workflows/reusable_upload_wheels.yml
with:
CONCURRENCY: push-${{ github.ref_name }}
CONCURRENCY: push-macos-arm-${{ github.ref_name }}
WHEEL_ARTIFACT_NAME: macos-arm-wheel
RRD_ARTIFACT_NAME: linux-rrd
secrets: inherit
Expand All @@ -129,7 +129,7 @@ jobs:
needs: [build-linux, build-macos-intel]
uses: ./.github/workflows/reusable_upload_wheels.yml
with:
CONCURRENCY: push-${{ github.ref_name }}
CONCURRENCY: push-macos-intel-${{ github.ref_name }}
WHEEL_ARTIFACT_NAME: macos-intel-wheel
RRD_ARTIFACT_NAME: linux-rrd
secrets: inherit
Expand Down

0 comments on commit 0ad1998

Please sign in to comment.