From 1e0279cfbb91afe932b08ab3b9c3122516415e87 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Thu, 26 Aug 2021 11:29:43 +0200 Subject: [PATCH] copr-be: deprioritize AWS (all builds) and ppc64le builders for source builds --- roles/copr/backend/templates/resalloc/pools.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/roles/copr/backend/templates/resalloc/pools.yaml b/roles/copr/backend/templates/resalloc/pools.yaml index 0ebd0064ad..75b8d4e56e 100644 --- a/roles/copr/backend/templates/resalloc/pools.yaml +++ b/roles/copr/backend/templates/resalloc/pools.yaml @@ -4,7 +4,12 @@ aws_x86_64_{% if spot %}spot{% else %}normal{% endif %}_{% if devel %}dev{% else max_starting: {{ max_starting }} max_prealloc: {{ max_prealloc }} tags: - - copr_builder + - name: copr_builder +{% if spot %} + priority: -5 +{% else %} + priority: -10 +{% endif %} - arch_x86_64 - arch_x86_64_native - arch_i386 @@ -58,6 +63,7 @@ copr_hv_x86_64_{{ hv }}_{% if devel %}dev{% else %}prod{% endif %}: max_prealloc: {{ builders["x86_hypervisor_" + hv]["x86_64"][2] }} tags: - copr_builder + - arch_noarch - arch_x86_64 - arch_x86_64_native - arch_i386 @@ -68,7 +74,6 @@ copr_hv_x86_64_{{ hv }}_{% if devel %}dev{% else %}prod{% endif %}: - arch_i686_native - arch_armhfp - arch_armhfp_emulated - - arch_noarch - arch_s390x - arch_s390x_emulated - hypervisor @@ -100,6 +105,8 @@ copr_hv_ppc64le_{{ hv }}_{% if devel %}dev{% else %}prod{% endif %}: max_prealloc: {{ builders["ppc64le_hypervisor_" + hv]["ppc64le"][2] }} tags: - copr_builder + - name: arch_noarch + priority: -10 - arch_ppc64le - arch_ppc64le_native - hypervisor