[gnome-maps] gitlab-ci: Run flatpak-builder unprivileged



commit 63ca92a9db023f1a66959c34511f03c750a68970
Author: Marcus Lundblad <ml update uu se>
Date:   Thu Feb 20 21:45:59 2020 +0100

    gitlab-ci: Run flatpak-builder unprivileged
    
    See: https://mail.gnome.org/archives/desktop-devel-list/2020-February/msg00055.html

 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7d6be330..eb13ae4b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -21,12 +21,12 @@ flatpak:
         DBUS_ID: "org.gnome.Maps"
 
     script:
-        - flatpak-builder --stop-at=${FLATPAK_MODULE} app ${MANIFEST_PATH}
+        - flatpak-builder --user -disable-rofiles-fuse --stop-at=${FLATPAK_MODULE} app ${MANIFEST_PATH}
         # Make sure to keep this in sync with the Flatpak manifest, all arguments
         # are passed except the config-args because we build it ourselves
         - flatpak build app meson --prefix=/app ${MESON_ARGS} _build
         - flatpak build app ninja -C _build install
-        - flatpak-builder --finish-only --repo=repo app ${MANIFEST_PATH}
+        - flatpak-builder --user -disable-rofiles-fuse --finish-only --repo=repo app ${MANIFEST_PATH}
         # Generate a Flatpak bundle
         - flatpak build-bundle repo ${BUNDLE} --runtime-repo=${RUNTIME_REPO} ${DBUS_ID}
         # Run automatic tests inside the Flatpak env


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