Bump storage available to Docker in CI to 25G

Currently CentOS binary jobs are often failing due to running out of
storage while building images.

See
http://logs.openstack.org/87/612887/8/check/kolla-build-centos-binary/b467920/logs/build/000_FAILED_heat-all.txt.gz
for an example, and
http://logs.openstack.org/87/612887/8/check/kolla-build-centos-binary/b467920/logs/df.txt.gz
for the corresponding df output that shows the /var/lib/docker loopback
mount at 97%.

Change-Id: I2f3d04452c517f8643b124550148cc9d8320b937
(cherry picked from commit 3d4f69f579)
This commit is contained in:
Mark Goddard 2018-11-23 10:04:59 +00:00
parent 96ea0051c0
commit 3bc14c84b1
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ function setup_disk {
fi
if [ ! -f /docker ]; then
sudo dd if=/dev/zero of=/docker bs=1M count=20480
sudo dd if=/dev/zero of=/docker bs=1M count=25600
sudo losetup -f /docker
DEV=$(losetup -a | awk -F: '/\/docker/ {print $1}')
fi