mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2025-12-10 16:23:50 +03:00
gitlab: optimize CI job dependencies
Allow more parallelization by giving explicit dependencies between jobs. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
committed by
Daniel Berrange
parent
1f44167510
commit
3a4d51e266
@@ -8,6 +8,7 @@ stages:
|
|||||||
.container_job_template: &container_job_definition
|
.container_job_template: &container_job_definition
|
||||||
image: docker:stable
|
image: docker:stable
|
||||||
stage: containers
|
stage: containers
|
||||||
|
needs: []
|
||||||
services:
|
services:
|
||||||
- docker:dind
|
- docker:dind
|
||||||
before_script:
|
before_script:
|
||||||
@@ -132,62 +133,86 @@ ubuntu-2004-container:
|
|||||||
|
|
||||||
centos-8-git-build:
|
centos-8-git-build:
|
||||||
<<: *git_build_job_definition
|
<<: *git_build_job_definition
|
||||||
|
needs:
|
||||||
|
- centos-8-container
|
||||||
variables:
|
variables:
|
||||||
NAME: centos-8
|
NAME: centos-8
|
||||||
|
|
||||||
|
|
||||||
centos-7-dist-build:
|
centos-7-dist-build:
|
||||||
<<: *dist_build_job_definition
|
<<: *dist_build_job_definition
|
||||||
|
needs:
|
||||||
|
- centos-7-container
|
||||||
variables:
|
variables:
|
||||||
NAME: centos-7
|
NAME: centos-7
|
||||||
|
|
||||||
centos-8-dist-build:
|
centos-8-dist-build:
|
||||||
<<: *dist_build_job_definition
|
<<: *dist_build_job_definition
|
||||||
|
needs:
|
||||||
|
- centos-8-container
|
||||||
variables:
|
variables:
|
||||||
NAME: centos-8
|
NAME: centos-8
|
||||||
|
|
||||||
centos-stream-dist-build:
|
centos-stream-dist-build:
|
||||||
<<: *dist_build_job_definition
|
<<: *dist_build_job_definition
|
||||||
|
needs:
|
||||||
|
- centos-stream-container
|
||||||
variables:
|
variables:
|
||||||
NAME: centos-stream
|
NAME: centos-stream
|
||||||
|
|
||||||
debian-10-dist-build:
|
debian-10-dist-build:
|
||||||
<<: *dist_build_job_definition
|
<<: *dist_build_job_definition
|
||||||
|
needs:
|
||||||
|
- debian-10-container
|
||||||
variables:
|
variables:
|
||||||
NAME: debian-10
|
NAME: debian-10
|
||||||
|
|
||||||
debian-sid-dist-build:
|
debian-sid-dist-build:
|
||||||
<<: *dist_build_job_definition
|
<<: *dist_build_job_definition
|
||||||
|
needs:
|
||||||
|
- debian-sid-container
|
||||||
variables:
|
variables:
|
||||||
NAME: debian-sid
|
NAME: debian-sid
|
||||||
|
|
||||||
fedora-31-dist-build:
|
fedora-31-dist-build:
|
||||||
<<: *dist_build_job_definition
|
<<: *dist_build_job_definition
|
||||||
|
needs:
|
||||||
|
- fedora-31-container
|
||||||
variables:
|
variables:
|
||||||
NAME: fedora-31
|
NAME: fedora-31
|
||||||
|
|
||||||
fedora-32-dist-build:
|
fedora-32-dist-build:
|
||||||
<<: *dist_build_job_definition
|
<<: *dist_build_job_definition
|
||||||
|
needs:
|
||||||
|
- fedora-32-container
|
||||||
variables:
|
variables:
|
||||||
NAME: fedora-32
|
NAME: fedora-32
|
||||||
|
|
||||||
fedora-rawhide-dist-build:
|
fedora-rawhide-dist-build:
|
||||||
<<: *dist_build_job_definition
|
<<: *dist_build_job_definition
|
||||||
|
needs:
|
||||||
|
- fedora-rawhide-container
|
||||||
variables:
|
variables:
|
||||||
NAME: fedora-rawhide
|
NAME: fedora-rawhide
|
||||||
|
|
||||||
opensuse-151-dist-build:
|
opensuse-151-dist-build:
|
||||||
<<: *dist_build_job_definition
|
<<: *dist_build_job_definition
|
||||||
|
needs:
|
||||||
|
- opensuse-151-container
|
||||||
variables:
|
variables:
|
||||||
NAME: opensuse-151
|
NAME: opensuse-151
|
||||||
RPM: skip
|
RPM: skip
|
||||||
|
|
||||||
ubuntu-1804-dist-build:
|
ubuntu-1804-dist-build:
|
||||||
<<: *dist_build_job_definition
|
<<: *dist_build_job_definition
|
||||||
|
needs:
|
||||||
|
- ubuntu-1804-container
|
||||||
variables:
|
variables:
|
||||||
NAME: ubuntu-1804
|
NAME: ubuntu-1804
|
||||||
|
|
||||||
ubuntu-2004-dist-build:
|
ubuntu-2004-dist-build:
|
||||||
<<: *dist_build_job_definition
|
<<: *dist_build_job_definition
|
||||||
|
needs:
|
||||||
|
- ubuntu-2004-container
|
||||||
variables:
|
variables:
|
||||||
NAME: ubuntu-2004
|
NAME: ubuntu-2004
|
||||||
|
|||||||
Reference in New Issue
Block a user