chiark / gitweb /
buildserver: download apt package first to increase reliability
authorHans-Christoph Steiner <hans@eds.org>
Tue, 6 Sep 2016 12:33:13 +0000 (14:33 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Mon, 12 Sep 2016 12:58:08 +0000 (14:58 +0200)
commit91c1e8313f44e94e594befe094c687fdbca010af
tree551dba5984f6143fa139e3639bab7499e0fabc13
parent7b64bdcf0b241f8398c854c96dde1f90caf38601
buildserver: download apt package first to increase reliability

This does not have the careful result rechecking that chef has, when it
installs each package in the list one at a time.  So to help with failures
caused by a package failing to download, first try downloading all the
package, then run the install.  The install pass will try to download any
missing packages.

Really, this should use ansible or perhaps chef again since those include
lots of tricks around this stuff.
buildserver/provision-apt-get-install