[libvirt PATCH v3 2/4] ci: Add 'sanity_checks' stage

Andrea Bolognani abologna at redhat.com
Wed Jun 10 15:34:12 UTC 2020


We're going to build container images as part of the CI pipeline
soon, which means that we need to make sure all jobs that run in a
container image which is not provided by an external project happens
later in the pipeline; at the same time, we want to perform some
basic sanity checks, such as DCO checking, as early as possible, and
this new stage achieves just that.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 .gitlab-ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8405b3b67c..ba31afd205 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,6 +2,7 @@ variables:
   GIT_DEPTH: 100
 
 stages:
+  - sanity_checks
   - prebuild
   - native_build
   - cross_build
@@ -294,7 +295,7 @@ potfile:
 # this test on developer's personal forks from which
 # merge requests are submitted
 check-dco:
-  stage: prebuild
+  stage: sanity_checks
   image: registry.gitlab.com/libvirt/libvirt-ci/check-dco:master
   script:
     - /check-dco
-- 
2.25.4




More information about the libvir-list mailing list