[nautilus/wip/oholy/ci: 17/21] ci: Move code from template directly to job



commit d0f1c8a5da93e0d8ab66c5b512204527fc05bea7
Author: Ondrej Holy <oholy redhat com>
Date:   Fri Mar 6 11:41:49 2020 +0100

    ci: Move code from template directly to job
    
    The distro_test template is used only by one job. Let's move the code
    directly to that job to make the file more readable.

 .gitlab-ci.yml | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1972e6fc9..d1fb5f035 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,12 +10,6 @@ stages:
     - cross_environment
     - deploy
 
-.test_template: &distro_test
-  script:
-      - meson _build .
-      - cd _build
-      - ninja test
-
 flatpak devel:
     extends: '.flatpak'
     image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master
@@ -46,7 +40,10 @@ fedora rawhide:
         - dnf update -y --nogpgcheck
         - dnf install -y 'dnf-command(builddep)' redhat-rpm-config libseccomp-devel gcovr --nogpgcheck
         - dnf builddep -y nautilus --nogpgcheck
-    <<: *distro_test
+    script:
+        - meson _build .
+        - cd _build
+        - ninja test
     only:
         - schedules
         - web


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