From: Zack Cerza Date: Wed, 3 Feb 2016 00:30:04 +0000 (-0700) Subject: Set config.archive_path if it's not set already X-Git-Tag: 1.1.0~679^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F782%2Fhead;p=teuthology.git Set config.archive_path if it's not set already This will only affect non-scheduled jobs Signed-off-by: Zack Cerza --- diff --git a/teuthology/run.py b/teuthology/run.py index 641bd9a6..dcbb66f5 100644 --- a/teuthology/run.py +++ b/teuthology/run.py @@ -312,6 +312,9 @@ def main(args): config = setup_config(config) + if archive is not None and 'archive_path' not in config: + config['archive_path'] = archive + write_initial_metadata(archive, config, name, description, owner) report.try_push_job_info(config, dict(status='running'))