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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux