aboutsummaryrefslogtreecommitdiff
path: root/tests/test_merge_yaml.py
AgeCommit message (Collapse)AuthorFilesLines
2026-08-24merge_configs: Add lstrip_blocksMichal Nasiadka1-0/+32
Closes-Bug: #2164718 Change-Id: If5b7f30d2467b61c3578d09992faf446b5d25f4e Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com> (cherry picked from commit 0f4da209da6fa39739ffc7b7fb1a69dc967734b7)
2024-03-29tests: Replace imp with importlib.machineryMichal Nasiadka1-2/+2
It's needed for Python3.12 support, because imp has been dropped [1]. Also shlex dropped s=None support [2]. [1]: https://docs.python.org/3/whatsnew/3.12.html [2]: https://github.com/python/cpython/issues/94352 Change-Id: I23f37897ea08ac708f6df485f699122df647e552
2020-05-11Add extend_lists option to merge_yamlWill Szumski1-1/+49
This allows you to extend lists in yaml config. This is useful, for example, in prometheus.yml, where it would be nice to be able to extend the scrape_configs to include exporters that aren't packaged with kolla-ansible. This would provide a mechanism to do so. Change-Id: I7a10e363f42e8ffaae3c0d2c2a758853e2cab7e1 Related: blueprint custom-prometheus-targets
2018-11-05Support merging nested yaml configDoug Szumski1-0/+128
Closes-Bug: 1786741 Change-Id: Ic217f3f8194cdcb5e28045e771a0160c1f12280e