summaryrefslogtreecommitdiff
path: root/tests/fixtures/config/dependency-graph
Commit message (Collapse)AuthorAgeFilesLines
* Update test fixtures to use explicit runJames E. Blair2017-10-261-0/+7
| | | | Change-Id: I3060a2bf57cef10a5a7ec5299e3491f1f6751221
* Require a base jobJames E. Blair2017-08-071-0/+4
| | | | | | | | This makes base jobs required and allows for a per-tenant default. Story: 2001110 Task: 4793 Change-Id: I26ffddad8358c156cfac749ce98af70f3447f671
* Case sensitive label matchingTobias Henkel2017-07-271-4/+4
| | | | | | | | | | | | | | | | | | | | After upgrading Gerrit to 2.13 our gate stopped working. The reason for this is that after a successful gate run zuul does something like 'gerrit review --label verified=2 --submit'. The verified label in Gerrit by default is configured as 'Verified'. The newer version of gerrit behaves different now. It accepts the +2 vote on verified but doesn't submit the patch anymore if the casing is not correct. This forces us to specify the label in the same casing as gerrit expects. In that case the tolower() in canMerge prevents the patch from entering the gate. In order to avoid confusion and be consistent, avoid any case conversions and use the labels exactly as defined in Gerrit. Note that this patch requires changes to the pipelines such that the labels are spelled exactly as defined in Gerrit. Change-Id: I9713a075e07b268e4f2620c0862c128158283c7c
* Remove source from pipelines (2/2)James E. Blair2017-04-181-1/+0
| | | | | | | | | | | Now that sources are associated with projects, remove the source attribute from pipelines altogether. This removes the occurance in tests fixtures as well as the element from the pipeline configuration schema. Change-Id: If47ecfcd5c5c82b30f6ee8890ed0766cfc88739e Story: 2000953
* Replace config/project repos with config/untrusted projectsJames E. Blair2017-04-181-2/+2
| | | | | | | | | | | | | | | | | The config-repo / project-repo terminology is confusing and we've generally been using trusted-project and untrusted-project instead. The term "untrusted-project" is straightforward, but "trusted-project" is a little misleading, since there are other characteristics which define it (notably, that the configuration held in it is branchless). A better term for that might be "config-project". Since the main config now directly refers to projects rather than repos, complete the transition by replacing all config-repo occurances with config-project and likewise project-repo with untrusted-project. Change-Id: I2341aa94e3622e2647b0506b78bc84dbcdec1901 Story: 2000953
* Improve job dependencies using graph instead of treeFredrik Medley2017-03-1711-0/+98
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