Add new tasks for the "Linux" platform. These run on the same docker image as
the Linux64 builds, but that image has been modified to contain a bunch of
*.i686 packages required to cross-compile for i686. Due to yum's propensity
for resolving dependencies without regard to architecture, with this patch the
system-setup.sh script lists both architectures of each file explicitly.
This also leaves `gcc` installed for user convenience in installing Python
extensions, NPM modules, etc.
This also includes 'subversion' for clang builds (bug 1208029)
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."
The same variables are also set by MozHarness configs, however, they are incorrect for us.
By setting it here, we ensure that clang can find our system libraries.
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