]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
find_git_parents: Refresh mirror when required 1976/head
authorZack Cerza <zack@redhat.com>
Thu, 11 Jul 2024 22:50:19 +0000 (16:50 -0600)
committerZack Cerza <zack@redhat.com>
Thu, 11 Jul 2024 23:14:55 +0000 (17:14 -0600)
commit7a77270cd441189cadb87f46b842aecd3e4b2c0a
treed004bddc554953d1efb22ef7df6091cb256f2238
parent454a46106b61e201598ae5e1c392af2328539bfe
find_git_parents: Refresh mirror when required

We used to do the refresh every time, which wasn't good. Then we didn't do it at
all, which was fine until someone tried to schedule against a commit in the few
minutes before the mirror picked it up. Let's try doing it when necessary :)

Fixes: #66893
Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/suite/util.py