]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
Make 'branch' a tag in Sentry
authorZack Cerza <zack@redhat.com>
Mon, 2 Feb 2015 22:34:05 +0000 (15:34 -0700)
committerZack Cerza <zack@redhat.com>
Mon, 2 Feb 2015 22:34:05 +0000 (15:34 -0700)
Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/run_tasks.py

index b2dfc8870f47eacd44790b41c5d901c776973c7d..efeab0757cb3ad6ff68e8db25bc8b475df275797 100644 (file)
@@ -76,6 +76,8 @@ def run_tasks(tasks, ctx):
             }
             if 'teuthology_branch' in config:
                 tags['teuthology_branch'] = config['teuthology_branch']
+            if 'branch' in config:
+                tags['branch'] = config['branch']
 
             # Remove ssh keys from reported config
             if 'targets' in config:
@@ -86,7 +88,6 @@ def run_tasks(tasks, ctx):
             job_id = ctx.config.get('job_id')
             archive_path = ctx.config.get('archive_path')
             extra = dict(config=config,
-                         branch=ctx.config.get('branch'),
                          )
             if job_id:
                 extra['logs'] = get_http_log_path(archive_path, job_id)