Add swift.
This commit is contained in:
parent
80261f01e7
commit
8cb7e07250
@ -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):
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user