taskcluster/docker/debian-base/setup_packages.sh
author Tom Prince <mozilla@hocat.ca>
Tue, 02 Oct 2018 21:38:23 +0000
changeset 501588 072bf0d7270d25d4892967402c0a1c5eebe0bf9b
parent 501586 5ece74940a5f39b5c2840400ed05112ebf1eaa15
child 508260 6dc9522ee0bf672fdb407fbfe48643d1b393ae3d
permissions -rwxr-xr-x
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

#!/bin/sh

for task in "$@"; do
  echo "deb [trusted=yes] https://queue.taskcluster.net/v1/task/$task/artifacts/public/build/ debian/" > "/etc/apt/sources.list.d/99$task.list"
done