[glib/wip/hadess/update-installed-tests-ci] ci: Fix permssion error in valgrind analysis stage



commit 687b3c09068f7e73de02c79b1dc7a7f6289dc423
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Dec 11 17:52:24 2019 +0100

    ci: Fix permssion error in valgrind analysis stage
    
    The valgrind analysis stage inherits from existing artefacts, so make
    sure to reset the permissions on the glib build directory to avoid a new
    build failing.
    
    $ meson ${MESON_COMMON_OPTIONS} --werror -Dsystemtap=true -Ddtrace=true -Dfam=true -Dinstalled_tests=true 
_build
    <snip>
    PermissionError: [Errno 13] Permission denied: '/builds/GNOME/glib/_build/meson-logs/meson-log.txt'

 .gitlab-ci.yml | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6afbbe0ef..59917b8bf 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -112,6 +112,7 @@ installed-tests:
             _build
     - ninja -C _build
     - sudo ninja -C _build install
+    - chown -R 5555:5555 _build/
     # FIXME Install newer xdg-desktop-portal with
     # GMemoryMonitor support, see:
     # https://github.com/flatpak/xdg-desktop-portal/pull/365


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