From 424a9259fcb0b36abba09e9e25111951aebf6db9 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Mon, 16 Oct 2023 09:28:30 +0200 Subject: [PATCH] copr-be-dev: more granular extra builder This will help with measurements, e.g. for the issue: https://github.com/fedora-copr/copr/issues/2241 --- roles/copr/frontend/templates/copr.conf | 26 +++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/roles/copr/frontend/templates/copr.conf b/roles/copr/frontend/templates/copr.conf index 422a9a3ac3..149db6edef 100644 --- a/roles/copr/frontend/templates/copr.conf +++ b/roles/copr/frontend/templates/copr.conf @@ -169,8 +169,34 @@ FAS_SIGNUP_URL = "https://accounts.stg.fedoraproject.org" # 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. +# +# We have prepared those projects on stage: +# $ copr create @copr/measure-hypervisor --chroot fedora-rawhide-x86_64 --chroot fedora-rawhide-ppc64le +# $ copr create @copr/measure-aws --chroot fedora-rawhide-x86_64 --chroot fedora-rawhide-aarch64 +# $ copr create @copr/measure-aws-powerful --chroot fedora-rawhide-x86_64 --chroot fedora-rawhide-aarch64 +# $ copr create @copr/measure-ibm-cloud --chroot fedora-rawhide-s390x +# $ copr create @copr/measure-hv-p08 --chroot fedora-rawhide-ppc64le +# Measure like: +# $ for project in @copr/measure-hypervisor @copr/measure-aws @copr/measure-aws-powerful @copr/measure-ibm-cloud @copr/measure-hv-p08; do +# copr build $project https://... +# done EXTRA_BUILDCHROOT_TAGS = [{ "pattern": "@copr/powerful-test/fedora-rawhide-(x86_64|aarch64)/.*", "tags": ["on_demand_powerful"], +}, { + "pattern": "@copr/measure-hypervisor/.*x86_64/.*", + "tags": ["hypervisor"], +}, { + "pattern": "@copr/measure-hypervisor/.*ppc64le/.*", + "tags": ["hypervisor", "arch_power9"], +}, { + "pattern": "@copr/measure-aws/.*/.*", + "tags": ["aws"], +}, { + "pattern": "@copr/measure-aws-powerful/.*/.*", + "tags": ["aws", "on_demand_powerful"], +}, { + "pattern": "@copr/measure-hv-p08/.*/.*", + "tags": ["arch_power8"], }] {% endif %}