packit / packit-service

Packit provided as a service
https://packit.dev
MIT License
34 stars 47 forks source link

RFE Add overall status report for rpm-build #2493

Open pbrezina opened 1 month ago

pbrezina commented 1 month ago

Description

summary

Packit has "fedora-all" label to run rpm builds against all active Fedoras, but the name of the job contains the Fedora version which can change. Therefore it is not easy to require this check in "branch protection rules" on github, since I need to update the protection rules every time Fedora versions change.

I would like to see overall job status rpm-build:result that will fail if any of the rpm builds fail. It will be green if all builds are successful. Then it will be possible to require "rpm-build:result" to succeed as a branch protection rule.

Benefit

Easier management of branch protection rules.

Importance

Low.

What is the impacted category (job)?

Copr builds

Workaround

Participation

mfocko commented 1 month ago

Hi, thanks a lot for the RFE.

Currently we also have a status_name_template config option that's been intended for this use-case, alas during the testing I found out that it's still bit complicated to solve (cause the merge rules on GitHub' side require the same status name for both PR and merge queue branch, which introduces a lot of duplication).

OTOH I would be careful with this feature, as I am wary of the fedora-rawhide :)