Merge "Add note about pipelines and dynamic layouts" into feature/zuulv3

This commit is contained in:
Jenkins 2017-03-07 00:45:29 +00:00 committed by Gerrit Code Review
commit 330a83fc11
1 changed files with 6 additions and 1 deletions

View File

@ -917,7 +917,12 @@ class ConfigLoader(object):
files, False)
layout = model.Layout()
# TODOv3(jeblair): copying the pipelines could be dangerous/confusing.
# NOTE: the actual pipeline objects (complete with queues and
# enqueued items) are copied by reference here. This allows
# our shadow dynamic configuration to continue to interact
# with all the other changes, each of which may have their own
# version of reality. We do not support creating, updating,
# or deleting pipelines in dynamic layout changes.
layout.pipelines = tenant.layout.pipelines
for config_job in config.jobs: