Extend the migration code
This commit is contained in:
parent
f5220af12d
commit
f33d79acfa
@ -169,17 +169,20 @@ class ToTestPublisher(ToTestManager):
|
|||||||
current_snapshot = None
|
current_snapshot = None
|
||||||
|
|
||||||
if not self.get_status('testing'):
|
if not self.get_status('testing'):
|
||||||
# migrating. Normally the releaser maintains that snapshot, but to differentiate
|
# migrating to the attribute status
|
||||||
|
|
||||||
|
# Normally the releaser maintains that snapshot, but to differentiate
|
||||||
# bootstrap of new project and migration we explicitly set 'NONE' if there is Nothing
|
# bootstrap of new project and migration we explicitly set 'NONE' if there is Nothing
|
||||||
self.update_status('testing', current_snapshot if current_snapshot else 'NONE')
|
self.update_status('testing', current_snapshot if current_snapshot else 'NONE')
|
||||||
|
|
||||||
|
self.update_status('publishing', self.api.pseudometa_file_load(self.version_file('snapshot')))
|
||||||
|
|
||||||
group_id = self.openqa_group_id()
|
group_id = self.openqa_group_id()
|
||||||
|
|
||||||
if self.get_status('publishing') == current_snapshot or self.get_status('published') == current_snapshot:
|
if self.get_status('publishing') == current_snapshot or self.get_status('published') == current_snapshot:
|
||||||
self.logger.info('{} is already publishing'.format(current_snapshot))
|
self.logger.info('{} is already publishing'.format(current_snapshot))
|
||||||
return None
|
return None
|
||||||
|
|
||||||
self.update_pinned_descr = False
|
|
||||||
current_result = self.overall_result(current_snapshot)
|
current_result = self.overall_result(current_snapshot)
|
||||||
current_qa_version = self.current_qa_version()
|
current_qa_version = self.current_qa_version()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user