Add swift.

This commit is contained in:
Dan Prince 2012-06-15 10:53:18 -04:00
parent 80261f01e7
commit 8cb7e07250
2 changed files with 4 additions and 1 deletions

View File

@ -8,7 +8,7 @@ smoker = reviewday.SmokeStack('http://smokestack.openstack.org/jobs.json?limit=1
projects = {}
for project in ['nova', 'glance', 'keystone']:
for project in ['nova', 'glance', 'keystone', 'swift']:
if project not in projects:
projects[project] = []
for review in reviewday.reviews(project):

View File

@ -26,6 +26,9 @@ class SmokeStack(object):
if data['keystone_revision'] and \
data['keystone_revision'][:7] == git_hash:
jobs_with_hash.append(job)
if data['swift_revision'] and \
data['swift_revision'][:7] == git_hash:
jobs_with_hash.append(job)
return jobs_with_hash
else:
return self._jobs