Skip to content

Commit

Permalink
Bug 1301020 - Use Node 6.x on the decision task image r=me
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Taubert committed Sep 7, 2016
1 parent 6481573 commit 4c3a4c2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion automation/taskcluster/decision_task.yml
Expand Up @@ -57,7 +57,7 @@ tasks:
- "tc-treeherder.v2.{{project}}.{{revision}}.{{pushlog_id}}"

payload:
image: ttaubert/nss-decision:0.0.1
image: ttaubert/nss-decision:0.0.2

env:
TC_OWNER: {{owner}}
Expand Down
15 changes: 7 additions & 8 deletions automation/taskcluster/docker-decision/setup.sh
Expand Up @@ -6,20 +6,19 @@ set -v -e -x
export DEBIAN_FRONTEND=noninteractive
apt-get -y update && apt-get -y upgrade

# Need this to add keys for PPAs below.
apt-get install -y --no-install-recommends apt-utils

apt_packages=()
apt_packages+=('npm')
# Need those to install newer packages below.
apt-get install -y --no-install-recommends apt-utils curl ca-certificates

# Latest Mercurial.
apt_packages+=('mercurial')
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 41BD8711B1F0EC2B0D85B91CF59CE3A8323293EE
echo "deb http://ppa.launchpad.net/mercurial-ppa/releases/ubuntu xenial main" > /etc/apt/sources.list.d/mercurial.list

# Install packages.
apt-get -y update
apt-get install -y --no-install-recommends ${apt_packages[@]}
apt-get -y update && apt-get install -y --no-install-recommends mercurial

# Latest Node.JS.
curl -sL https://deb.nodesource.com/setup_6.x | bash -
apt-get install -y --no-install-recommends nodejs

locale-gen en_US.UTF-8
dpkg-reconfigure locales
Expand Down

0 comments on commit 4c3a4c2

Please sign in to comment.