summaryrefslogtreecommitdiff
path: root/automation/taskcluster/docker
diff options
context:
space:
mode:
authorTim Taubert <ttaubert@mozilla.com>2016-05-25 15:46:00 +0200
committerTim Taubert <ttaubert@mozilla.com>2016-05-25 15:46:00 +0200
commitc7f58a5c227864d296c1bbe000b79b93623ea3b2 (patch)
treec7226ff9c4a0f2406a5ec45a14d1e8e14f995e98 /automation/taskcluster/docker
parentbe71b684b7b33c0303f048e7e41cc1c25ebd3c9a (diff)
downloadnss-hg-c7f58a5c227864d296c1bbe000b79b93623ea3b2.tar.gz
Bug 1274350 - Update docker image, try to fix Valgrind/MemLeak tests r=me
Diffstat (limited to 'automation/taskcluster/docker')
-rw-r--r--automation/taskcluster/docker/bin/checkout.sh6
-rw-r--r--automation/taskcluster/docker/setup.sh1
2 files changed, 6 insertions, 1 deletions
diff --git a/automation/taskcluster/docker/bin/checkout.sh b/automation/taskcluster/docker/bin/checkout.sh
index 3b3b0094f..54883f268 100644
--- a/automation/taskcluster/docker/bin/checkout.sh
+++ b/automation/taskcluster/docker/bin/checkout.sh
@@ -7,5 +7,9 @@ if [ $(id -u) = 0 ]; then
exec su worker $0
fi
+# Default values for testing.
+REVISION=${NSS_HEAD_REVISION:-default}
+REPOSITORY=${NSS_HEAD_REPOSITORY:-https://hg.mozilla.org/projects/nss}
+
# Clone NSS.
-hg clone -r $NSS_HEAD_REVISION $NSS_HEAD_REPOSITORY nss
+hg clone -r $REVISION $REPOSITORY nss
diff --git a/automation/taskcluster/docker/setup.sh b/automation/taskcluster/docker/setup.sh
index da0c1126e..a0f818fe6 100644
--- a/automation/taskcluster/docker/setup.sh
+++ b/automation/taskcluster/docker/setup.sh
@@ -9,6 +9,7 @@ apt_packages+=('curl')
apt_packages+=('mercurial')
apt_packages+=('npm')
apt_packages+=('git')
+apt_packages+=('valgrind')
apt_packages+=('zlib1g-dev')
# 32-bit builds