[nautilus/wip/oholy/ci: 10/13] ci: Move code from template directly to job



commit d5e17c388399acdf27ab6c894e672eed446fb695
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 0206908f6..a1ebd8aaf 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'
     stage: test
@@ -47,7 +41,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]