enhance taskotron-trigger to convert from bodhi_id to koji_tag where needed
ClosedPublic

Authored by mkrizek on Jun 5 2014, 2:30 PM.

Diff Detail

Repository
rTRGR taskotron-trigger
Lint
Lint Skipped
Unit
Unit Tests Skipped
mkrizek retitled this revision from to enhance taskotron-trigger to convert from bodhi_id to koji_tag where needed.Jun 5 2014, 2:30 PM
mkrizek updated this object.
mkrizek edited the test plan for this revision. (Show Details)
mkrizek added reviewers: tflink, kparal, ralph.
tflink requested changes to this revision.Jun 9 2014, 4:44 AM

Other than the concern about updates-testing, looks pretty good to me

jobtriggers/bodhi_msg.py
34

Is it safe to make this assumption? Updates that are still in updates-testing or pending push to updates-testing would be '%s-updates-testing', no?

This revision now requires changes to proceed.Jun 9 2014, 4:44 AM
mkrizek updated this revision to Diff 369.Jun 9 2014, 11:24 AM

Work with updates-testing as well

tflink added a comment.Jun 9 2014, 2:10 PM

I don't see any unit tests for the fXX-updates-testing case - am I missing something? If not, would you add a test or two to cover that case?

mkrizek updated this revision to Diff 370.Jun 9 2014, 2:23 PM

kojitag -testing test case

tflink accepted this revision.Jun 10 2014, 2:05 PM

Looks good to me

This revision is now accepted and ready to land.Jun 10 2014, 2:05 PM
tflink requested changes to this revision.Jun 12 2014, 2:33 PM

sorry for changing my mind on this but I was reading through it again and having "koji_tag_tasks" doesn't make sense to me since we aren't directly triggering on koji tag change, just triggering a job using the koji tag of an update when we receive a message about a changed update.

conf/trigger.cfg.example
8

I'd like to see this renamed to indicate that it's triggering with koji_tag but is triggered by a bodhi message. something like bodhi_to_koji_tag_tasks

This revision now requires changes to proceed.Jun 12 2014, 2:33 PM
tflink accepted this revision.Jun 13 2014, 2:18 PM

Looks good to me

This revision is now accepted and ready to land.Jun 13 2014, 2:18 PM
mkrizek closed this revision.Jun 13 2014, 3:00 PM
mkrizek updated this revision to Diff 408.

Closed by commit rTRGRb8e933db1c0b (authored by @mkrizek).