From 784ccf97bac32db43ea1a9c1f8ec231d125ac099 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Tue, 25 Jun 2024 15:14:43 +0200 Subject: [PATCH] ci: adjust max-parallel Signed-off-by: Ettore Di Giacinto --- .github/workflows/image.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml index f1c2db6c..003ca28e 100644 --- a/.github/workflows/image.yml +++ b/.github/workflows/image.yml @@ -39,7 +39,7 @@ jobs: strategy: # Pushing with all jobs in parallel # eats the bandwidth of all the nodes - max-parallel: ${{ github.event_name != 'pull_request' && 6 || 12 }} + max-parallel: ${{ github.event_name != 'pull_request' && 6 || 10 }} matrix: include: # Extra images @@ -257,6 +257,7 @@ jobs: quayUsername: ${{ secrets.LOCALAI_REGISTRY_USERNAME }} quayPassword: ${{ secrets.LOCALAI_REGISTRY_PASSWORD }} strategy: + max-parallel: ${{ github.event_name != 'pull_request' && 2 || 4 }} matrix: include: - build-type: '' @@ -323,4 +324,4 @@ jobs: image-type: 'core' runs-on: 'arc-runner-set' base-image: "ubuntu:22.04" - makeflags: "--jobs=4 --output-sync=target" \ No newline at end of file + makeflags: "--jobs=4 --output-sync=target"