]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
Set config.archive_path if it's not set already 782/head
authorZack Cerza <zack@redhat.com>
Wed, 3 Feb 2016 00:30:04 +0000 (17:30 -0700)
committerZack Cerza <zack@redhat.com>
Fri, 5 Feb 2016 17:00:45 +0000 (10:00 -0700)
This will only affect non-scheduled jobs

Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/run.py

index 641bd9a6bd28afd5bc0a56657c0686ec8e057dd9..dcbb66f5828839a7ebcb2729dcef840bb2faa949 100644 (file)
@@ -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'))