From 2448fc14d9afcbcccd247ba72553f35d0e62ca29 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Mon, 9 Oct 2023 15:21:43 +0200 Subject: [PATCH] copr-be-dev: allocate powerful EC2 machines in @copr/powerful-test --- roles/copr/frontend/templates/copr.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/roles/copr/frontend/templates/copr.conf b/roles/copr/frontend/templates/copr.conf index 33ffbfe1b4..4d364745c7 100644 --- a/roles/copr/frontend/templates/copr.conf +++ b/roles/copr/frontend/templates/copr.conf @@ -162,3 +162,15 @@ FAS_SIGNUP_URL = "https://accounts.fedoraproject.org" {% else %} FAS_SIGNUP_URL = "https://accounts.stg.fedoraproject.org" {% endif %} + +{% if env == 'devel' %} +# On stage we only ever start powerful builders in this project. Note that we +# also start s390x instances in IBM Cloud on-demand , even without the extra +# BuildChroot tags here! The reason is that the `arch_s390x` tag is named in +# the `tags_on_demand` section in resalloc's pools.yaml file. But the +# difference is that `s390x` can be started by anyone. +EXTRA_BUILDCHROOT_TAGS = [{ + "pattern": "@copr/powerful-test/fedora-rawhide-(x86_64|aarch64)/.*", + "tags": ["on_demand_powerful"], +}] +{% endif %}