diff options
author | Fredrik Medley <fredrik.medley@autoliv.com> | 2015-09-28 13:40:20 +0200 |
---|---|---|
committer | James E. Blair <jeblair@redhat.com> | 2017-03-17 14:05:42 -0700 |
commit | f8aec83b3b7fa4547ec1486c72a1dfadfda6433f (patch) | |
tree | 2157ed287fc2f47eceb6c96943e09ff9a486ee76 /tests/fixtures/config/openstack/git/project-config/zuul.yaml | |
parent | e06a03bb45a52d2a2b7347f4d91a5a91afc8b499 (diff) | |
download | zuul-f8aec83b3b7fa4547ec1486c72a1dfadfda6433f.tar.gz |
Improve job dependencies using graph instead of tree
This replaces the job dependency tree with a graph so that we can
indicate that a job should wait until one or more jobs are complete
before starting.
Project pipeline job definitions are now a flat list, with each job
specifying its dependencies as the job attribute 'dependencies'.
Fixes bug #1166937.
Signed-off-by: Fredrik Medley <fredrik.medley@autoliv.com>
Signed-off-by: Fredrik Medley <fredrik.medley@gmail.com>
Signed-off-by: James E. Blair <jeblair@redhat.com>
Co-Authored-By: James E. Blair <jeblair@redhat.com>
Change-Id: I921940cafeea0738c39deb99357cfd7c91592359
Diffstat (limited to 'tests/fixtures/config/openstack/git/project-config/zuul.yaml')
-rw-r--r-- | tests/fixtures/config/openstack/git/project-config/zuul.yaml | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/tests/fixtures/config/openstack/git/project-config/zuul.yaml b/tests/fixtures/config/openstack/git/project-config/zuul.yaml index 420d97946..760adb8e8 100644 --- a/tests/fixtures/config/openstack/git/project-config/zuul.yaml +++ b/tests/fixtures/config/openstack/git/project-config/zuul.yaml @@ -1,11 +1,8 @@ -# Pipeline definitions - - pipeline: name: check manager: independent success-message: Build succeeded (check). - source: - gerrit + source: gerrit trigger: gerrit: - event: patchset-created @@ -20,8 +17,7 @@ name: gate manager: dependent success-message: Build succeeded (gate). - source: - gerrit + source: gerrit trigger: gerrit: - event: comment-added @@ -39,8 +35,6 @@ verified: 0 precedence: high -# Job definitions - - job: name: base timeout: 30 @@ -78,8 +72,6 @@ - openstack/keystone - openstack/nova -# Project definitions - - project: name: openstack/nova templates: |