]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
sepia-fog-image: fetch before checkout 2022/head
authorDavid Galloway <dgallowa@redhat.com>
Tue, 7 Jun 2022 18:33:36 +0000 (14:33 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Tue, 7 Jun 2022 18:33:36 +0000 (14:33 -0400)
Shouldn't ever have to run into this issue again but...

Signed-off-by: David Galloway <dgallowa@redhat.com>
sepia-fog-images/build/build

index d630479283e3d05b41dee35483b838bd16ab2e21..92a0d68e4b39ba9fe37c776243034d890a65b837 100755 (executable)
@@ -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