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



commit 6206f79f3759a4c9a2b60d58ca1e8a41d6c3d63c
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 8257ba040..f089a92c1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -24,7 +24,8 @@ test-mutter:
       - build
   script:
     - glib-compile-schemas $PWD/build/data
-    - env XDG_RUNTIME_DIR=/tmp
+    - mkdir -m 700 $PWD/runtime-dir
+    - 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]