[libvirt PATCH v3 03/12] gitlab: create an explicit stage for cross build jobs

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

 



As we introduce more build jobs, it will be useful to have a grouping of
jobs to more easily visualize the results and potentially control build
ordering.

Reviewed-by: Erik Skultety <eskultet@xxxxxxxxxx>
Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
---
 .gitlab-ci.yml | 25 +++++++++++++++----------
 1 file changed, 15 insertions(+), 10 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4438f51a6a..8d22706bd4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,7 +2,12 @@ variables:
   MAKE: make
   GIT_DEPTH: 100
 
-.job_template: &job_definition
+stages:
+  - cross_build
+
+
+.cross_build_default_job_template: &cross_build_default_job_definition
+  stage: cross_build
   script:
     - mkdir build
     - cd build
@@ -14,37 +19,37 @@ variables:
 # to achieve reasonable cross-coverage.
 
 debian-9-cross-armv6l:
-  <<: *job_definition
+  <<: *cross_build_default_job_definition
   image: quay.io/libvirt/buildenv-libvirt-debian-9-cross-armv6l:latest
 
 debian-9-cross-mips64el:
-  <<: *job_definition
+  <<: *cross_build_default_job_definition
   image: quay.io/libvirt/buildenv-libvirt-debian-9-cross-mips64el:latest
 
 debian-9-cross-mips:
-  <<: *job_definition
+  <<: *cross_build_default_job_definition
   image: quay.io/libvirt/buildenv-libvirt-debian-9-cross-mips:latest
 
 debian-10-cross-aarch64:
-  <<: *job_definition
+  <<: *cross_build_default_job_definition
   image: quay.io/libvirt/buildenv-libvirt-debian-10-cross-aarch64:latest
 
 debian-10-cross-ppc64le:
-  <<: *job_definition
+  <<: *cross_build_default_job_definition
   image: quay.io/libvirt/buildenv-libvirt-debian-10-cross-ppc64le:latest
 
 debian-10-cross-s390x:
-  <<: *job_definition
+  <<: *cross_build_default_job_definition
   image: quay.io/libvirt/buildenv-libvirt-debian-10-cross-s390x:latest
 
 debian-sid-cross-armv7l:
-  <<: *job_definition
+  <<: *cross_build_default_job_definition
   image: quay.io/libvirt/buildenv-libvirt-debian-sid-cross-armv7l:latest
 
 debian-sid-cross-i686:
-  <<: *job_definition
+  <<: *cross_build_default_job_definition
   image: quay.io/libvirt/buildenv-libvirt-debian-sid-cross-i686:latest
 
 debian-sid-cross-mipsel:
-  <<: *job_definition
+  <<: *cross_build_default_job_definition
   image: quay.io/libvirt/buildenv-libvirt-debian-sid-cross-mipsel:latest
-- 
2.24.1





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux