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>
...
--HG--
extra : rebase_source : 6c9d7a814d5f7ea56373a4b6b0e05c8d14e9dd5f
extra : source : 3b199b4440826312f0695f81eaa6c6e6abeb621f
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.
--HG--
extra : rebase_source : dc72f176980fd984349f5b1fd15afa64a8cf13f4
extra : source : 6507be4a59460402559f9dcb2141495fdd099eb6
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.
--HG--
extra : rebase_source : 40724b5d1b9b33961180e2a019a7237ca13410b4
extra : source : c20ec1fd15670422f517c352c388bd036c454fb6
The setup of builder image moved to system-setup.sh script because
needs to do more complex work, like downloading repo and installing
mozilla buildtools package.
The build-emulator.sh script is reponsible for building emulators.
Besides the REPOSITORY and REVISION environment variables, it requires
TARGET and B2G_CONFIG too.
--HG--
extra : rebase_source : 670c03f343a6d6aca51f81373aa5c6734d4b8b6b
extra : source : 30b4e858f2c3d5f093ad87c6098d0d1298ca2fdb
virtualenv is a dependency for mozharness.
--HG--
extra : rebase_source : a99c7ecc014d3039859d053572681929d007c9c8
extra : source : 336b87456be85c55b4573b2ae8cfb6b3c61dfabe
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.
--HG--
extra : rebase_source : 8b781137abbd2e72d0cbbc256de571e6ec31448c
extra : source : 12deaa98e57508737850bfb628b183c46e0efe85
These fields are required for b2gtest tasks.
--HG--
extra : rebase_source : 734dab363d4c048de6b6dc93cf4578d459ce0472
extra : source : 5795ad643e02278b7091b3518715f30d0c792616
Artifacts are stored in the /home/worker/artifacts directory. If this
directory doesn't exist, the task finishes unsuccessfully.
--HG--
extra : rebase_source : 96829c518bd31baa1921b996af6231a5a758550f
extra : source : c467a0bb28714e52ce1fe97a04a90679650b0800
These were tasks in json format put here for tests. Not needed anymore,
kill them.
--HG--
extra : rebase_source : 0bc20a1ad6fbd8c254732adf9450b6640aa60165
extra : source : 91f727a3f5e321f80b8b833bf622ae7442452123
Since we now use the gecko tree mozconfigs for building, the docker
mozconfigs are no longer necessary.
--HG--
extra : rebase_source : 86518f6418a00963e9abd23df288fce75d8f52e5
extra : source : bb3a81a684a1d66ae70242609c436b12405970bb
We cannot hardcode the object directory because it is configurable
inside the mozconfig file.
Parse the mozconfig and extract the object directory. If it is not
defined, defaults to "/home/worker/object-folder".
--HG--
extra : rebase_source : 25eb9e7306d8844b20459c01b1a9a7ee85f3f03d
extra : source : 76e4a3bad9bc5eb124014b0332f82db17bdace11
Older versions of mercurial cannot create inner directories if the
parents don't exist.
--HG--
extra : rebase_source : 0a996db89416da64ca7be228814f208975a42570
extra : source : 42a93ffc374f4ef08a8b2f31d1f7ce1067fead15
builder image is now based on the "base" image that lives on gecko
tree.
--HG--
extra : rebase_source : a22e083dca220a52e1b84cf5479969a6c1dc6882
extra : source : 664164ad527d89ce83812d15f99aaff656430f4b
releng uses CentOS for CI. In order to reuse their packages, we also
move from Ubuntu to CentOS for our base images.
--HG--
extra : rebase_source : 4c98b24c094391124c5c0239c9191ad83938d914
extra : source : 7392eb8c25c4bec041ac480064c8bdd1c0bdecb8