Previously we checked if the branch being used was in a whitelist of
branches known to contain the reporting feature. Now, switch to checking
against a blacklist of branches known to *not* have the feature:
argonaut, bobtail, cuttlefish and dumpling.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
time.sleep(teuth_config.watchdog_interval)
# The job finished. Let's make sure paddles knows.
- branches_with_reporting = ('master', 'next', 'last', 'emperor')
- if job_config.get('teuthology_branch') not in branches_with_reporting:
+ branches_sans_reporting = ('argonaut', 'bobtail', 'cuttlefish', 'dumpling')
+ if job_config.get('teuthology_branch') in branches_sans_reporting:
# The job ran with a teuthology branch that may not have the reporting
# feature. Let's call teuthology-report (which will be from the master
# branch) to report the job manually.