Commit Graph

2807 Commits

Author SHA1 Message Date
Nick Alexander
a31ac9c2b7 Bug 1411654 - Part 4: Use flavorDimensions to simplify {with,without}GeckoBinaries logic. r=maliu
MozReview-Commit-ID: 2rbsP6A0BY0

--HG--
extra : rebase_source : cbb33702f841134d58b1e49678bd2a402885bcb7
2017-11-09 16:47:05 -08:00
Nick Alexander
47c107e74f Bug 1411654 - Part 1: Upgrade to Android-Gradle 3.0+ and build-tools;26.0.2. r=maliu
New Android-Gradle plugins pin the build-tools version, and we want to
be consistent between Gradle and moz.build.

MozReview-Commit-ID: ApWS4rHzPuH

--HG--
extra : rebase_source : 38a9781c472d858f3300cbbcbdc6d2311c465713
2017-10-26 11:00:36 -07:00
Nick Alexander
e6080c2ce7 Bug 1411654 - Pre: Don't block Google's maven repository. r=maliu
Turns out Google's maven repository doesn't publish checksums.  I
can't imagine why not, but there it is.  We have to think more about
whether to trust the artifacts downloaded from maven.google.com.

MozReview-Commit-ID: CdWijorq1IV

--HG--
extra : rebase_source : a884971e51ce7b1ff993754b130f462c476646ab
2017-10-27 14:50:27 -07:00
Jim Chen
3757544495 Bug 1426244 - 5. Add geckoview-docs job; r=nalexander
Add a geckoview-docs job that executes "./mach android geckoview-docs",
which takes care of calling gradle to generate the javadoc archive, and
uploading it to Github using given parameters.

MozReview-Commit-ID: DTWh4XdFZEO

--HG--
extra : rebase_source : 9d75be24cb553b3a773d3d34a2bdbdf4d4c8cd34
2018-01-13 17:41:09 -05:00
Mike Hommey
59ba584f2d Bug 1430005 - Refactor spidermonkey tc configurations. r=dustin
With the use of job-defaults, we can avoid a lot of repetition from
those definitions.

--HG--
extra : rebase_source : 932c2ed530aa8aec9a33da60cf652535fa0bd303
2018-01-12 16:40:29 +09:00
Mike Hommey
e44def0a59 Bug 1430005 - For mozharness jobs, rely on the default being set by the mozharness transform. r=dustin
The mozharness transform is supposed to set the docker image to
desktop-build when not already set, but was not doing it properly.

I guess this is why some jobs were setting the image themselves, despite
using the mozharness transform.

Consequently, don't manually set the image to desktop-build when it's
the default.

--HG--
extra : rebase_source : 024bd10960bedaee3416785348a5c12498c5286f
2018-01-12 16:01:38 +09:00
Dorel Luca
ab63c465d9 Backed out 19 changesets (bug 1411654) for Android nightly bustages a=backout
Backed out changeset 649e7aa405ca (bug 1411654)
Backed out changeset c2e51b70519f (bug 1411654)
Backed out changeset a371f3ef4312 (bug 1411654)
Backed out changeset db978e230556 (bug 1411654)
Backed out changeset 56538ed998cf (bug 1411654)
Backed out changeset 6ff0cdf46a3d (bug 1411654)
Backed out changeset 0e493bacc5e3 (bug 1411654)
Backed out changeset 23cbcf427745 (bug 1411654)
Backed out changeset eda74143389f (bug 1411654)
Backed out changeset 359fadf9b3e9 (bug 1411654)
Backed out changeset 5c64eda20f1e (bug 1411654)
Backed out changeset bffb6a5b78d1 (bug 1411654)
Backed out changeset 43787f4089c3 (bug 1411654)
Backed out changeset 9141bbdfd13b (bug 1411654)
Backed out changeset 108674372ef7 (bug 1411654)
Backed out changeset fb15e1f54987 (bug 1411654)
Backed out changeset 264476c77210 (bug 1411654)
Backed out changeset d23f467218da (bug 1411654)
Backed out changeset 78576ff98660 (bug 1411654)

--HG--
rename : mobile/android/app/src/main/res/values-v17/themes.xml => mobile/android/base/resources/values-v17/themes.xml
2018-01-13 15:17:49 +02:00
Coroiu Cristina
c6a942e1bf Merge inbound to mozilla-central r=merge a=merge 2018-01-13 11:55:23 +02:00
Aki Sasaki
f4bf56293f bug 1430246 - fix beta devedition updates (s,mozilla-aurora,mozilla-beta,). r=jlund
MozReview-Commit-ID: 39QgyKKUUUC

--HG--
extra : rebase_source : e5ff99102d71e920a40ea968188f1d8caa8c682a
extra : source : 0f677284ab9bbb7663f3d47f464c43bb98ad0ead
extra : histedit_source : b7a6f36fafd2f2e269a8d70253622709f17d841c
2018-01-12 19:17:45 -08:00
Mike Hommey
557293d62c Bug 1429670 - Build docker images based on Debian wheezy to use instead of desktop-build. r=gps
At the same time, restrict the installed packages to the script
requirements to build Firefox. Toolchains have their own image so we
don't need to install packages for them.

--HG--
extra : rebase_source : c0e7aa178b1ce2ceb01f9dfe6af37bbb54d4d708
2018-01-11 14:56:12 +09:00
Mike Hommey
7535c60c60 Bug 1430011 - Use the git package in the toolchain-build docker image. r=gps
--HG--
extra : rebase_source : ac7ccc85496a8447550c721734d6584c0899921f
2018-01-12 14:52:38 +09:00
Mike Hommey
c1667043b2 Bug 1430011 - Build a Git package for Debian wheezy. r=gps
The one available in Debian wheezy is 1.7.10.4, which is really old, and
on our centos images, we're using 2.8.0rc3, which, while old too, is
more modern. While we may want to go with a more recent version, I'd
rather avoid differing from what we currently use, so use the exact same
version.

--HG--
extra : rebase_source : dfdf75a635073c248faef8a67648b2a83e4a1d84
2018-01-12 14:52:05 +09:00
Aki Sasaki
17e0203ad5 bug 1430246 - fix devedition source signing scope. r=bhearsum
MozReview-Commit-ID: Dq3wqW4P52B

--HG--
extra : source : a0c607713dfb3887b87806ed615135ff349cbdae
extra : intermediate-source : fbde5320505049a521f2e4f5d535eefb56c25ded
extra : histedit_source : 1feba4c3cb3812675664415062370feb7ab89f41
2018-01-12 14:08:33 -08:00
Csoregi Natalia
b64306c51a Merge mozilla-central to inbound. r=merge a=merge CLOSED TREE 2018-01-13 00:04:06 +02:00
Csoregi Natalia
7476b71e00 Merge inbound to mozilla-central r=merge a=merge 2018-01-12 23:59:06 +02:00
Mike Hommey
1b4c9cdebd Bug 1427340 - Build toolchains on a Debian-based docker image. r=gps
... except libdmg-hfsplus. RedHat decided to patch libbz2 to have a
different soname, so a binary built on Debian can't run on
RedHat/CentOS. Ironically, a binary built on RedHat/CentOS can run
on Debian. While we could use some tricks to make libdmg-hfsplus built
on Debian work, at this point, it's not worth the effort. We can live
with libdmg-hfsplus being built on CentOS until the builds that use it
switch to Debian, which is imminent.

... and except mingw32-nsis. Sourceforce renewed their certificate last
week and somehow the corresponding CA is not yet recognized by the
ca-certificates in Debian wheezy (an update is underway but see below)

... and except wine, because it requires more 32-bits packages than can
be installed on the toolchain-build docker image. But all things
considered, the mingw32 builds don't need to be using the same docker
images as the linux builds, and they could be, like the android builds,
be based on a more recent build image. So the corresponding toolchains
can be built on a more recent version of Debian too.

Consequently, we keep all the mingw32 related toolchains on the
desktop-build image for now.
2018-01-12 21:31:10 +09:00
Mike Hommey
eb3cf6d41b Bug 1430030 - Enable parallelism when building wine, upx and fxc2. r=ted 2018-01-12 21:25:59 +09:00
Mike Hommey
08c0116191 Partially backout changeset 22587e6ef7ca from bug 1429669 on a CLOSED TREE. r=me
Because Ubuntu 16.04 changed in a way that busts gl3 tests and we can't
update the desktop1604-test image anymore.

--HG--
extra : amend_source : bfa07f9f77990dd6915b8c92d218227436bc6fc4
2018-01-12 10:45:35 +09:00
Mike Hommey
4f2f1a88f6 Bug 1429685 - Build a Valgrind package for Debian wheezy. r=dustin
Apply the patch from bug 1382280 (build/valgrind/valgrind-epochs.patch).

--HG--
extra : rebase_source : 283dbc749e231bc00ea3135423e1606161f0bcd4
2018-01-11 16:06:45 +09:00
Mike Hommey
4de239b64f Bug 1429669 - Install the mercurial package in the toolchain-build docker image. r=dustin
--HG--
extra : rebase_source : 2ee1fc5816d1269a2fb189a33f5f2b0efb7e35d6
2018-01-11 14:07:57 +09:00
Mike Hommey
5f8431c3b1 Bug 1429669 - Separate mercurial conf from install-mercurial.sh. r=dustin
The install-mercurial.sh script currently installs a global mercurial
configuration after installing mercurial manually. In order to share
that configuration with docker images installing a mercurial package
through packages tasks, we move it to a separate file.

We however keep the part setting web.cacerts in install-mercurial.sh,
since it uses a path depending on what kind of environment the script is
run. Moreover, the instructions that come with mercurial to build
Debian packages come with web.cacerts set to the right path already, so
it's not needed in that case anyways.

At the same time, use multiple files in /etc/mercurial/hgrc.d/ instead
of a single /etc/mercurial/hgrc file.

--HG--
extra : rebase_source : 8140d8243cf012489025afe058f467c72224c891
2018-01-11 14:01:31 +09:00
Mike Hommey
398539b2db Bug 1429669 - Build a mercurial package for Debian Wheezy. r=dustin
--HG--
extra : rebase_source : 22f0e8de5dc50c9d4e3df5790b74ecfe69349a59
2018-01-11 14:07:36 +09:00
Mike Hommey
ed263aab84 Bug 1429669 - Add backports sources when building Debian packages. r=dustin
Build dependencies won't be installed from backports unless they are not
satisfiable in the given Debian release. This is useful to get dh-python
on Wheezy.

--HG--
extra : rebase_source : 1f249b4ceae4fdd9ea37e9a9b9e9b62b48a1c9ed
2018-01-11 14:03:21 +09:00
Mike Hommey
f65ab0ce12 Bug 1429669 - Allow to build debian packages off a source tarball. r=dustin
In the case of mercurial, we don't want to use a .dsc as the original
source, but rather use the debian packaging scripts available in the
upstream mercurial tarball.

--HG--
extra : rebase_source : ec5b288f3994bc0bc1ec9ebce40def807bb7681f
2018-01-11 14:02:58 +09:00
Mike Hommey
dc613af2d0 Bug 1429669 - Recursively check identifiers in schema validation. r=dustin
The taskgraph.util.schema.check_schema function validates key names used
in schemas, ensuring they are dashed lower-case. However, it currently
assumes keys are either direct strings, Required or Optional entries,
and either ignores or fails to recognize other patterns.

For example, it ignores Any, and fails to recognize combinations like
Required(Any(...)), which we're going to use in next patch.

--HG--
extra : rebase_source : 4f6ff51a4a9dc9c7d9b6d070e03c6cc6e1befe80
2018-01-11 09:29:19 +09:00
Mike Hommey
0f364f58ca Bug 1429669 - Group url and sha256 of dsc file in package definitions. r=dustin
This will be useful two patches down the road.

--HG--
extra : rebase_source : bfb3ccc53837c243703ad5fb1fd480063d906c1a
2018-01-11 07:35:32 +09:00
Margareta Eliza Balazs
a331a849a4 Backed out changeset 6d539e4a02bd (bug 1403519) for lint failures on a CLOSED TREE 2018-01-11 22:32:27 +02:00
Mike Hommey
68e591a606 Bug 1430270 - Disable ccache in hazard builds. r=nalexander
I don't intend to install ccache in the Debian build images. Hazard
builds are the only builds running on the desktop-build image still
using ccache somehow, and that gains them nothing, since the ccache
directory is not set to a cached directory on taskcluster, meaning
the build always starts with an empty cache. If anything, this currently
makes the build slower.

Eventually, those builds should be able to use sccache, once the
necessary setup moves out of mozconfig.cache.

--HG--
extra : rebase_source : fba6dab78b25ea61892cbe6127ead36da395b0e0
2018-01-13 06:33:12 +09:00
Mike Hommey
06ef2a32a0 Bug 1429954 - Limit docker images retention on try. r=dustin
taskcluster/taskgraph/transforms/task.py sets an expiry to 28 days for
tasks on try, vs. 1 year on other projects, but only do that when an
expiry is not already set, which docker images do. And they do always
set to 1 year.

But it doesn't make sense to keep large docker images from try for a
year. So use the same retention policy as the default one. We /could/
just remove the expiry from docker images and get the task.py default,
but it seems like whatever future change might happen to that default
shouldn't affect docker images, so it's better to duplicate the setting.

--HG--
extra : rebase_source : b5b46ca34a40ac82c5403b67d5b1aacf8cf8cceb
2018-01-12 08:06:02 +09:00
Csoregi Natalia
bed10b400c Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2018-01-13 00:02:18 +02:00
Nick Alexander
34208b22e7 Bug 1411654 - Part 4: Use flavorDimensions to simplify {with,without}GeckoBinaries logic. r=maliu
MozReview-Commit-ID: 2rbsP6A0BY0

--HG--
extra : rebase_source : d9df7bdb482b8605067303857ab6a3356fa87646
2017-11-09 16:47:05 -08:00
Mike Hommey
a6d328e83e Bug 1430087 - Build sccache with system GCC/binutils. r=nfroyd
It was failing to build with the GCC/binutils on the CentOS-based docker
image, but it doesn't with the Debian-based one, so we can remove the
dependency on the gcc toolchain task. This allows sccache to remain
untouched when we change the gcc build scripts, and more importantly,
this allows it to depend on no toolchain that requires building things.

This makes it now possible to use sccache as a dependency for all other
toolchains jobs that compile, if that's beneficial (which might not be
the case, given the current sccache retention time, but at least it's a
viable option, now)
2018-01-13 05:57:57 +09:00
Nick Alexander
e820c8ca18 Bug 1411654 - Part 1: Upgrade to Android-Gradle 3.0+ and build-tools;26.0.2. r=maliu
New Android-Gradle plugins pin the build-tools version, and we want to
be consistent between Gradle and moz.build.

MozReview-Commit-ID: ApWS4rHzPuH

--HG--
extra : rebase_source : 5a5730b4b9ce84af40a7c73c4f1abba017103f02
2017-10-26 11:00:36 -07:00
Nick Alexander
a0865e7202 Bug 1411654 - Pre: Don't block Google's maven repository. r=maliu
Turns out Google's maven repository doesn't publish checksums.  I
can't imagine why not, but there it is.  We have to think more about
whether to trust the artifacts downloaded from maven.google.com.

MozReview-Commit-ID: CdWijorq1IV

--HG--
extra : rebase_source : e4373273e7aea7df79d70b5fbc233233a84d2360
2017-10-27 14:50:27 -07:00
Dustin J. Mitchell
522245f2f2 Bug 1403519 - only build docs when necessary r=gps
This marks **/docs/** as exclusively docs, and code that is autodoc'd as
inclusively docs.

That means that a change that purely modifies documentation files will *only*
run `docs` tasks, while a change that modifies autodoc'd source code will
*additionaly* run `docs` tasks.  The tasks do not run by default.

MozReview-Commit-ID: G9tOK0AwtrI

--HG--
extra : rebase_source : 8dd971e5c9b0eb5f47895664a4ea49442f303ecb
extra : source : 0881de9b2b5e36ec37cc866f1d4af109da57a919
2017-10-02 18:22:56 +00:00
Dorel Luca
a19f5582cc Merge mozilla-central to mozilla-inbound r=merge 2018-01-11 00:05:23 +02:00
Tom Prince
740dcad222 Backout removal of when.files-changed support for tests from Bug 1403322; r=dustin
MozReview-Commit-ID: 1ZT1VWJx7Y

--HG--
extra : rebase_source : 6611486f33f8f1b7d8799b9e70e5630855ac30d3
2018-01-09 11:51:08 -07:00
Dustin J. Mitchell
2b415ced27 Bug 1380174: handle --setenv correctly r=froydnj
This boils down to always setting worker.env to avoid a KeyError.

MozReview-Commit-ID: 1s4az9BFcc2

--HG--
extra : rebase_source : dabed2dedb00d176b829c6c0ff911e0236c5dec4
2017-12-19 18:19:52 +00:00
Csoregi Natalia
bbfcdcd760 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE
--HG--
rename : security/manager/ssl/tests/unit/test_signed_apps/cose_multiple_signed.zip => security/manager/ssl/tests/unit/test_signed_apps/cose_multiple_signed_with_pkcs7.zip
rename : security/manager/ssl/tests/unit/test_signed_apps/cose_signed.zip => security/manager/ssl/tests/unit/test_signed_apps/cose_signed_with_pkcs7.zip
rename : third_party/rust/cose/src/cbor/mod.rs => third_party/rust/moz_cbor/src/lib.rs
extra : rebase_source : 5f16e3d25e86d41e201b8c28ead361fd6ac25c42
2018-01-10 12:07:47 +02:00
Gurzau Raul
2d062bac22 Merge inbound to mozilla-central r=merge a=merge 2018-01-10 11:58:20 +02:00
Sebastian Hengst
1ebdaf80de merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2018-01-10 01:52:28 +02:00
Sebastian Hengst
83d7fb3caf merge mozilla-inbound to mozilla-central. r=merge a=merge 2018-01-10 01:32:52 +02:00
Ben Hearsum
78ebde9994 bug 1398793: install gtk2 libraries in update verify docker image. r=aki 2018-01-09 10:07:35 -05:00
Ben Hearsum
64d59d24fa bug 1398793: set channel list correctly for updates builder. r=jlorenzo 2018-01-09 10:06:40 -05:00
Ben Hearsum
33af1e5f22 bug 1415981: use correct configs in secondary final verify. r=aki 2018-01-09 10:04:14 -05:00
Mike Hommey
927bff7e2d Bug 1428912 - Only keep track of job names for seen configs in build_lints. r=dustin
When looking for perfherder data collection duplicates, we currently
keep full job objects references, which are then used in case an error
occurs, to display the job names of the duplicates.

But those job objects are yielded and may be modified by other
transforms, and presently, by the time a duplicate is found, the
corresponding job object has been modified such that it has no 'name'
key anymore, leading to a KeyError exception when trying to display
the duplicate error message.

So instead of keeping the job objects, which can change, and which we
don't have a real use for, just keep the job name.

--HG--
extra : rebase_source : 204e90a6fe1e4ce62f361451e1176d3195a3383b
2018-01-09 07:56:36 +09:00
Mike Hommey
c64b0c2e7b Bug 1428907 - Only use packages task digests to compute docker image digests. r=dustin
In bug 1427326, we added package tasks that can be depended upon by
docker image tasks. In that case, we add the routes containing a digest
for those package tasks when computing the docker image digests.

The problem is that those routes start with 'index.gecko.cache.level-n'
where n varies between try and e.g. mozilla-central. That means the
digest for those docker images varies between try and e.g.
mozilla-central, which then prevents try from using the cached versions
for mozilla-central when there is one, like for other docker images
without package dependencies.

What we really need from those routes is the digest part, which is
independent of the level, and we don't actually care about anything else
in the route string, so just use the digest.

--HG--
extra : rebase_source : 4aecf8472306963da34f2bd4d92675962c0432bc
2018-01-09 07:31:56 +09:00
Nick Alexander
0120e4ec8d Bug 1429210 - Avoid expensive filesystem walk for **/*.gradle. r=gps
MozReview-Commit-ID: KNHEABnoUtA

--HG--
extra : rebase_source : 639e9bf5a3f368d1ebf273a67cf94bd00a442f3e
2018-01-08 14:08:53 -08:00
Narcis Beleuzu
fb578c1b74 Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2018-01-10 02:02:13 +02:00
Marco Castelluccio
46a981bbc9 Bug 1428542 - Split web platform tests into 15 chunks instead of 12 for Windows code coverage builds. r=jmaher
--HG--
extra : rebase_source : c1592cd7aad420daaf407659616204bb4b2cb8fc
2018-01-09 18:52:39 +01:00