Skip to content

YAML anchors - Change duplicate keys documented behavior

David Dieulivol requested to merge ddieulivol-change_yaml_anchor_wording into master

What does this MR do and why?

Use anchors to duplicate or inherit properties. Use anchors with hidden jobs to provide templates for your jobs. When there are duplicate keys, GitLab performs a reverse deep merge based on the keys.

According to our testing (!106949 (comment 1212252367)), this is not correct.

This MR changes the documentation to reflect the current behavior.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports