From beb811e0f3a454948f31d0c51980645be611d13f Mon Sep 17 00:00:00 2001 From: Alexandre Lissy Date: Tue, 9 Apr 2019 09:07:41 +0200 Subject: [PATCH] Use EC2 Ubuntu mirrors for decision task --- .taskcluster.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.taskcluster.yml b/.taskcluster.yml index 371cf88e..97ae1a1f 100644 --- a/.taskcluster.yml +++ b/.taskcluster.yml @@ -54,6 +54,8 @@ tasks: - "--login" - "-cxe" - > + echo "deb http://archive.ubuntu.com/ubuntu/ trusty-updates main" > /etc/apt/sources.list.d/trusty-updates.list && + sed -ri -e "s|archive.ubuntu.com|${TASKCLUSTER_WORKER_GROUP}.ec2.archive.ubuntu.com|g" -e "s|security.ubuntu.com|${TASKCLUSTER_WORKER_GROUP}.ec2.archive.ubuntu.com|g" /etc/apt/sources.list && apt-get -qq update && apt-get -qq -y install git python3-pip curl && adduser --system --home /home/build-user build-user && cd /home/build-user/ &&