From ec7c63f72d111598fca616e1cafb11ea9da515ac Mon Sep 17 00:00:00 2001 From: James Lamb Date: Tue, 3 Dec 2024 08:39:30 -0600 Subject: [PATCH] limit to 150 concurrent jobs per workflow --- .github/workflows/build-and-publish-images.yaml | 1 + .github/workflows/build-image.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/build-and-publish-images.yaml b/.github/workflows/build-and-publish-images.yaml index c6f72fe..7900fbe 100644 --- a/.github/workflows/build-and-publish-images.yaml +++ b/.github/workflows/build-and-publish-images.yaml @@ -32,6 +32,7 @@ jobs: name: ${{ matrix.IMAGE_REPO }} needs: compute-matrix strategy: + max-parallel: 150 matrix: ${{ fromJSON(needs.compute-matrix.outputs.MATRIX) }} fail-fast: false secrets: inherit diff --git a/.github/workflows/build-image.yaml b/.github/workflows/build-image.yaml index 2b55cbf..5374a7f 100644 --- a/.github/workflows/build-image.yaml +++ b/.github/workflows/build-image.yaml @@ -32,6 +32,7 @@ jobs: run: name: build (${{ matrix.CUDA_VER }}, ${{ matrix.PYTHON_VER }}, ${{ matrix.LINUX_VER }}, ${{ matrix.ARCH }}) strategy: + max-parallel: 150 matrix: ARCH: ${{ fromJSON(inputs.ARCHES) }} CUDA_VER: ["${{ inputs.CUDA_VER }}"]