Handle empty config options properly
ClosedPublic

Authored by mkrizek on Apr 2 2015, 11:50 AM.

Details

Summary

This prevents from scheduling jobs from consumers that have no tasks: e.g. http://taskotron-dev.fedoraproject.org/taskmaster/builders/all/builds/0

This also includes: Makefile: change mock root to f21

When acked, I'd like to release taskotron-trigger with this fix asap on dev/stg.

Test Plan

Tested locally content of compose_completed_tasks variable when no tasks were configure. Worked on my machine.

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.
mkrizek retitled this revision from to Handle empty config options properly.Apr 2 2015, 11:50 AM
mkrizek updated this object.
mkrizek edited the test plan for this revision. (Show Details)
mkrizek added a reviewer: tflink.
tflink accepted this revision.Apr 7 2015, 4:08 PM

I assume that this is the cause of the empty compose tasks that got triggered.

This revision is now accepted and ready to land.Apr 7 2015, 4:08 PM
This revision was automatically updated to reflect the committed changes.