From c105827d5ee66bdfedc041315ff36bf95304a8dd Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Wed, 9 Jul 2014 19:05:51 -0600 Subject: [PATCH] Store the suite_branch in the job config Signed-off-by: Zack Cerza --- scripts/suite.py | 4 +++- teuthology/suite.py | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/suite.py b/scripts/suite.py index 8fa8f07d329f6..f896bf57e310d 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 ea6b540bd4327..1e7e69fac2520 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: -- 2.39.5