[nautilus/wip/oholy/ci-improvements: 2/3] ci: Do not show update image job on merge requests



commit c4e557b295f70c9000fa2fce5950f2e0070a7236
Author: Ondrej Holy <oholy redhat com>
Date:   Wed Apr 15 15:56:59 2020 +0200

    ci: Do not show update image job on merge requests
    
    The update image job is always shown (under the GNOME namespace),
    however, fedora rawhide job is used only on master/web. So let's show
    this job only on master/web as well.

 .gitlab-ci.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b6b036389..057efa0dc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -102,5 +102,8 @@ update image:
         - docker push $CI_REGISTRY_IMAGE
     when: manual
     only:
+        - web
+        - master
+    except:
         variables:
-            - $CI_PROJECT_NAMESPACE == "GNOME"
+            - $CI_PROJECT_NAMESPACE != "GNOME"


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