copr-be: fix project regex for LLVM Snapshots high-performance builders

LLVM Snapshots are built fresh in daily new incubator projects such as `@fedora-llvm-team/llvm-snapshots-incubator-20231107` and the regex wouldn't match them before.

Now the regex works good with grep in the following scenarios:

```
$ echo "@fedora-llvm-team/llvm-snapshots/fedora-rawhide-x86_64/llvm" | grep -ioP '@fedora-llvm-team/llvm-snapshots[^/]*/.*x86_64/(llvm|clang)'
$ echo "@fedora-llvm-team/llvm-snapshots-incubator-20231107/fedora-rawhide-x86_64/llvm" | grep -ioP '@fedora-llvm-team/llvm-snapshots[^/]*/.*x86_64/(llvm|clang)'
```
This commit is contained in:
Konrad Kleine 2023-11-07 21:38:35 +00:00
parent 1be44be6fd
commit ab878dd91d

View file

@ -218,7 +218,7 @@ EXTRA_BUILDCHROOT_TAGS = [{
"tags": ["on_demand_powerful"],
}, {
# https://github.com/fedora-copr/copr/issues/2987
"pattern": "@fedora-llvm-team/llvm-snapshots/.*x86_64/(llvm|clang)",
"pattern": "@fedora-llvm-team/llvm-snapshots[^/]*/.*x86_64/(llvm|clang)",
"tags": ["on_demand_powerful"],
}]
{% endif %}