summaryrefslogtreecommitdiff
path: root/.zuul.yaml
diff options
context:
space:
mode:
authorJames E. Blair <jeblair@redhat.com>2020-02-26 10:55:10 -0800
committerJames E. Blair <jeblair@redhat.com>2020-03-03 14:48:30 -0800
commit715ec866a3ad05dfdfe0cccdf22961a05cbdbcf0 (patch)
treef9214246ed1a88cb2ee37152eaeb81d3faeaa9a9 /.zuul.yaml
parent83af405ca7c948d33205b71b6554756581c73847 (diff)
downloadzuul-715ec866a3ad05dfdfe0cccdf22961a05cbdbcf0.tar.gz
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
Diffstat (limited to '.zuul.yaml')
-rw-r--r--.zuul.yaml12
1 files changed, 11 insertions, 1 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
index 5c247cbf7..047922514 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -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