[libvirt PATCH v2 2/8] ci: Move the SCRATCH_DIR from /tmp

Erik Skultety eskultet at redhat.com
Fri Jan 27 09:26:50 UTC 2023


In case /tmp is mounted as an in-memory file system, we're fairly storage
limited. This might pose a problem in VM scenarios if we build multiple
projects in there or download some data needed for testing. Therefore,
move the scratch to /home. Also, take the opportunity and rename
scratch to 'vroot' as primarily we're building other projects in this
directory, the fact that we also store other data is only a secondary
use case for it.

Signed-off-by: Erik Skultety <eskultet at redhat.com>
---
 ci/integration-template.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ci/integration-template.yml b/ci/integration-template.yml
index 9141d5cedf..15c36d7a29 100644
--- a/ci/integration-template.yml
+++ b/ci/integration-template.yml
@@ -91,7 +91,7 @@
     - test "$CI_JOB_STATUS" = "success" && exit 0;
     - *collect-logs
   variables:
-    SCRATCH_DIR: "/tmp/scratch"
+    SCRATCH_DIR: "/var/tmp/scratch"
   artifacts:
     name: logs
     expire_in: 1 day
-- 
2.39.1



More information about the libvir-list mailing list