Browse Source

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: Ife5c40cf196c469c503009c5135c78be2957d651
changes/16/710116/2
James E. Blair 1 year ago
parent
commit
715ec866a3
1 changed files with 11 additions and 1 deletions
  1. +11
    -1
      .zuul.yaml

+ 11
- 1
.zuul.yaml View File

@ -102,7 +102,9 @@
description: Run the commands in the Zuul quick-start documentation.
run: playbooks/quick-start/run.yaml
post-run: playbooks/quick-start/post.yaml
requires: docker-image
requires:
- zuul-container-image
- nodepool-container-image
required-projects:
- zuul/zuul
@ -129,6 +131,10 @@
description: Build Docker images.
allowed-projects: zuul/zuul
timeout: 2700 # 45 minutes
requires:
- python-builder-container-image
- python-base-container-image
provides: zuul-container-image
vars: &zuul_image_vars
docker_images:
- context: .
@ -155,6 +161,10 @@
parent: opendev-upload-docker-image
description: Build Docker images and upload to Docker Hub.
allowed-projects: zuul/zuul
requires:
- python-builder-container-image
- python-base-container-image
provides: zuul-container-image
secrets:
name: docker_credentials
secret: zuul-dockerhub


Loading…
Cancel
Save