Upgrade system for Python 3.5 for decision task
NetworkX upgrade has no more support for Python 3.4 Fixes #2045 X-DeepSpeech: NOBUILD
This commit is contained in:
parent
2645da0290
commit
42e649809c
@ -41,7 +41,7 @@ tasks:
|
|||||||
|
|
||||||
payload:
|
payload:
|
||||||
maxRunTime: 600
|
maxRunTime: 600
|
||||||
image: "ubuntu:14.04"
|
image: "ubuntu:16.04"
|
||||||
|
|
||||||
features:
|
features:
|
||||||
taskclusterProxy: true
|
taskclusterProxy: true
|
||||||
@ -56,7 +56,7 @@ tasks:
|
|||||||
- >
|
- >
|
||||||
echo "deb http://archive.ubuntu.com/ubuntu/ trusty-updates main" > /etc/apt/sources.list.d/trusty-updates.list &&
|
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 &&
|
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 &&
|
apt-get -qq update && apt-get -qq -y install git python3-pip curl sudo &&
|
||||||
adduser --system --home /home/build-user build-user &&
|
adduser --system --home /home/build-user build-user &&
|
||||||
cd /home/build-user/ &&
|
cd /home/build-user/ &&
|
||||||
echo -e "#!/bin/bash\nset -xe\nenv && id && mkdir ~/DeepSpeech/ && git clone --quiet {{event.head.repo.url}} ~/DeepSpeech/ds/ && cd ~/DeepSpeech/ds && git checkout --quiet {{event.head.sha}}" > /tmp/clone.sh && chmod +x /tmp/clone.sh &&
|
echo -e "#!/bin/bash\nset -xe\nenv && id && mkdir ~/DeepSpeech/ && git clone --quiet {{event.head.repo.url}} ~/DeepSpeech/ds/ && cd ~/DeepSpeech/ds && git checkout --quiet {{event.head.sha}}" > /tmp/clone.sh && chmod +x /tmp/clone.sh &&
|
||||||
|
@ -6,6 +6,8 @@ curdir=$(dirname "$0")
|
|||||||
|
|
||||||
pip3 install --quiet --user --upgrade pip
|
pip3 install --quiet --user --upgrade pip
|
||||||
|
|
||||||
|
export PATH=$HOME/.local/bin/:$PATH
|
||||||
|
|
||||||
curl -L --silent https://raw.githubusercontent.com/lissyx/taskcluster-github-decision/${TC_DECISION_SHA}/requirements.txt | pip3 install --quiet --user --upgrade -r /dev/stdin
|
curl -L --silent https://raw.githubusercontent.com/lissyx/taskcluster-github-decision/${TC_DECISION_SHA}/requirements.txt | pip3 install --quiet --user --upgrade -r /dev/stdin
|
||||||
curl -L --silent https://raw.githubusercontent.com/lissyx/taskcluster-github-decision/${TC_DECISION_SHA}/tc-decision.py > ${curdir}/tc-decision.py
|
curl -L --silent https://raw.githubusercontent.com/lissyx/taskcluster-github-decision/${TC_DECISION_SHA}/tc-decision.py > ${curdir}/tc-decision.py
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user