Bug 1470886 - only produce tasks for recognized tasks_for; r=tomprince
commit9b317841af586bb20a3dfc4b529f36e3ad4f2ae5
authorDustin J. Mitchell <dustin@mozilla.com>
Tue, 3 Jul 2018 18:07:42 +0000 (3 18:07 +0000)
committerDustin J. Mitchell <dustin@mozilla.com>
Tue, 3 Jul 2018 18:07:42 +0000 (3 18:07 +0000)
treeddf60b90e98c383494b42eae6a9f96ea788bbf3d
parent37e3147abd7093ed122140a5edb2a020d1646dfc
Bug 1470886 - only produce tasks for recognized tasks_for; r=tomprince

This carefully maintains tasks as an array by putting the conditional inside of
that array.  Note that `[{$if: 'false', then: 1}]` returns `[]` in JSON-e --
the missing `else` branch is treated as a missing array element.

MozReview-Commit-ID: 9ARIxW3gfWo

--HG--
extra : rebase_source : 304ce14ccc9abc9f4f48f3179adb981b5fe55a0e
.taskcluster.yml
taskcluster/taskgraph/actions/registry.py