Commit Graph

7 Commits

Author SHA1 Message Date
Gregory Szorc
14f8d04103 Bug 1355624 - Make Mercurial require TLS 1.2+ connections; r=dustin
Mercurial uses the latest version of TLS that is both supported by
Python and the server.

In automation, the servers we care about should all support TLS 1.2.

The Python side is trickier. Modern versions of Python (typically 2.7.9+)
support TLS 1.1 and 1.2. Mercurial will default to allowing TLS 1.1+ -
explicitly disallowing TLS 1.0. However, legacy versions of Python
don't support TLS 1.1+, so Mercurial will allow TLS 1.0+ rather than
prevent connections at all.

TLS 1.0 is borderline secure these days. I think it is a bug for TLS
1.0 to be used anywhere in the Firefox release process. This simple
patch changes our default Mercurial config in TaskCluster to require
TLS 1.2+ for all https:// communications. For modern Python versions,
this effectively prevents potential downgrade attacks to TLS 1.1
(connections before should have negotiated the use of TLS 1.2).

I expect this change to break things. Finding and fixing automation
that isn't capable of speaking TLS 1.1+ should be encouraged.

MozReview-Commit-ID: 876YpL5vB3T
2017-04-11 14:52:39 -07:00
Gregory Szorc
d8df67efb8 Bug 1354224 - Upgrade to Mercurial 4.1.2; r=dustin
This is a pretty straightforward change. Just bumping package versions
and hashes. Behavior should be almost identical to the previous 4.1.1+
packages.

MozReview-Commit-ID: CaVjM0JHYKi
2017-04-06 11:28:02 -07:00
Gregory Szorc
8b026b720e Bug 1350437 - Install Mercurial 4.1.1+; r=dustin
We've been running Mercurial 3.9 in automation for a while. Mercurial
4.1 is out. It has the usual performance improvements and bug fixes,
making it an attractive upgrade. But what really makes it enticing
is support for zstandard compression over the wire protocol. This will
reduce server-side CPU load and make transfers between 4.1+ servers
faster.

So, let's upgrade to Mercurial 4.1.1.

The produced packages are built from the current tip of the
stable Mercurial branch, not exactly 4.1.1. Specifically, they
correspond to revision ed5b25874d99. I did this because there is
a patch in the stable branch that drastically improves performance
on repos with many heads. When 4.1.2 is released in a few days, we
can upgrade to it and do away with the one-off.

MozReview-Commit-ID: 6BPhVheHQXI
2017-03-29 09:17:56 -07:00
Ralph Giles
192455dcb9 Bug 1346897 - Indent tooltool manifests. r=mshal
Apply a 2-character indent to in-tree tooltool manifests to make
them easier to read, and to make the formatting more consistent
so automating updates is simpler.

Modern editors will maintain json indentation. The only long
lines we have are already over 80 characters, so the extra space
shouldn't create new long lines.

Also update mercurial installer script to generate json with
the same indentation, even though its output is temporary.

Tooltool itself was updated to generate manifests with this
indentation in Bug 1325225.

MozReview-Commit-ID: DKj6nL9OENv
2017-03-15 12:27:51 -07:00
CuriousLearner
f27a0ad144 Bug 1302763 - Move docker images out of testing/docker into taskcluster/docker; r=dustin r=CuriousLearner
MozReview-Commit-ID: 7v1uCDB5qoN
2016-10-20 18:25:34 +05:30
Wes Kocher
0e898f33dd Backed out changeset d15798b73b9e (bug 1302763) for taskcluster build issues a=backout CLOSED TREE 2016-10-20 15:59:47 -07:00
CuriousLearner
54ec174129 Bug 1302763 - Move docker images out of testing/docker into taskcluster/docker; r=dustin
MozReview-Commit-ID: 7v1uCDB5qoN
2016-10-20 18:25:34 +05:30