]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
suite: honor suite_verify_ceph_hash on --dry-run 754/head
authorLoic Dachary <ldachary@redhat.com>
Sat, 12 Dec 2015 17:58:04 +0000 (18:58 +0100)
committerLoic Dachary <ldachary@redhat.com>
Tue, 15 Dec 2015 11:29:00 +0000 (12:29 +0100)
When running dry-run, an attempt is made to figure out if the hash of
the job is already present in the gitbuilder. This must not be done
if suite_verify_ceph_hash is false.

Signed-off-by: Loic Dachary <loic@dachary.org>
teuthology/suite.py

index ac12dffac40e159eb46453d6656bef5950515dd2..d1a30733d7692fc2156fde1a6e4057060227f35c 100644 (file)
@@ -613,7 +613,7 @@ def schedule_suite(job_config,
             args=arg
         )
 
-        if dry_run:
+        if dry_run and config.suite_verify_ceph_hash:
             full_job_config = dict()
             deep_merge(full_job_config, job_config.to_dict())
             deep_merge(full_job_config, parsed_yaml)