copr-fe-dev: simplify testing on demand instances

The pattern matching allows me to do tests in projects like:
$ copr-dev create measure-aws-powerful-c7i.8xlarge --chroot fedora-rawhide-x86_64

But the instance type needs to be selected manually in pools.yaml.
This commit is contained in:
Pavel Raiskup 2023-10-23 09:46:28 +02:00
parent c1af467ba0
commit 4d6f2e9cc4

View file

@ -184,19 +184,19 @@ EXTRA_BUILDCHROOT_TAGS = [{
"pattern": "@copr/powerful-test/fedora-rawhide-(x86_64|aarch64)/.*",
"tags": ["on_demand_powerful"],
}, {
"pattern": "@copr/measure-hypervisor/.*x86_64/.*",
"pattern": "@copr/measure-hypervisor.*/.*x86_64/.*",
"tags": ["hypervisor"],
}, {
"pattern": "@copr/measure-hypervisor/.*ppc64le/.*",
"pattern": "@copr/measure-hypervisor.*/.*ppc64le/.*",
"tags": ["hypervisor", "arch_power9"],
}, {
"pattern": "@copr/measure-aws/.*/.*",
"pattern": "@copr/measure-aws.*/.*/.*",
"tags": ["aws"],
}, {
"pattern": "@copr/measure-aws-powerful/.*/.*",
"tags": ["aws", "on_demand_powerful"],
"pattern": "@copr/measure-aws-powerful.*/.*/.*",
"tags": ["on_demand_powerful"],
}, {
"pattern": "@copr/measure-hv-p08/.*/.*",
"pattern": "@copr/measure-hv-p08.*/.*/.*",
"tags": ["arch_power8"],
}]
{% endif %}