summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2020-10-06 11:36:38 +0100
committerDaniel Berrange <berrange@redhat.com>2020-10-06 12:34:38 +0000
commit3a4d51e26650d08ac99e403b7893f6630feeb2a3 (patch)
treed14f52105a9ae9bfaa4133393c3a86873ede785f /.gitlab-ci.yml
parent1f441675108ef5e7566e84b546339a1d1ee9af4c (diff)
downloadlibvirt-python-3a4d51e26650d08ac99e403b7893f6630feeb2a3.tar.gz
gitlab: optimize CI job dependenciesv6.9.0
Allow more parallelization by giving explicit dependencies between jobs. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index de5300d..372f2c0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,6 +8,7 @@ stages:
.container_job_template: &container_job_definition
image: docker:stable
stage: containers
+ needs: []
services:
- docker:dind
before_script:
@@ -132,62 +133,86 @@ ubuntu-2004-container:
centos-8-git-build:
<<: *git_build_job_definition
+ needs:
+ - centos-8-container
variables:
NAME: centos-8
centos-7-dist-build:
<<: *dist_build_job_definition
+ needs:
+ - centos-7-container
variables:
NAME: centos-7
centos-8-dist-build:
<<: *dist_build_job_definition
+ needs:
+ - centos-8-container
variables:
NAME: centos-8
centos-stream-dist-build:
<<: *dist_build_job_definition
+ needs:
+ - centos-stream-container
variables:
NAME: centos-stream
debian-10-dist-build:
<<: *dist_build_job_definition
+ needs:
+ - debian-10-container
variables:
NAME: debian-10
debian-sid-dist-build:
<<: *dist_build_job_definition
+ needs:
+ - debian-sid-container
variables:
NAME: debian-sid
fedora-31-dist-build:
<<: *dist_build_job_definition
+ needs:
+ - fedora-31-container
variables:
NAME: fedora-31
fedora-32-dist-build:
<<: *dist_build_job_definition
+ needs:
+ - fedora-32-container
variables:
NAME: fedora-32
fedora-rawhide-dist-build:
<<: *dist_build_job_definition
+ needs:
+ - fedora-rawhide-container
variables:
NAME: fedora-rawhide
opensuse-151-dist-build:
<<: *dist_build_job_definition
+ needs:
+ - opensuse-151-container
variables:
NAME: opensuse-151
RPM: skip
ubuntu-1804-dist-build:
<<: *dist_build_job_definition
+ needs:
+ - ubuntu-1804-container
variables:
NAME: ubuntu-1804
ubuntu-2004-dist-build:
<<: *dist_build_job_definition
+ needs:
+ - ubuntu-2004-container
variables:
NAME: ubuntu-2004