copr-backend: temporarily comment max_workers tasks

See https://pagure.io/fedora-infrastructure/issue/11336

We need to temporarily comment the following few tasks. They fail
because the `python3-jmespath` on batcave is provided older python
version than we need.
This commit is contained in:
Jakub Kadlcik 2023-05-23 22:26:47 +02:00
parent 9121258f52
commit ccab97a1ca

View file

@ -192,28 +192,36 @@
# tags:
# - provision_config
#
- name: calculate the maximum resalloc workers per architecture
set_fact: "max_{{ item }}_workers={{ builders | community.general.json_query('*.'+item+'[0]') | sum() }}"
with_items:
- aarch64
- ppc64le
- x86_64
- s390x
tags:
- provision_config
- name: calculate max number of workers
set_fact: "max_workers={{ max_x86_64_workers|int + max_aarch64_workers|int + max_ppc64le_workers|int + max_s390x_workers|int }}"
tags:
- provision_config
- name: print max arch workers
debug: "var=max_{{ item }}_workers"
with_items:
- x86_64
- aarch64
tags:
- provision_config
# We need to temporarily comment the following few tasks. They fail
# because the `python3-jmespath` on batcave is provided older python
# version than we need.
# See https://pagure.io/fedora-infrastructure/issue/11336
#
# - name: calculate the maximum resalloc workers per architecture
# set_fact: "max_{{ item }}_workers={{ builders | community.general.json_query('*.'+item+'[0]') | sum() }}"
# with_items:
# - aarch64
# - ppc64le
# - x86_64
# - s390x
# tags:
# - provision_config
#
# - name: calculate max number of workers
# set_fact: "max_workers={{ max_x86_64_workers|int + max_aarch64_workers|int + max_ppc64le_workers|int + max_s390x_workers|int }}"
# tags:
# - provision_config
#
# - name: print max arch workers
# debug: "var=max_{{ item }}_workers"
# with_items:
# - x86_64
# - aarch64
# tags:
# - provision_config
- name: resalloc
import_tasks: resalloc.yml