Bug #1936
closed
teuthology: github downtime -> failed runs
Added by Sage Weil over 12 years ago.
Updated over 12 years ago.
Description
we should use a github mirror for anything on github. maybe we can/should piggyback off whatever carl set up.
- Status changed from New to 7
I set up github mirrors for ceph.git, ceph-qa-chef.git, and s3-tests.git. They are at ceph.newdream.net/git, and updated via a cronjob for the sage user at ~/update_git_mirrors.sh every 15 minutes
#!/bin/sh
cd /git
for f in ceph.git ceph-qa-chef.git s3-tests.git
do
test -d $f && ( cd $f && git fetch && git update-server-info )
done
Let's see if we see and other similar failures during the nightlies.
Is this going to be okay if the update hangs in the middle and then qa clones the repository?
- Status changed from 7 to Resolved
Greg Farnum wrote:
Is this going to be okay if the update hangs in the middle and then qa clones the repository?
Git updates are atomic, so nothing will fail just because an update is in progress.
However, nothing here guarantees that the mirror will keep updating, either. "git fetch" from github sometimes hangs indefinitely.
Also available in: Atom
PDF