# Where teuthology and ceph-qa-suite repos should be stored locally
src_base_path: /home/foo/src
+ # Where teuthology path is located: do not clone if present
+ #teuthology_path: .
+
# Whether or not teuthology-suite, when scheduling, should update
# itself from git. This is disabled by default.
automated_scheduling: false
'kojiroot_url': 'http://kojipkgs.fedoraproject.org/packages',
'koji_task_url': 'https://kojipkgs.fedoraproject.org/work/',
'baseurl_template': 'http://{host}/{proj}-{pkg_type}-{dist}-{arch}-{flavor}/{uri}',
+ 'teuthology_path': None,
}
def __init__(self, yaml_path=None):
# teuthology, let's not wreak havoc on it.
if config.automated_scheduling:
# We use teuthology's master branch in all cases right now
- fetch_teuthology('master')
+ if config.teuthology_path is None:
+ fetch_teuthology('master')
suite_repo_path = fetch_qa_suite(branch)
except BranchNotFoundError as exc:
schedule_fail(message=str(exc), name=test_name)
beanstalk.watch_tube(connection, ctx.tube)
result_proc = None
- fetch_teuthology('master')
+ if teuth_config.teuthology_path is None:
+ fetch_teuthology('master')
fetch_qa_suite('master')
while True:
job_config['teuthology_branch'] = teuthology_branch
try:
- teuth_path = fetch_teuthology(branch=teuthology_branch)
+ if teuth_config.teuthology_path is not None:
+ teuth_path = teuth_config.teuthology_path
+ else:
+ teuth_path = fetch_teuthology(branch=teuthology_branch)
# For the teuthology tasks, we look for suite_branch, and if we
# don't get that, we look for branch, and fall back to 'master'.
# last-in-suite jobs don't have suite_branch or branch set.