[gnome-disk-utility/gnome-3-36] ci: Fix flatpak job
- From: Kai Lüke <kailueke src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-disk-utility/gnome-3-36] ci: Fix flatpak job
- Date: Sat, 14 Mar 2020 21:38:44 +0000 (UTC)
commit f3f4b05a2f0ae583a1fa4575828c16a3828e35ae
Author: Ondrej Holy <oholy redhat com>
Date: Mon Mar 9 11:13:27 2020 +0100
ci: Fix flatpak job
The flatpak job is currently failing with "fuse: device not found, try
'modprobe fuse' first". This is because runners are now unprivileged, see
https://mail.gnome.org/archives/desktop-devel-list/2020-February/msg00055.html.
Let's add flatpak tag and run flatpak build with --user --disable-rofiles-fuse
options to make it work again.
.gitlab-ci.yml | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index de32769f..cda6395c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,6 +15,9 @@ flatpak:
image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master
stage: test
+ tags:
+ - flatpak
+
variables:
BUNDLE: "org.gnome.DiskUtility.flatpak"
MANIFEST_PATH: "flatpak/org.gnome.DiskUtility.json"
@@ -23,11 +26,11 @@ flatpak:
RUNTIME_REPO: "https://sdk.gnome.org/gnome-nightly.flatpakrepo"
script:
- - flatpak-builder --stop-at=${FLATPAK_MODULE} app ${MANIFEST_PATH}
+ - flatpak-builder --user --disable-rofiles-fuse --stop-at=${FLATPAK_MODULE} app ${MANIFEST_PATH}
- flatpak build app meson --prefix=/app ${OPTIONS} _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}
- flatpak build-bundle repo ${BUNDLE} --runtime-repo=${RUNTIME_REPO} ${DBUS_ID}
artifacts:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]