[gtk/wip/ebassi/ci-junit-report: 1/2] ci: Add manual jobs for Flatpak bundles
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/ebassi/ci-junit-report: 1/2] ci: Add manual jobs for Flatpak bundles
- Date: Fri, 5 Apr 2019 19:11:24 +0000 (UTC)
commit 7080e9182874d65699360fb0a80f82da2b77cea1
Author: Emmanuele Bassi <ebassi gnome org>
Date: Fri Apr 5 19:15:11 2019 +0100
ci: Add manual jobs for Flatpak bundles
Bundles can be useful on branches and MRs as an opt-in.
.gitlab-ci.yml | 38 ++++++++++++++++++++++++++++++++------
1 file changed, 32 insertions(+), 6 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f8019eb935..f7b81247d8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -57,20 +57,46 @@ msys2-mingw32:
script:
- bash -x ./.gitlab-ci/flatpak-build.sh "${APPID}"
-flatpak:demo:
+# Manual jobs, for branches and MRs
+.flatpak-manual: &flatpak-manual
+ <<: *flatpak-defaults
+ when: manual
+
+# Only build Flatpak bundles automatically on master
+.flatpak-master: &flatpak-master
+ <<: *flatpak-defaults
+ only:
+ - master
+
+flatpak-manual:demo:
variables:
APPID: org.gtk.Demo4
- <<: *flatpak-defaults
+ <<: *flatpak-manual
+
+flatpak-master:demo:
+ variables:
+ APPID: org.gtk.Demo4
+ <<: *flatpak-master
-flatpak:widget-factory:
+flatpak-manual:widget-factory:
variables:
APPID: org.gtk.WidgetFactory4
- <<: *flatpak-defaults
+ <<: *flatpak-manual
+
+flatpak-master:widget-factory:
+ variables:
+ APPID: org.gtk.WidgetFactory4
+ <<: *flatpak-master
-flatpak:icon-browser:
+flatpak-manual:icon-browser:
variables:
APPID: org.gtk.IconBrowser4
- <<: *flatpak-defaults
+ <<: *flatpak-manual
+
+flatpak-master:icon-browser:
+ variables:
+ APPID: org.gtk.IconBrowser4
+ <<: *flatpak-master
pages:
image: registry.gitlab.gnome.org/gnome/gtk/master:v3
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]