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



commit c0c88277916553f06be885c327903847986c5161
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

 .gitlab-ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ea4a432a2..61fcee931 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]