Commit 6e3ea7eb authored by Sophie Herold's avatar Sophie Herold
Browse files

Bump version to beta 3

parent 94d77ad8
include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml' include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml'
flatpak: flatpak:
extends: .flatpak
image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/rust_bundle:3.36' image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/rust_bundle:3.36'
variables: variables:
MANIFEST_PATH: "build-aux/ci.manifest.yml" MANIFEST_PATH: "build-aux/ci.manifest.yml"
...@@ -9,8 +10,15 @@ flatpak: ...@@ -9,8 +10,15 @@ flatpak:
APP_ID: "org.gnome.gitlab.sophie_h.PikaBackup" APP_ID: "org.gnome.gitlab.sophie_h.PikaBackup"
RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo" RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo"
BUNDLE: "pika-backup-dev.flatpak" BUNDLE: "pika-backup-dev.flatpak"
extends: .flatpak
nightly: nightly:
extends: '.publish_nightly' extends: '.publish_nightly'
dependencies: ['flatpak'] dependencies: ['flatpak']
release:
extends: flatpak
rules:
- if: $CI_COMMIT_TAG
variables:
MANIFEST_PATH: "build-aux/flathub.manifest.yml"
MESON_ARGS: ""
[package] [package]
name = "pika-backup" name = "pika-backup"
description = "Simple backups based on borg" description = "Simple backups based on borg"
version = "0.1.0-beta.2" version = "0.1.0-beta.3"
authors = ["Sophie Herold <sophie@hemio.de>"] authors = ["Sophie Herold <sophie@hemio.de>"]
homepage = "https://gitlab.gnome.org/sophie-h/pika-backup" homepage = "https://gitlab.gnome.org/sophie-h/pika-backup"
edition = "2018" edition = "2018"
......
--- ---
app-id: org.gnome.gitlab.sophie_h.PikaBackup app-id: org.gnome.gitlab.sophie_h.PikaBackup
build-options: command: pika-backup
runtime: org.gnome.Platform
runtime-version: "3.36"
sdk: org.gnome.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.rust-stable
build-options:
append-path: /usr/lib/sdk/rust-stable/bin append-path: /usr/lib/sdk/rust-stable/bin
build-args: build-args:
- "--share=network" - --share=network
env:
CARGO_HOME: /run/build/rust-flatpak/cargo finish-args:
RUSTFLAGS: "--remap-path-prefix =../"
command: pika-backup
finish-args:
- --filesystem=host - --filesystem=host
- --share=network - --share=network
- --socket=wayland - --socket=wayland
...@@ -27,7 +30,21 @@ finish-args: ...@@ -27,7 +30,21 @@ finish-args:
- --talk-name=org.freedesktop.Flatpak.* - --talk-name=org.freedesktop.Flatpak.*
# inhibit shutdown and sleep # inhibit shutdown and sleep
- --system-talk-name=org.freedesktop.login1 - --system-talk-name=org.freedesktop.login1
modules: modules:
- name: borg
buildsystem: simple
build-commands:
- pip3 install --no-index --find-links=. --prefix=/app setuptools_scm
- pip3 install --no-index --find-links=. --prefix=/app borgbackup
sources:
- type: file
url: https://files.pythonhosted.org/packages/54/85/514ba3ca2a022bddd68819f187ae826986051d130ec5b972076e4f58a9f3/setuptools_scm-3.2.0.tar.gz
sha256: 52ab47715fa0fc7d8e6cd15168d1a69ba995feb1505131c3e814eb7087b57358
- type: file
url: https://files.pythonhosted.org/packages/97/68/27d96a12f54894223ad6676ce4d215ad61771e3e723580f3ee6e609e17b7/borgbackup-1.1.13.tar.gz
sha256: 164a8666a61071ce2fa6c60627c7646f12e3a8e74cd38f046be72f5ea91b3821
- name: fusermout - name: fusermout
config-opts: config-opts:
- MOUNT_FUSE_PATH=/app/bin - MOUNT_FUSE_PATH=/app/bin
...@@ -35,31 +52,25 @@ modules: ...@@ -35,31 +52,25 @@ modules:
- install fusermount-wrapper.sh /app/bin/fusermount - install fusermount-wrapper.sh /app/bin/fusermount
sources: sources:
- type: archive - type: archive
url: "https://github.com/libfuse/libfuse/releases/download/fuse-2.9.9/fuse-2.9.9.tar.gz" url: https://github.com/libfuse/libfuse/releases/download/fuse-2.9.9/fuse-2.9.9.tar.gz
sha256: d0e69d5d608cc22ff4843791ad097f554dd32540ddc9bed7638cc6fea7c1b4b5 sha256: d0e69d5d608cc22ff4843791ad097f554dd32540ddc9bed7638cc6fea7c1b4b5
- -
type: "file" type: file
path: "fusermount-wrapper.sh" path: fusermount-wrapper.sh
- name: borg - name: llfuse
buildsystem: simple buildsystem: simple
build-commands: build-commands:
- install borg /app/bin/borg - python3 setup.py build_ext --inplace
sources: - python3 setup.py install --prefix=/app
- dest-filename: borg sources:
type: file - type: archive
url: "https://github.com/borgbackup/borg/releases/download/1.1.13/borg-linux64" url: https://files.pythonhosted.org/packages/75/b4/5248459ec0e7e1608814915479cb13e5baf89034b572e3d74d5c9219dd31/llfuse-1.3.6.tar.bz2
sha256: 60a662bef3669ed16bb29dadf6b59b74ff664f983d5fa71de7f1fb05a4fec7c0 sha256: 31a267f7ec542b0cd62e0f1268e1880fdabf3f418ec9447def99acfa6eff2ec9
- name: pika-backup - name: pika-backup
buildsystem: meson buildsystem: meson
sources: sources:
- path: ../ - type: dir
type: dir path: ../
runtime: org.gnome.Platform
runtime-version: "3.36"
sdk: org.gnome.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.rust-stable
#!/bin/sh
sed '0,/share=network/{//d;}' ci.manifest.yml\
| sed '0,/build-args/{//d;}' \
| sed 's/type: dir/type: archive/' \
| sed 's/path: ..\//url: \n sha256: /' \
> flathub.manifest.yml
---
app-id: org.gnome.gitlab.sophie_h.PikaBackup
command: pika-backup
runtime: org.gnome.Platform
runtime-version: "3.36"
sdk: org.gnome.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.rust-stable
build-options:
append-path: /usr/lib/sdk/rust-stable/bin
finish-args:
- --filesystem=host
- --share=network
- --socket=wayland
# X11
- --share=ipc
- --socket=x11
- --socket=fallback-x11
# SSH-keys etc
- --socket=ssh-auth
# secrete service (keyring)
- --talk-name=org.freedesktop.secrets
# gio::Device etc
- --talk-name=org.gtk.vfs.*
# fusermount
- --device=all
- --talk-name=org.freedesktop.Flatpak.*
# inhibit shutdown and sleep
- --system-talk-name=org.freedesktop.login1
modules:
- name: borg
buildsystem: simple
build-commands:
- pip3 install --no-index --find-links=. --prefix=/app setuptools_scm
- pip3 install --no-index --find-links=. --prefix=/app borgbackup
sources:
- type: file
url: https://files.pythonhosted.org/packages/54/85/514ba3ca2a022bddd68819f187ae826986051d130ec5b972076e4f58a9f3/setuptools_scm-3.2.0.tar.gz
sha256: 52ab47715fa0fc7d8e6cd15168d1a69ba995feb1505131c3e814eb7087b57358
- type: file
url: https://files.pythonhosted.org/packages/97/68/27d96a12f54894223ad6676ce4d215ad61771e3e723580f3ee6e609e17b7/borgbackup-1.1.13.tar.gz
sha256: 164a8666a61071ce2fa6c60627c7646f12e3a8e74cd38f046be72f5ea91b3821
- name: fusermout
config-opts:
- MOUNT_FUSE_PATH=/app/bin
post-install:
- install fusermount-wrapper.sh /app/bin/fusermount
sources:
- type: archive
url: https://github.com/libfuse/libfuse/releases/download/fuse-2.9.9/fuse-2.9.9.tar.gz
sha256: d0e69d5d608cc22ff4843791ad097f554dd32540ddc9bed7638cc6fea7c1b4b5
-
type: file
path: fusermount-wrapper.sh
- name: llfuse
buildsystem: simple
build-commands:
- python3 setup.py build_ext --inplace
- python3 setup.py install --prefix=/app
sources:
- type: archive
url: https://files.pythonhosted.org/packages/75/b4/5248459ec0e7e1608814915479cb13e5baf89034b572e3d74d5c9219dd31/llfuse-1.3.6.tar.bz2
sha256: 31a267f7ec542b0cd62e0f1268e1880fdabf3f418ec9447def99acfa6eff2ec9
- name: pika-backup
buildsystem: meson
sources:
- type: archive
url:
sha256:
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