there are now '*-signing-pending' tags in koji which we shouldn't be triggering on. make the logic more picky on what gets through and what doesn't so that we're not triggering on invalid tags. Fixes T862
Details
run locally, make sure that jobs on '*-signing-pending' tags are no longer triggered
Diff Detail
- Repository
- rTRGR taskotron-trigger
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
As I am not on my work laptop I can't test but the code looks good to me.
One note is that I thought that all these "ifs" went to trigger_rules.yml with the "rewrite", but @jskladan would know.
Given that this would fix all these crashes we're getting today and the infra freeze is upon us, LGTM.
I'd say let's update stg/prod with the trigger 0.4.x so it can be fixed there as well. I haven't seen any crashes on dev.
Yeah, I'm not sure that we need so much filtering in the python code now that regexp is supported in the rules yaml. I pretty much echo what you're saying, though - freeze is in ~ 4 hours and this needs to be fixed (even if that fix needs to be changed) before then