
This adds information about the changes associated with a circular dependency queue item. Currently the bundle_id can be used to identify which of the items in zuul.items is related to the current dependency cycle. That variable is deprecated, so zuul.buildset_refs can be used to replace that functionality. Since it repeats some of the information at the top level (eg zuul.change, zuul.project, etc), the code is refactored so they can share the dictionary construction. That is also used by zuul.items. This results in a few extra fields in zuul.items now, such as the change message, but that is relatively inconsequential, so is not called out in the release notes. The src_dir is similarly included in all of these places. In writing this change it was discovered that zuul.items.project.src_dir always used the golang scheme, but zuul.project.src_dir used the correct per-job workspace scheme. This has been corrected so that they both use the per-job scheme now. A significant reorganization of the job variable documentation is included. Previously we had a section with additional variables for each item type, but since many of these are duplicated at the top level, in the item list, and now in the refs list, that structure became difficult to work with. Instead, the documentation for each of these sections now exhaustively lists all of the possible variables. This makes for some repitition, but it also means that a user can see at a glance what variables are available, and we can deep-link to each one. To address the variation between different item types, the variables that mutate based on item type now contain a definition list indicating what types they are valid for and their respective meanings. Change-Id: Iab8f99d4c4f40c44d630120c458539060cc725b5
13 lines
433 B
YAML
13 lines
433 B
YAML
---
|
|
features:
|
|
- |
|
|
Information about all of the changes (refs) associated with a
|
|
circular dependency queue item is now available in the
|
|
:var:`zuul.buildset_refs` variable.
|
|
fixes:
|
|
- |
|
|
The value of :var:`zuul.items.project.src_dir` did not take into
|
|
account the job's workspace scheme and was always constructed
|
|
using the golang scheme. That has been corrected so that it now
|
|
reflects the job's scheme.
|