Support cross-repo-dependencies in independent pipelines
Changes supplied by the Depends-On header in git commit messages
will now additionally pull in changes from any project, on any
branch into independent pipelines. They are considered "non-live"
changes, that is, changes that should not have any tests run on
them.
To accomodate this, the internal structure of an independent
pipeline is now a dynamically adjusting list of ChangeQueue objects
where a new ChangeQueue is created for each change added to the
pipeline (and that ChangeQueue might contain non-live changes
enqueued ahead of the change we are interested in for the purpose
of stacking commits in the associated Zuul refs). This actually
more closely matches the visual and intuitive understanding of
independent pipelines.
Change-Id: I8ba0bc0918263f297666a50c607bca4f87c903b8
diff --git a/tests/test_zuultrigger.py b/tests/test_zuultrigger.py
index 3f339be..a26fa86 100644
--- a/tests/test_zuultrigger.py
+++ b/tests/test_zuultrigger.py
@@ -65,7 +65,7 @@
for job in self.history:
if job.changes == '1,1':
self.assertEqual(job.name, 'project-gate')
- elif job.changes == '2,1':
+ elif job.changes == '1,1 2,1':
self.assertEqual(job.name, 'project-check')
elif job.changes == '1,1 3,1':
self.assertEqual(job.name, 'project-gate')