Files
firefox/taskcluster/taskgraph/templates/env.yml
T
Andrew Halberstadt 3b8c2d1e54 Bug 1391075 - Add template to modify task env from |mach try fuzzy|, r=dustin
This adds a new morph template for modifying a task's env and the corresponding glue
to specify it from |mach try fuzzy|. It can be used like:

./mach try fuzzy --env FOO=1 --env BAR=baz

This will simply set those environment variables in *all* tasks. We could add the
ability to only specify it for a subset of tasks in the future, but that seems like
a hard problem that probably isn't worth it.

MozReview-Commit-ID: C4sokv886PU
2017-08-25 15:24:22 -04:00

10 lines
233 B
YAML

$merge:
- $eval: task
- payload:
$merge:
- $eval: task.payload
- env:
$merge:
- $eval: task.payload.env
- $eval: input