This removes ambiguity as to which modules are being imported, making
import slightly faster as Python doesn't need to test so many
directories for file presence.
All files should already be using absolute imports because mach command
modules aren't imported to the package they belong to: they instead
belong to the "mach" package. So relative imports shouldn't have been
used.
Tracing imports reveals that this file accounts for a non-trivial amount
of extra imports when mach starts. Deferring imports makes many of them
go away.
taskcluster-build is a very useful commands to perform build tests
without submitting a bunch of branching jobs. Moreover, it helps
newcomers to play with taskcluster.
- Update scopes in decision task to something easier to use locally
- Schedule flame builds (they may fail now)
- Add optional revision-hash argument to decision task mach target
- Use b2gtest worker type for tests
- Use build specific worker types
Adds the $inherits key at the top level of all tasks within gecko. This initial
work covers the deep inheritance cases as well as cyclic references during
inheritance.
Emulator tasks have some additional parameters not found in other
tasks. Therefore, builds can have an 'additional-parameters' field in
which specific task template replacements can be passed to trygraph.
This field is optional.
Moreover, the syntax for job_flags.yml builds was changed a bit.
Now, instead of:
builds:
<platform>:
types:
opt: <task>
debug: <task>
The syntax is:
builds:
<platform>:
types:
opt:
task: <task>
additional-parameters:
<parameter 1>: <value>
<parameter 2>: <value>
...
debug:
task: <task>
additional-parameters:
<parameter 1>: <value>
<parameter 2>: <value>
...
Phone and emualtor builds depends on the environment variable B2G_DEBUG
for debug builds.
mach ci-build now has the --debug option to enable debug builds.
The "mach ci-build" has a new optional argument called b2g-config. This
allows the user to pass the b2g config directory for the target. This
argument is necessary for emulator and phone builds.
The --task-id cli allows you to pass the task id of the correspondent
build task. That's where the b2g image and test file are get from to
run the tests.