From 35a47588a58bdbdfad3632ea8ff39d31d68846a5 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Mon, 9 Oct 2023 10:18:49 +0200 Subject: [PATCH] copr-be-dev: don't set _prealloc for on-demand instances --- roles/copr/backend/templates/resalloc/pools.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/copr/backend/templates/resalloc/pools.yaml b/roles/copr/backend/templates/resalloc/pools.yaml index 11159855b3..7f9e21b30d 100644 --- a/roles/copr/backend/templates/resalloc/pools.yaml +++ b/roles/copr/backend/templates/resalloc/pools.yaml @@ -168,7 +168,9 @@ copr_p09_{{ hv }}_{% if devel %}dev{% else %}prod{% endif %}: # Z Cloud instances copr_ibm_cloud_s390x_tokyo_{% if devel %}dev{% else %}prod{% endif %}: max: {{ builders.ibm_cloud_tokyo.s390x[0] }} +{% if not devel %} max_prealloc: {{ builders.ibm_cloud_tokyo.s390x[1] }} +{% endif %} max_starting: {{ builders.ibm_cloud_tokyo.s390x[2] }} tags: - copr_builder