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.
|
||||
dependencies:
|
||||
- opendev-buildset-registry
|
||||
requires:
|
||||
- python-builder-container-image
|
||||
- python-base-container-image
|
||||
provides: nodepool-container-image
|
||||
vars: &nodepool_image_vars
|
||||
docker_images:
|
||||
- context: .
|
||||
@ -169,6 +173,10 @@
|
||||
name: nodepool-upload-image
|
||||
parent: opendev-upload-docker-image
|
||||
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
|
||||
secrets:
|
||||
- name: docker_credentials
|
||||
@ -195,6 +203,10 @@
|
||||
required-projects:
|
||||
- openstack/diskimage-builder
|
||||
- openstack/openstacksdk
|
||||
requires:
|
||||
- python-builder-container-image
|
||||
- python-base-container-image
|
||||
provides: nodepool-siblings-container-image
|
||||
vars:
|
||||
docker_images:
|
||||
- context: .
|
||||
|
Loading…
Reference in New Issue
Block a user