From: Zack Cerza Date: Mon, 9 Nov 2015 23:41:02 +0000 (-0700) Subject: Run jobs even if 'roles' is empty X-Git-Tag: 1.1.0~758^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f8d3265c033a61f0f8740b197dbff7be603a55c2;p=teuthology.git Run jobs even if 'roles' is empty They will fail immediately, but at least we'll know about them. Signed-off-by: Zack Cerza --- diff --git a/teuthology/worker.py b/teuthology/worker.py index 843df9a3..48befffc 100644 --- a/teuthology/worker.py +++ b/teuthology/worker.py @@ -169,9 +169,8 @@ def main(ctx): else: log.info('Creating archive dir %s', archive_path_full) safepath.makedirs(ctx.archive_dir, safe_archive) - if 'roles' in job_config: - log.info('Running job %d', job.jid) - run_job(job_config, teuth_bin_path, ctx.verbose) + log.info('Running job %d', job.jid) + run_job(job_config, teuth_bin_path, ctx.verbose) job.delete()