This required moving the custom mozharness configs out of the builder image
(which puts them in ~, where mozharness no longer looks) and moving them into
mozharness itself.
This required moving the custom mozharness configs out of the builder image
(which puts them in ~, where mozharness no longer looks) and moves them into
mozharness itself.
Reuse of generic build scripts is necessary, for instance, between 64 bit and 32 bit containers where everything other than the arch remains essentially the same.
This option is configurable to account for the fact that this image supports multiple builds.
There is an option for moving files by name in a simple mv $name $name fashion, and for
moving files so that any long prefix (containing version/platform information for instance)
will be stubbed out: replaced with the word "target."
Sometimes the Xvfb sanity check can fail due to slow startup times,
this introduces a simple retry system, with sleeps, to ensure that failures are
due to another cause.
This creates two images:
* ubuntu-build is a basic Ubuntu Trusty image with the build prerequisites
installed via MozBootstrap (plus some additional requirements). It also
contains the worker user and basic directory structure expected by
Mozharness.
* desktop-build is a refinement of ubuntu-build with specifics for building
Firefox Desktop (and, as it turns out, Firefox for Android). It sports a
`bin/build.sh` which acts as a fairly generic mozharness-runner that first
checks out the desired source code revisions, then invokes Mozharness. It
supports:
* caches -- tooltool, workspace, tc-vcs
* starting and stopping Xvfb if necessary (desktop tests require this)
* specifying mozharness build variant, branch, and build pool
* supplying a RelengAPI token
* copying uploads to the artifacts directory