[nautilus/wip/oholy/ci-improvements: 3/4] ci: Allow fedora and image update job on merge request
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/oholy/ci-improvements: 3/4] ci: Allow fedora and image update job on merge request
- Date: Wed, 11 Aug 2021 08:57:51 +0000 (UTC)
commit af41ab10c3241536e568eea9d2a09702a157edfc
Author: Ondrej Holy <oholy redhat com>
Date: Wed Aug 11 10:45:29 2021 +0200
ci: Allow fedora and image update job on merge request
Currently, the fedora and update image jobs are not used in merge requests.
It would be nice to allow them there so we are aware of the potential issue
before merging. Let's allow them everywhere except stable branches.
.gitlab-ci.yml | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 748188b2c..37ddf89eb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -33,10 +33,8 @@ fedora latest:
- meson _build .
- cd _build
- ninja test
- only:
- - web
- - master
- allow_failure: true
+ except:
+ - /^gnome-.*$/
style check:
image: registry.gitlab.gnome.org/gnome/nautilus:latest
@@ -71,9 +69,8 @@ update image:
- buildah push $CI_REGISTRY_IMAGE
- buildah push "$CI_REGISTRY_IMAGE:v$CI_JOB_ID"
when: manual
- only:
- - web
- - master
except:
+ refs:
+ - /^gnome-.*$/
variables:
- $CI_PROJECT_NAMESPACE != "GNOME"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]