[mutter/wip/3v1n0/ci-norebuilds: 2/3] gitlab-ci: Use runtime dir owned only by current user



commit a54f9e835cd42e196a6eb64bfff41ef7fa44a915
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date:   Wed Jan 23 13:55:40 2019 +0100

    gitlab-ci: Use runtime dir owned only by current user
    
    https://gitlab.gnome.org/GNOME/mutter/merge_requests/408

 .gitlab-ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index af3d879fb..249c38400 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -24,8 +24,9 @@ test-mutter:
       - build
   script:
     - glib-compile-schemas $PWD/build/data
+    - mkdir -m 700 $PWD/runtime-dir
     - >
-      env XDG_RUNTIME_DIR=/tmp
+      env XDG_RUNTIME_DIR=$PWD/runtime-dir
       GSETTINGS_SCHEMA_DIR=$PWD/build/data
       dbus-run-session -- xvfb-run -s '+iglx -noreset'
       meson test -C build --no-rebuild -t 10 --verbose --no-stdsplit --wrap catchsegv


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