greenwave: various follow-up fixes

The subject type is `bodhi_update`, not `koji_build` since we're
reporting against an update, not koji builds. Also adjust the id
accordingly.

Add `fedora-41` now that we've branched.

Fixes 0f91c69c5c ("greenwave: gate CoreOS packages on
`coreos.cosa.build-and-test`").
This commit is contained in:
Jonathan Lebon 2024-02-14 18:04:10 -05:00
parent 93250fc4c5
commit 81b8a015c0

View file

@ -511,15 +511,16 @@ rules:
# This policy enforces gating for CoreOS-owned packages.
# See https://github.com/coreos/fedora-coreos-tracker/issues/1617 for details.
--- !Policy
id: "kojibuild_bodhipush_coreos"
id: "bodhiupdate_bodhipush_coreos"
product_versions:
- fedora-39
- fedora-40
- fedora-41
- fedora-rawhide
decision_contexts:
- bodhi_update_push_testing_critical-path-coreos_critpath
- bodhi_update_push_stable_critical-path-coreos_critpath
subject_type: koji_build
subject_type: bodhi_update
rules:
# test case name source of truth at (the resultsdb-report script prepends `coreos.`):
# https://github.com/coreos/coreos-ci/blob/1d353f8fac/jobs/bodhi-trigger.Jenkinsfile#L245