From: Zack Cerza Date: Thu, 10 Jul 2014 01:05:51 +0000 (-0600) Subject: Store the suite_branch in the job config X-Git-Tag: 1.1.0~1334^2~7 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=c105827d5ee66bdfedc041315ff36bf95304a8dd;p=teuthology.git Store the suite_branch in the job config Signed-off-by: Zack Cerza --- diff --git a/scripts/suite.py b/scripts/suite.py index 8fa8f07d32..f896bf57e3 100644 --- a/scripts/suite.py +++ b/scripts/suite.py @@ -45,7 +45,9 @@ Standard arguments: Use this suite branch instead of the ceph branch --suite-dir Use this alternative directory as-is when assembling jobs from yaml fragments. This causes - to be ignored. + to be ignored for scheduling + purposes, but it will still be used for test + running. Scheduler arguments: --owner Job owner diff --git a/teuthology/suite.py b/teuthology/suite.py index ea6b540bd4..1e7e69fac2 100644 --- a/teuthology/suite.py +++ b/teuthology/suite.py @@ -68,6 +68,8 @@ def main(args): job_config.email = email if owner: job_config.owner = owner + if suite_branch: + job_config.suite_branch = suite_branch with NamedTemporaryFile(prefix='schedule_suite_', delete=False) as base_yaml: