]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
suite: Filter YAML fragments for distro, version
authorZack Cerza <zack@cerza.org>
Thu, 20 Mar 2025 21:02:44 +0000 (15:02 -0600)
committerZack Cerza <zack@cerza.org>
Fri, 26 Sep 2025 19:23:11 +0000 (13:23 -0600)
commit0b575ad2701a6e4e3bea8a5c45ec45b5d31a6675
tree673394eadf3c55a8d97e1ae7c4a9d2a6d3d5ed94
parent423b1b31eec63893e3e862ecded0d45f0f3dcd4d
suite: Filter YAML fragments for distro, version

The behavior of --distro{,-version} was never well-defined. With this change,
they can independently be used to provide a default for jobs which don't
otherwise specify a value; and more importantly, perform a post-merge filter
looking at each job's values, rejecting those which don't match. This behavior
should be more intuitive and more easy to understand.

Signed-off-by: Zack Cerza <zack@cerza.org>
teuthology/suite/fragment-merge.lua
teuthology/suite/merge.py
teuthology/suite/placeholder.py
teuthology/suite/run.py
teuthology/suite/test/test_run_.py