From a4c3a02547d05f67f4e5d04ea6f02c5388238bf3 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Fri, 27 Jun 2014 10:12:45 -0600 Subject: [PATCH] Add a note about teuthology scheduling Specifically, that we always schedule using the master branch. Signed-off-by: Zack Cerza --- teuthology/suite.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/teuthology/suite.py b/teuthology/suite.py index ca409ed0d02eb..9d5f83f722388 100644 --- a/teuthology/suite.py +++ b/teuthology/suite.py @@ -105,6 +105,12 @@ def fetch_suite_repo(branch, test_name): Fetch the suite repo (and also the teuthology repo) so that we can use it to build jobs. Repos are stored in ~/src/. + The reason the teuthology repo is also fetched is that currently we use + subprocess to call teuthology-schedule to schedule jobs so we need to make + sure it is up-to-date. For that reason we always fetch the master branch + for test scheduling, regardless of what teuthology branch is requested for + testing. + :returns: The path to the repo on disk """ src_base_path = os.path.expanduser('~/src') -- 2.39.5