[gnome-2048: 1/2] Gitlab CI: build flatpak nightlies



commit ed3f0ae213b3b727bc880c4b389bfd3c20c22fe7
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date:   Mon Feb 4 14:05:02 2019 +0000

    Gitlab CI: build flatpak nightlies

 .gitlab-ci.yml                                 | 23 +++++++++++++++++++++++
 data/org.gnome.TwentyFortyEight.appdata.xml.in |  2 +-
 flatpak/org.gnome.TwentyFortyEightDevel.json   |  3 +--
 3 files changed, 25 insertions(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..0106686
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,23 @@
+include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml'
+
+variables:
+    BUNDLE: "gnome-2048-dev.flatpak"
+
+flatpak:
+    image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master'
+    variables:
+        MANIFEST_PATH: "flatpak/org.gnome.TwentyFortyEightDevel.json"
+        FLATPAK_MODULE: "gnome-2048"
+        RUNTIME_REPO: "https://sdk.gnome.org/gnome-nightly.flatpakrepo";
+        APP_ID: "org.gnome.TwentyFortyEight"
+    extends: .flatpak
+
+review:
+    stage: deploy
+    dependencies:
+        - 'flatpak'
+    extends: '.review'
+
+stop_review:
+    stage: deploy
+    extends: '.stop_review'
diff --git a/data/org.gnome.TwentyFortyEight.appdata.xml.in b/data/org.gnome.TwentyFortyEight.appdata.xml.in
index 2db84e8..9902cd3 100644
--- a/data/org.gnome.TwentyFortyEight.appdata.xml.in
+++ b/data/org.gnome.TwentyFortyEight.appdata.xml.in
@@ -39,7 +39,7 @@
   <provides>
     <id>org.gnome.gnome-2048.desktop</id>
   </provides>
-  <launchable type="desktop-id">org.gnome.TwentyFortyEight</launchable>
+  <launchable type="desktop-id">org.gnome.TwentyFortyEight.desktop</launchable>
   <url type="homepage">https://wiki.gnome.org/Apps/2048</url>
   <url type="bugtracker">https://gitlab.gnome.org/GNOME/gnome-2048/issues</url>
   <url type="donation">http://www.gnome.org/friends/</url>
diff --git a/flatpak/org.gnome.TwentyFortyEightDevel.json b/flatpak/org.gnome.TwentyFortyEightDevel.json
index 35245e4..3366686 100644
--- a/flatpak/org.gnome.TwentyFortyEightDevel.json
+++ b/flatpak/org.gnome.TwentyFortyEightDevel.json
@@ -1,7 +1,7 @@
 {
     "app-id":"org.gnome.TwentyFortyEight",
     "runtime":"org.gnome.Platform",
-    "runtime-version":"3.30",
+    "runtime-version":"master",
     "sdk":"org.gnome.Sdk",
     "command":"gnome-2048",
     "tags":[
@@ -46,7 +46,6 @@
             "sources":[
                 {
                     "type":"git",
-                    "branch":"master",
                     "url":"https://gitlab.gnome.org/GNOME/gnome-2048.git";
                 }
             ]


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