[meld/precommit] CI: Don't run from rawhide and make the lint stage saner



commit 8b295b9ee74b69ef7361ed81bd7cbcb870943b97
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sun Oct 6 08:23:30 2019 +1000

    CI: Don't run from rawhide and make the lint stage saner
    
    There's no reason for lint to require a full dnf update, and it really
    should fail the pipeline.

 .gitlab-ci.yml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index affcf7dc..9256c93d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,3 +1,5 @@
+image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master
+
 stages:
   - check
   - build
@@ -14,7 +16,6 @@ variables:
                 glib2-devel
 
 .linux-common: &linux-common
-  image: fedora:rawhide
   before_script:
     - dnf update -y
     - dnf install -y $DEPENDENCIES
@@ -25,8 +26,6 @@ lint:
     - dnf install -y git
     - pip3 install -r dev-requirements.txt
     - pre-commit run --all-files --show-diff-on-failure
-  allow_failure: true
-  <<: *linux-common
 
 linux-pytest:
   stage: check


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