summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2019-02-14 16:10:31 +0100
committerOndrej Holy <oholy@redhat.com>2019-02-15 10:57:42 +0100
commit217a5e174ec6fb4bcfb2dc317e9d769aaa0134e0 (patch)
treec7f9cef3b599bd60f792f5d46dffa880912c0fe5 /.gitlab-ci.yml
parent1aa041b12cfe1f8c738f564f4349c30a1a84ea3b (diff)
downloadgvfs-217a5e174ec6fb4bcfb2dc317e9d769aaa0134e0.tar.gz
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.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml10
1 files changed, 9 insertions, 1 deletions
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