]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Don't push last_in_suite jobs to paddles
authorZack Cerza <zack@cerza.org>
Thu, 24 Apr 2014 15:46:11 +0000 (10:46 -0500)
committerZack Cerza <zack@cerza.org>
Thu, 24 Apr 2014 15:46:11 +0000 (10:46 -0500)
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
teuthology/schedule.py

index df20f7f6907efb932626408dba74b1e151453338..f79021b309ca1b16c6317c974b820e26d5bfc03b 100644 (file)
@@ -69,6 +69,7 @@ def main(ctx):
         print 'Job scheduled with name {name} and ID {jid}'.format(
             name=ctx.name, jid=jid)
         job_config['job_id'] = str(jid)
-        # Let paddles know the job is queued
-        report.try_push_job_info(job_config, dict(status='queued'))
+        # Let paddles know the job is queued, but only for 'real' jobs
+        if not job_config.get('last_in_suite', False):
+            report.try_push_job_info(job_config, dict(status='queued'))
         num -= 1