being more selective on the koji tags we trigger on. Fixes T862
ClosedPublic

Authored by tflink on Oct 31 2016, 7:51 PM.

Details

Summary

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

Test Plan

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.
tflink retitled this revision from to being more selective on the koji tags we trigger on. Fixes T862.Oct 31 2016, 7:51 PM
tflink updated this object.
tflink edited the test plan for this revision. (Show Details)
tflink added reviewers: mkrizek, jskladan.
tflink added a subscriber: kparal.
mkrizek accepted this revision.Oct 31 2016, 8:46 PM

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.

This revision is now accepted and ready to land.Oct 31 2016, 8:46 PM

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

This revision was automatically updated to reflect the committed changes.