bug 1505652: [taskgraph] Download debian packages from latest run of package task; r=dustin

If a packaging task ended up being retried for any reason, the downstream
docker tasks that depended on them would fail, since they were hard-coding the
artifacts from the initial run.

Differential Revision: https://phabricator.services.mozilla.com/D7364
This commit is contained in:
Tom Prince 2018-10-02 21:38:23 +00:00 коммит произвёл Mike Hommey
Родитель 17f55aee76
Коммит 2449665ce2
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -1,5 +1,5 @@
#!/bin/sh
for task in "$@"; do
echo "deb [trusted=yes] https://queue.taskcluster.net/v1/task/$task/runs/0/artifacts/public/build/ debian/" > "/etc/apt/sources.list.d/99$task.list"
echo "deb [trusted=yes] https://queue.taskcluster.net/v1/task/$task/artifacts/public/build/ debian/" > "/etc/apt/sources.list.d/99$task.list"
done

Просмотреть файл

@ -170,7 +170,7 @@ def docker_worker_debian_package(config, job, taskdesc):
'apt-get install -yyq apt-transport-https ca-certificates && '
'for task in $PACKAGES; do '
' echo "deb [trusted=yes] https://queue.taskcluster.net/v1/task'
'/$task/runs/0/artifacts/public/build/ debian/" '
'/$task/artifacts/public/build/ debian/" '
'>> /etc/apt/sources.list; '
'done && '
# Install the base utilities required to build debian packages.