[gvfs] ci: Run gnome-build-meta job also on tags



commit 217a5e174ec6fb4bcfb2dc317e9d769aaa0134e0
Author: Ondrej Holy <oholy redhat com>
Date:   Thu Feb 14 16:10:31 2019 +0100

    ci: Run gnome-build-meta job also on tags
    
    gnome-build-meta is manual job as it takes some time. However, let's
    run this job when the new tag is created to be sure that the release
    is ok.

 .gitlab-ci.yml | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 675916ed..88aedb51 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,7 +5,7 @@ fedora:
         - ninja -C build install
         - GIO_USE_VOLUME_MONITOR=unix gnome-desktop-testing-runner gvfs
 
-gnome-build-meta:
+.gnome-build-meta-template: &gnome-build-meta
     image: buildstream/buildstream-fedora:master-123-abef70fe
     before_script:
         - pip3 uninstall -y buildstream
@@ -21,7 +21,15 @@ gnome-build-meta:
         - bst build --track-all sdk/gvfs.bst
         - bst workspace open --no-checkout sdk/gvfs.bst ..
         - bst --no-interactive build sdk/gvfs.bst
+
+gnome-build-meta-tags:
+    <<: *gnome-build-meta
+    only: [tags]
+
+gnome-build-meta-manual:
+    <<: *gnome-build-meta
     when: manual
+    except: [tags]
 
 update-image:
     image: docker:latest


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