summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorMarcus Lundblad <ml@update.uu.se>2020-02-20 21:45:59 +0100
committerMarcus Lundblad <ml@update.uu.se>2020-02-20 21:45:59 +0100
commit63ca92a9db023f1a66959c34511f03c750a68970 (patch)
tree268978ca89e379c098dcb638c95177e8c60177ae /.gitlab-ci.yml
parent77aecb228fc7cd174100a95de666967858975d0d (diff)
downloadgnome-maps-63ca92a9db023f1a66959c34511f03c750a68970.tar.gz
gitlab-ci: Run flatpak-builder unprivileged
See: https://mail.gnome.org/archives/desktop-devel-list/2020-February/msg00055.html
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml4
1 files 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