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
This commit is contained in:
Pavel Raiskup 2023-10-16 09:28:30 +02:00
parent d914880ced
commit 424a9259fc

View file

@ -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 %}