]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
suite: implement git_branch_exists with ls-remote 684/head
authorLoic Dachary <ldachary@redhat.com>
Thu, 29 Oct 2015 22:40:00 +0000 (07:40 +0900)
committerloic <ldachary@redhat.com>
Sat, 31 Oct 2015 01:49:02 +0000 (10:49 +0900)
commit9329786102d5d0f4b104d408d461fdf02e3881b9
tree723464d6998a90472289f773ef04396d5f5c1a2e
parenta5cdd3236ed212c0f7b2a95d9bad35730b18eaba
suite: implement git_branch_exists with ls-remote

Use git ls-remote to verify the existence of a branch instead of a
github specific interface so that it plays well with all valid git
remote URL.

Rename github_branch_exists into git_branch_exists.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
teuthology/suite.py
teuthology/test/test_suite.py