standardize tree names
The pipeline name
trigger variable corresponds to the KCIDB tree_name
checkout field, which for the brew trigger comes from the dictionary key of the trigger configuration in pipeline-data.
As Brew pipelines for the same source package share one KCIDB checkout, the tree_name
must not contain any variant name.
RHEL | Repo | now | proposed | MR | DW regexes/trees migrated |
---|---|---|---|---|---|
MR | kernel-ark | eln-ark | fedora-eln | kernel-ark!3069 (merged) | |
MR | c9s | c9s | c9s | ||
MR | c10s | c10s | c10s | ||
MR | rhel 6 zstream | rhel6 | rhel-6.0 | ||
MR | rhel 7 zstream | rhel7 | rhel-7.0 | ||
MR | rhel 8 zstream | rhel8 | rhel-8.0 | ||
MR | rhel 9 zstream | rhel9 | rhel-9.0 | ||
MR | rhel 8 ystream | rhel8 | rhel-8 | ||
MR | rhel 9 ystream | rhel9 | rhel-9 | ||
MR | rhel 10 ystream | rhel-10 | rhel-10 | ||
GitLab baseline | kernel-ark | eln-ark | fedora-eln | kernel-ark!3069 (merged) | |
Koji | kernel-ark | kernel-eln | fedora-eln | !230 (merged) | |
Brew | rhel 6 zstream | kernel-rhel6 | rhel-6.0 | ||
Brew | rhel 7 zstream | kernel-rhel7 | rhel-7.0 | ||
Brew | rhel 8 zstream | kernel-rhel8 | rhel-8.0 | ||
Brew | rhel 9 zstream | kernel-rhel9 | rhel-9.0 | ||
Brew | rhel 8 ystream | kernel-rhel8 | rhel-8 | ||
Brew | rhel 9 ystream | kernel-rhel9 | rhel-9 | ||
Brew | rhel 10 ystream | rhel-10 | rhel-10 |
Fedora | Repo | now | proposed | MR | DW regexes/trees migrated |
---|---|---|---|---|---|
MR | kernel-ark | rawhide-ark | fedora-rawhide | kernel-ark!3069 (merged) | |
GitLab baseline | kernel-ark | rawhide-ark | fedora-rawhide | kernel-ark!3069 (merged) | |
Koji | kernel-ark | kernel-fedora | fedora-latest | !230 (merged) |
Upstream Repo | proposed |
---|---|
For rt
, automotive
, 64k
etc, these are all going to be folded into the same tree.
AC:
-
introduce new pipeline variable kcidb_tree_name
to finally make clear what this really is, that gets preferred abovename
-
document kcidb_tree_name
(and known values), and deprecatename
-
use the values above for triggers and in kernel repos -
cleanup DW database and convert old tree names -
Add option to filter per package name on kcidb tests view
(https://datawarehouse.cki-project.org/kcidb/tests)
AC followup:
-
merge kernel-ark trees: list(GitTree.objects.all().filter(Q(name__contains='ark')|Q(name__contains='rawhide')|Q(name__contains='fedora')|Q(name__contains='eln')).values_list('name', flat=True))
should only return['fedora-eln', 'fedora-rawhide', 'fedora-latest']
for t in GitTree.objects.all(): if KCIDBCheckout.objects.filter(tree=t).count() == 0: print(t.name)
-
remove kernel-workflow fallback code to deal with job names based on ark_*
: https://gitlab.com/cki-project/kernel-workflow/-/blob/main/webhook/pipelines.py?ref_type=heads#L88