mirror of
https://github.com/odoo/runbot.git
synced 2025-03-27 13:25:47 +07:00
[IMP] runbot: better configure upgrade descriptions
This commit is contained in:
parent
37df18d54d
commit
cd4c6b5e43
@ -598,7 +598,10 @@ class ConfigStep(models.Model):
|
|||||||
end = True
|
end = True
|
||||||
elif len(target_builds) > 1 and not self.upgrade_flat:
|
elif len(target_builds) > 1 and not self.upgrade_flat:
|
||||||
for target_build in target_builds:
|
for target_build in target_builds:
|
||||||
build._add_child({'upgrade_to_build_id': target_build.id})
|
build._add_child(
|
||||||
|
{'upgrade_to_build_id': target_build.id},
|
||||||
|
description="Testing migration to %s" % target_build.params_id.version_id.name
|
||||||
|
)
|
||||||
end = True
|
end = True
|
||||||
if end:
|
if end:
|
||||||
return # replace this by a python job friendly solution
|
return # replace this by a python job friendly solution
|
||||||
@ -619,7 +622,10 @@ class ConfigStep(models.Model):
|
|||||||
build._log('_run_configure_upgrade', 'No source version found for %s, skipping' % target_version.name, level='INFO')
|
build._log('_run_configure_upgrade', 'No source version found for %s, skipping' % target_version.name, level='INFO')
|
||||||
elif not self.upgrade_flat:
|
elif not self.upgrade_flat:
|
||||||
for from_build in from_builds:
|
for from_build in from_builds:
|
||||||
build._add_child({'upgrade_to_build_id': target_build.id, 'upgrade_from_build_id': from_build.id})
|
build._add_child(
|
||||||
|
{'upgrade_to_build_id': target_build.id, 'upgrade_from_build_id': from_build.id},
|
||||||
|
description="Testing migration from %s to %s" % (from_build.params_id.version_id.name, target_build.params_id.version_id.name)
|
||||||
|
)
|
||||||
end = True
|
end = True
|
||||||
|
|
||||||
if end:
|
if end:
|
||||||
|
Loading…
Reference in New Issue
Block a user