From cc2e003a2dede549a2bc34f23eda7790e25b5599 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Wed, 30 Nov 2016 13:41:28 -0700 Subject: [PATCH] worker: Use 'suite_repo' in job config if present Signed-off-by: Zack Cerza --- teuthology/worker.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/teuthology/worker.py b/teuthology/worker.py index 6498a4c47c..6dd6590bab 100644 --- a/teuthology/worker.py +++ b/teuthology/worker.py @@ -164,6 +164,9 @@ def prep_job(job_config, log_file_path, archive_dir): # last-in-suite jobs don't have suite_branch or branch set. ceph_branch = job_config.get('branch', 'master') suite_branch = job_config.get('suite_branch', ceph_branch) + suite_repo = job_config.get('suite_repo') + if suite_repo: + teuth_config.ceph_qa_suite_git_url = suite_repo job_config['suite_path'] = fetch_qa_suite(suite_branch) except BranchNotFoundError as exc: log.exception("Branch not found; marking job as dead") -- 2.39.5