From 4785865d120baa9f2f4fb274473f28a57852c90e Mon Sep 17 00:00:00 2001 From: David Galloway Date: Tue, 7 Jun 2022 14:33:36 -0400 Subject: [PATCH] sepia-fog-image: fetch before checkout Shouldn't ever have to run into this issue again but... Signed-off-by: David Galloway --- sepia-fog-images/build/build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sepia-fog-images/build/build b/sepia-fog-images/build/build index d6304792..92a0d68e 100755 --- a/sepia-fog-images/build/build +++ b/sepia-fog-images/build/build @@ -57,6 +57,7 @@ if [ ! -d teuthology ]; then git checkout $TEUTHOLOGYBRANCH else cd teuthology + git fetch git checkout main git pull git checkout $TEUTHOLOGYBRANCH @@ -89,6 +90,7 @@ if [ ! -d ceph-cm-ansible ]; then git checkout $CMANSIBLEBRANCH else cd ceph-cm-ansible + git fetch git checkout main git pull git checkout $CMANSIBLEBRANCH -- 2.39.5