From 71a42fe7a8bf3dd71ec7125df6d15705765b585d Mon Sep 17 00:00:00 2001 From: Lin Yang Date: Fri, 13 Feb 2015 10:35:18 +0800 Subject: [PATCH] Prepare TMPDIR to avoid using lots of rootfs Image worker rootfs is small:8GB and producing multi-GB files there risks filling it and risks failing entire image produce step. prepare TMPDIR env var before calling qemu, pointing temp dir to /var/lib/jenkins/tmp. Fixes: #2334 Change-Id: I7ab9ba5518594b56d3bf023c81a251ab548acc22 Signed-off-by: Lin Yang --- jobs/configuration | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jobs/configuration b/jobs/configuration index f2677ab..9672bf4 100644 --- a/jobs/configuration +++ b/jobs/configuration @@ -60,6 +60,9 @@ ACTIVE_PROJECTS=Tizen:Common,Tizen:IVI,Tizen:Mobile,Tizen:TV,Tizen:Wearable # Dry-run mode for sync-obs SYNCOBS_DRYRUN=1 +## Get qemu on worker to use big volume for temp.files when snapshotting +TMPDIR=/var/lib/jenkins/tmp + ############################################ # Below are sync instance parameters. Please # enable them when deploy sync instance. -- 2.7.4