Commit 7fbf878d authored by Michael Terry's avatar Michael Terry

Build a flatpak during CI

parent ef3458fd
Pipeline #48695 passed with stage
in 7 minutes and 12 seconds
image: ubuntu:bionic
include: "https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml"
before_script:
- >-
apt update -qq && apt install -y -qq
appstream-util
dbus
desktop-file-utils
gettext
itstool
libglib2.0-bin
libglib2.0-dev
libgoa-1.0-dev
libgoa-backend-1.0-dev
libgpg-error-dev
libgtk-3-dev
libnautilus-extension-dev
libpackagekit-glib2-dev
libpeas-dev
libsecret-1-dev
meson
pkg-config
python3
valac
variables:
BUNDLE: "deja-dup-dev.flatpak"
flatpak:
extends: .flatpak
image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:3.28
variables:
MANIFEST_PATH: "flatpak/org.gnome.DejaDup.json"
MESON_ARGS: "-Dprofile=Devel"
FLATPAK_MODULE: "deja-dup"
RUNTIME_REPO: "https://sdk.gnome.org/gnome.flatpakrepo"
APP_ID: "org.gnome.DejaDup"
check:
script:
- make check
{
"app-id": "org.gnome.DejaDup",
"runtime": "org.gnome.Platform",
"runtime-version": "3.24",
"runtime-version": "3.28",
"sdk": "org.gnome.Sdk",
"command": "deja-dup",
"finish-args": [
......@@ -31,9 +31,9 @@
"name": "librest",
"sources": [
{
"type": "archive",
"url": "https://download.gnome.org/sources/rest/0.8/rest-0.8.0.tar.xz",
"sha256": "e7b89b200c1417073aef739e8a27ff2ab578056c27796ec74f5886a5e0dff647"
"type": "git",
"url": "https://gitlab.gnome.org/GNOME/librest.git",
"tag": "0.8.1"
}
]
},
......@@ -42,9 +42,9 @@
"config-opts": [ "--disable-telepathy", "--disable-documentation", "--disable-gtk-doc" ],
"sources": [
{
"type": "archive",
"url": "https://download.gnome.org/sources/gnome-online-accounts/3.24/gnome-online-accounts-3.24.2.tar.xz",
"sha256": "b70ad52d1541e1e5192dd060bb11552a3af5007ab477aa81d265d1cd1cf7afba"
"type": "git",
"url": "https://gitlab.gnome.org/GNOME/gnome-online-accounts.git",
"tag": "3.28.0"
}
]
},
......@@ -53,9 +53,9 @@
"name": "libpeas",
"sources": [
{
"type": "archive",
"url": "https://download.gnome.org/sources/libpeas/1.21/libpeas-1.21.0.tar.xz",
"sha256": "afb9a8880d53e0599fb1e3ddddfb9d173db18b94d9323f4efd24f07fa241f70c"
"type": "git",
"url": "https://gitlab.gnome.org/GNOME/libpeas.git",
"tag": "libpeas-1.22.0"
}
]
},
......@@ -143,33 +143,6 @@
]
},
{
"name": "pycairo",
"buildsystem": "simple",
"build-commands": [
"python2 setup.py build",
"python2 setup.py install --prefix /app"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/pygobject/pycairo/releases/download/v1.15.1/pycairo-1.15.1.tar.gz",
"sha256": "987d392270247343595d37591f80639ed902fce7e30bd2f944cb1b0a9093553d"
}
]
},
{
"name": "pygobject",
"config-opts": ["--with-python=python2"],
"sources": [
{
"type": "archive",
"url": "https://download.gnome.org/sources/pygobject/3.24/pygobject-3.24.1.tar.xz",
"sha256": "a628a95aa0909e13fb08230b1b98fc48adef10b220932f76d62f6821b3fdbffd"
}
]
},
{
"name": "python-boto",
"buildsystem": "simple",
......
......@@ -608,7 +608,7 @@ void process_duplicity_run_block(KeyFile keyfile, string run, BackupRunner br) t
if (as_root)
dupscript += "\n" + "AS_ROOT";
var verify_script = "mkdir -p %s/deja-dup/metadata && echo 'This folder can be safely deleted.\\n0' > %s/deja-dup/metadata/README".printf(cachedir, cachedir);
var verify_script = "mkdir -p %s/deja-dup/metadata && echo -e 'This folder can be safely deleted.\\n0' > %s/deja-dup/metadata/README".printf(cachedir, cachedir);
if (mode == Mode.VERIFY)
dupscript += "\n" + "SCRIPT: " + verify_script;
if (script != null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment