Closed Bug 1079429 Opened 11 years ago Closed 10 years ago

taskcluster: graph generation script should take arguments instead of expecting specific env variables

Categories

(Firefox OS Graveyard :: Gaia, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jlal, Assigned: jlal)

References

Details

Right now the graph script https://github.com/mozilla-b2g/gaia/blob/master/tests/taskcluster/bin/graph expects a bunch of random environment variables... I think this is okay in combination with use in the "command" but right now we pick them up straight from `process.env` which is pretty magical from an outside perspective. The solution here is to make the script a true "CLI" with a help command and arguments which we will fill in from the root taskgraph.json in the gaia tree.
Blocks: 1076681
Assignee: nobody → jlal
This work was done when creating the mach taskcluster-graph command which accepts certain command line inputs and uses those to build the task definition.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.