Граф коммитов

14 Коммитов

Автор SHA1 Сообщение Дата
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 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
Gregory Szorc f22a8ae72d Backed out changeset 15a9e149f2db (bug 1426445) for build bustage
CLOSED TREE

--HG--
extra : amend_source : 12ae596b4067fd7ce93125880924e6a9e2a4125a
2018-01-05 15:18:12 -08:00
Tom Prince 9ad7a74167 Bug 1426445: Add sanity check that worker uid/gid is 1000 in run-task; r=dustin,gps
MozReview-Commit-ID: 7T7rQpLhJIN

--HG--
extra : rebase_source : f8dff72bc22242fe12080b2e517b8a8a4b4e27c4
2018-01-02 14:22:36 -07:00
Mike Hommey 934ddc3e58 Bug 1427336 - Share dot-config between docker-images. r=dustin
--HG--
rename : taskcluster/docker/android-build/dot-config/pip/pip.conf => taskcluster/docker/recipes/dot-config/pip/pip.conf
extra : rebase_source : 1c2ec206f1560509f0db296da4d7be22811441ac
2017-12-29 14:48:23 +09:00
Mike Hommey 67185715fd Bug 1427068 - Enable the mercurial share extension at the system level. r=gps
I suppose it was setup through ~worker/.hgrc before we started
installing a /etc/mercurial/hgrc that enables a few other extensions
and sets some preferences.

There is no reason to now have two places where mercurial is being set
up, and it feels natural that we set it up at the system level.

Ideally, we'd also clean up the centos6-based images, but they require
an update of the centos6-build and centos6-build-upd images on the
docker hub, which is not really convenient, and those images are going
to be obsoleted soon anyways (bug 1399679).

--HG--
extra : rebase_source : 32c9cdf5d0fe8ac2c60a1c5a38e572c83a4783b2
2017-12-26 17:01:55 +09:00
Mike Hommey 8f7ecd25f9 Bug 1427069 - Don't copy unused setup scripts to the android-build docker image. r=dustin
The debian-build-system-setup.sh script doesn't use the install-make and
install-cmake scripts, so it's unnecessary to install them in /setup.

--HG--
extra : rebase_source : 4ba24b9827e67b9c7ad203e789e00e19d37786da
2017-12-26 17:13:50 +09:00
Mike Hommey 5e8edd5ac5 Bug 1427065 - Remove checkout-script.sh. r=dustin
The script was added in bug 1179893 but looks like it has actually never
been used. A duplicate of the file was used for the upload-symbols
image, but that was removed in bug 1422740.

Since it was the only file in desktop-build/bin, we stop copying the
directory in docker images.

--HG--
extra : rebase_source : 4bcdb5ba0118e87455c6f596bf54e4528fe1b1ef
2017-12-26 15:19:40 +09:00
Tom Prince a7ee0c44ac Bug 1425137: Get rid of references to quay.io in taskcluster; r=dustin
MozReview-Commit-ID: HHiu4d69RST

--HG--
extra : rebase_source : fcfe319d6b6361ff2a5540ccee31d16edd684f21
2017-12-13 15:07:34 -07:00
Nick Alexander 4ed023a7f2 Bug 1407672 - Pre: Add rsync for l10n repacks and interactive helpers in android-build image. r=Callek
MozReview-Commit-ID: 9c1J7PdpLp2

--HG--
extra : rebase_source : 76c781b6279a3ab53e0e5ad370dd9dfe625799d2
2017-10-12 08:30:20 -07:00
Nick Alexander d017b0874e Bug 1396098 - part 1 - base `android-build` on Debian instead of CentOS; r=glandium,dustin
CentOS 6 is pinned to glibc 2.12, but newer Android build-tools (like
aapt) require glibc 2.14.  It's not possible to safely upgrade CentOS
6 distributions to glibc 2.14.

CentOS 7 is pinned to glibc 2.17, which is new enough for newer
Android build-tools. However, I had great difficulty bringing forward
our existing centos:6 Docker image to centos:7.  In particular,
installing recent enough Mercurial, git, Python, and pip versions was
difficult enough that I elected to not pursue this approach.

Instead, I've elected to follow glandium's suggestion from
https://bugzilla.mozilla.org/show_bug.cgi?id=1370119#c5: base on
Debian with snapshots.debian.org for reproducibility.

The most significant changes here:

- using Debian's snapshots repository
- using Python and related tools provided by Debian and baked into the
  build image
- using the JDK and JRE provided by Debian and baked into the build
  image, rather than versions from tooltool (or eventually a toolchain
  build)

Moving the builds over to use this image will follow in the patches
ahead.
2017-09-18 15:38:22 -04:00
Gregory Szorc 972bb63fcc Backed out changesets ef813898b5d3, ce228388aaf6, and c798f482b2c5 (bug 1396098) for violating TC cache constraints
CLOSED TREE

--HG--
extra : amend_source : 84120d6bacb5d72a9fbe41e4c3b405d63825da7c
extra : histedit_source : 8320c2193761b745f10850055ee74a3c9ac73615%2Cfbc2a28d8c5004a53305ef858ca5aea4245691e0
2017-09-18 13:30:43 -07:00
Nick Alexander c800d7d1f7 Bug 1396098 - part 1 - base `android-build` on Debian instead of CentOS; r=glandium,dustin
CentOS 6 is pinned to glibc 2.12, but newer Android build-tools (like
aapt) require glibc 2.14.  It's not possible to safely upgrade CentOS
6 distributions to glibc 2.14.

CentOS 7 is pinned to glibc 2.17, which is new enough for newer
Android build-tools. However, I had great difficulty bringing forward
our existing centos:6 Docker image to centos:7.  In particular,
installing recent enough Mercurial, git, Python, and pip versions was
difficult enough that I elected to not pursue this approach.

Instead, I've elected to follow glandium's suggestion from
https://bugzilla.mozilla.org/show_bug.cgi?id=1370119#c5: base on
Debian with snapshots.debian.org for reproducibility.

The most significant changes here:

- using Debian's snapshots repository
- using Python and related tools provided by Debian and baked into the
  build image
- using the JDK and JRE provided by Debian and baked into the build
  image, rather than versions from tooltool (or eventually a toolchain
  build)

Moving the builds over to use this image will follow in the patches
ahead.
2017-09-18 15:38:22 -04:00
Nick Alexander a59961df22 Bug 1396098 - part 0b - rename android-gradle-build to android-build; r=glandium,dustin
The name `android-gradle-build` is an accident of history; let's rename it
before we attempt major surgery on it.

--HG--
rename : taskcluster/docker/android-gradle-build/Dockerfile => taskcluster/docker/android-build/Dockerfile
rename : taskcluster/docker/android-gradle-build/README.md => taskcluster/docker/android-build/README.md
rename : taskcluster/docker/android-gradle-build/REGISTRY => taskcluster/docker/android-build/REGISTRY
rename : taskcluster/docker/android-gradle-build/VERSION => taskcluster/docker/android-build/VERSION
rename : taskcluster/docker/android-gradle-build/buildprops.json => taskcluster/docker/android-build/buildprops.json
rename : taskcluster/docker/android-gradle-build/dot-config/pip/pip.conf => taskcluster/docker/android-build/dot-config/pip/pip.conf
rename : taskcluster/docker/android-gradle-build/oauth.txt => taskcluster/docker/android-build/oauth.txt
2017-09-18 15:38:22 -04:00