author | Gregory Szorc <gps@mozilla.com> |
Wed, 20 Jul 2016 10:22:26 -0700 | |
changeset 392530 | 742627ba823d4f2097a4273e6cc6af8bb842c69f |
parent 392529 | cf73d2741fc186bebf06233efefdf85cd8cea3f2 |
child 392531 | 8cd8be43dfd34f2970b47721c3da8e3957a8bfed |
push id | 24049 |
push user | bmo:gps@mozilla.com |
push date | Mon, 25 Jul 2016 19:51:28 +0000 |
reviewers | dustin |
bugs | 1247168 |
milestone | 50.0a1 |
--- a/testing/docker/decision/system-setup.sh +++ b/testing/docker/decision/system-setup.sh @@ -36,16 +36,50 @@ tooltool_fetch <<EOF "algorithm": "sha512", "filename": "mercurial-common_3.8.4_all.deb" } ] EOF dpkg -i mercurial-common_3.8.4_all.deb mercurial_3.8.4_amd64.deb +mkdir -p /usr/local/mercurial +chown 755 /usr/local/mercurial +cd /usr/local/mercurial +tooltool_fetch <<'EOF' +[ +{ + "size": 11849, + "digest": "c88d9b8afd6649bd28bbacfa654ebefec8087a01d1662004aae088d485edeb03a92df1193d1310c0369d7721f475b974fcd4a911428ec65936f7e40cf1609c49", + "algorithm": "sha512", + "filename": "robustcheckout.py" +} +] +EOF + +chmod 644 /usr/local/mercurial/robustcheckout.py + +# Install a global hgrc file with reasonable defaults. +mkdir -p /etc/mercurial +cat >/etc/mercurial/hgrc <<EOF +# By default the progress bar starts after 3s and updates every 0.1s. We +# change this so it shows and updates every 1.0s. +[progress] +delay = 1.0 +refresh = 1.0 + +[web] +cacerts = /etc/ssl/certs/ca-certificates.crt + +[extensions] +robustcheckout = /usr/local/mercurial/robustcheckout.py +EOF + +chmod 644 /etc/mercurial/hgrc + # Install node tooltool_fetch <<'EOF' [ { "size": 5676610, "digest": "ce27b788dfd141a5ba7674332825fc136fe2c4f49a319dd19b3a87c8fffa7a97d86cbb8535661c9a68c9122719aa969fc6a8c886458a0df9fc822eec99ed130b", "algorithm": "sha512", "filename": "node-v0.10.36-linux-x64.tar.gz"