Use a more informative variable name for dest_path

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Move repo checkout code to new module repo_utils

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Fix linter errors

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Generalize error message

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Handle ceph-qa-suite checkouts

Previously we had an internally-maintained shell script that did this.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Also handle teuthology repo checkouts

Our shell script did this also.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Use 'ceph-qa-suite.git' for the repo name

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Add unit tests for repo_utils

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Improve missing branch detection and logging

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Add a note about teuthology scheduling

Specifically, that we always schedule using the master branch.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Drop a "fix" for a bug that probably never existed

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Document checkout_repo()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Split up repo helper into separate functions

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Run unit tests offline

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Add a basic validation of the branch value

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Add more unit tests

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Use a test-specific name/email for the git calls

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Add --suite-branch and --suite-base

The former lets you specify a specific ceph-qa-suite branch to use for
testing. The latter lets you specify an as-is directory to use, for
example if you want ro run tests that you don't want to commit yet.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Rename suite_base to suite_dir

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Merge pull request #275 from ceph/wip-replace-update-sh

Replace update.sh functionality