copr-builders: fixup the max-worker limit

In the maximum concurrency limit we did not count with a long time
separated ppc64le machines, but add also s390x since today.
This commit is contained in:
Pavel Raiskup 2022-01-18 14:27:12 +01:00
parent 6e3921826f
commit 1a06db4aba
2 changed files with 4 additions and 4 deletions

View file

@ -201,7 +201,7 @@
- provision_config
- name: calculate max number of workers
set_fact: "max_workers={{ max_x86_64_workers|int + max_aarch64_workers|int }}"
set_fact: "max_workers={{ max_x86_64_workers|int + max_aarch64_workers|int + max_ppc64le_workers|int + max_s390x_workers|int }}"
tags:
- provision_config

View file

@ -48,10 +48,10 @@ builds_max_workers_arch=
x86_64={{ max_x86_64_workers }},
aarch64={{ max_aarch64_workers }},
s390x={{ max_s390x_workers }},
armhfp={{ (max_x86_64_workers|int / 4)|int }},
i386={{ (max_x86_64_workers|int / 4)|int }},
armhfp={{ (max_x86_64_workers|int / 5)|int }},
i386={{ (max_x86_64_workers|int / 5)|int }},
i586={{ (max_x86_64_workers|int / 4)|int }},
i686={{ (max_x86_64_workers|int / 4)|int }},
i686={{ (max_x86_64_workers|int / 5)|int }},
ppc64le={{ max_ppc64le_workers }}
# Maximum number of concurrently running tasks per project owner.