copr-backend: don't start machines on hv02 x86

https://pagure.io/fedora-infrastructure/issue/11755
This commit is contained in:
Pavel Raiskup 2024-02-06 11:29:20 +01:00
parent 0d6476a553
commit 21d01db0a6

View file

@ -78,7 +78,11 @@ aws_{{ arch }}_{{ on_demand + '_' if on_demand is not none else '' }}{% if spot
{% for hv in ["01", "02", "03", "04"] %}
{% if "x86_hypervisor_" + hv in builders %}
copr_hv_x86_64_{{ hv }}_{% if devel %}dev{% else %}prod{% endif %}:
{% if hv == "02" %}
max: 0
{% else %}
max: {{ builders["x86_hypervisor_" + hv]["x86_64"][0] }}
{% endif %}
max_starting: {{ builders["x86_hypervisor_" + hv]["x86_64"][1] }}
max_prealloc: {{ builders["x86_hypervisor_" + hv]["x86_64"][2] }}
tags: