]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
suite: Look for teuthology branch mismatches
authorZack Cerza <zack@redhat.com>
Thu, 21 Apr 2022 16:48:19 +0000 (10:48 -0600)
committerZack Cerza <zack@cerza.org>
Wed, 27 Apr 2022 20:51:10 +0000 (14:51 -0600)
commit16e092c3d5a81d45d035ab8c9ba9dc9b3ce43602
treebd0a196778b75740be6491537863ce412b8c5787
parentc3388b8ef759db5e45a9085741b12298e7926c9b
suite: Look for teuthology branch mismatches

If config.teuthology_path is set, we don't fetch teuthology at runtime.
This can lead to confusing situations if --teuthology-branch is passed
to teuthology-suite, as the job config will claim a branch is used when
it is not. We can avoid this problem by refusing to schedule if there
is a mismatch.

Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/suite/run.py