[gnome-sound-recorder] CI: use the latest ci template



commit 8b88b2e2b20bc3651cfcc51f7b338dcfcb892114
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date:   Tue Jun 2 18:46:25 2020 +0200

    CI: use the latest ci template

 .gitlab-ci.yml | 55 ++++++++++++++++++++++---------------------------------
 1 file changed, 22 insertions(+), 33 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 55e8c04..2b9aba2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,39 +1,28 @@
-include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml'
+include:
+  - project: "gnome/citemplates"
+    file: "flatpak/flatpak_ci_initiative.yml"
 
-variables:
+flatpak:
+  image: "registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master"
+  variables:
+    MANIFEST_PATH: "org.gnome.SoundRecorder.json"
     BUNDLE: "sound-recorder-dev.flatpak"
-    LINT_LOG: "eslint-report.txt"
+    FLATPAK_MODULE: "gnome-sound-recorder"
+    RUNTIME_REPO: "https://sdk.gnome.org/gnome-nightly.flatpakrepo";
+    APP_ID: "org.gnome.SoundRecorderDevel"
+  extends: .flatpak
 
+nightly:
+  extends: ".publish_nightly"
 
 eslint:
-    image: registry.gitlab.gnome.org/gnome/gjs:fedora.static-analysis
-    script:
-        - eslint -o $LINT_LOG --no-color src || { cat $LINT_LOG; false; }
-    artifacts:
-        paths:
-            - ${LINT_LOG}
-        when: on_failure
-
-
-flatpak:
-    image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master'
-    variables:
-        MANIFEST_PATH: "org.gnome.SoundRecorder.json"
-        FLATPAK_MODULE: "gnome-sound-recorder"
-        MESON_ARGS: "-Dprofile=development"
-        RUNTIME_REPO: "https://sdk.gnome.org/gnome-nightly.flatpakrepo";
-        APP_ID: "org.gnome.SoundRecorderDevel"
-    extends: .flatpak
-
-review:
-    stage: deploy
-    dependencies:
-        - 'flatpak'
-    extends: '.review'
-
-stop_review:
-    stage: deploy
-    extends: '.stop_review'
+  image: registry.gitlab.gnome.org/gnome/gjs:fedora.static-analysis
 
-nightly:
-  extends: '.publish_nightly'
+  variables:
+    LINT_LOG: "eslint-report.txt"
+  script:
+    - eslint -o $LINT_LOG --no-color src || { cat $LINT_LOG; false; }
+  artifacts:
+    paths:
+      - ${LINT_LOG}
+    when: on_failure


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