Use explicit provides/requires for container jobs
Rather than rely on the implicit docker-image provides/requires list explicit per-image requirements for related jobs to reduce, unecessarily serialization in change queues. Depends-On: https://review.opendev.org/711119 Change-Id: Ia0d87846120e2201fad0b9c4a0f3abfe0e11ee5b
This commit is contained in:
parent
aba9b4e134
commit
d8f1118153
12
.zuul.yaml
12
.zuul.yaml
@ -153,6 +153,10 @@
|
|||||||
description: Build Docker images.
|
description: Build Docker images.
|
||||||
dependencies:
|
dependencies:
|
||||||
- opendev-buildset-registry
|
- opendev-buildset-registry
|
||||||
|
requires:
|
||||||
|
- python-builder-container-image
|
||||||
|
- python-base-container-image
|
||||||
|
provides: nodepool-container-image
|
||||||
vars: &nodepool_image_vars
|
vars: &nodepool_image_vars
|
||||||
docker_images:
|
docker_images:
|
||||||
- context: .
|
- context: .
|
||||||
@ -169,6 +173,10 @@
|
|||||||
name: nodepool-upload-image
|
name: nodepool-upload-image
|
||||||
parent: opendev-upload-docker-image
|
parent: opendev-upload-docker-image
|
||||||
description: Build Docker images and upload to Docker Hub.
|
description: Build Docker images and upload to Docker Hub.
|
||||||
|
requires:
|
||||||
|
- python-builder-container-image
|
||||||
|
- python-base-container-image
|
||||||
|
provides: nodepool-container-image
|
||||||
vars: *nodepool_image_vars
|
vars: *nodepool_image_vars
|
||||||
secrets:
|
secrets:
|
||||||
- name: docker_credentials
|
- name: docker_credentials
|
||||||
@ -195,6 +203,10 @@
|
|||||||
required-projects:
|
required-projects:
|
||||||
- openstack/diskimage-builder
|
- openstack/diskimage-builder
|
||||||
- openstack/openstacksdk
|
- openstack/openstacksdk
|
||||||
|
requires:
|
||||||
|
- python-builder-container-image
|
||||||
|
- python-base-container-image
|
||||||
|
provides: nodepool-siblings-container-image
|
||||||
vars:
|
vars:
|
||||||
docker_images:
|
docker_images:
|
||||||
- context: .
|
- context: .
|
||||||
|
Loading…
Reference in New Issue
Block a user