From 62da6583a10db2e72029b981b8d446579c6ed927 Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Thu, 23 Jun 2016 10:21:30 +1000 Subject: [PATCH] Don't use tmpfs for DIB functional tests We may do things that exceed the space available in a tmpfs, so point everything at the larger mounted space. Change-Id: Ie63a66f9c3e77a0e6351f2d058e17a5eb5a2d949 --- jenkins/jobs/diskimage-builder.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/jenkins/jobs/diskimage-builder.yaml b/jenkins/jobs/diskimage-builder.yaml index 55ecc28a8e..77f7f3a83b 100644 --- a/jenkins/jobs/diskimage-builder.yaml +++ b/jenkins/jobs/diskimage-builder.yaml @@ -17,6 +17,12 @@ openstack/diskimage-builder \ openstack/dib-utils + # We do things that might exceed the default 2GiB tmpfs, and + # use the larger mounted space. + mkdir /opt/dib_cache + export DIB_NO_TMPFS=1 + export TMPDIR=/opt/dib_cache + virtualenv env ./env/bin/pip install $(pwd)/openstack/dib-utils