示例#1
0
 def serialize(self):
     tasks = []
     plugins = PluginManager.get_cluster_plugins_with_tasks(self.cluster)
     tasks.extend(self.create_repositories(plugins))
     tasks.extend(self.sync_scripts(plugins))
     tasks.extend(self.deployment_tasks(plugins))
     return tasks
 def serialize(self):
     tasks = []
     plugins = PluginManager.get_cluster_plugins_with_tasks(self.cluster)
     tasks.extend(self.create_repositories(plugins))
     tasks.extend(self.sync_scripts(plugins))
     tasks.extend(self.deployment_tasks(plugins))
     return tasks
 def serialize(self):
     plugins = PluginManager.get_cluster_plugins_with_tasks(self.cluster)
     return itertools.chain(
         self.create_repositories(plugins),
         self.sync_scripts(plugins),
         self.deployment_tasks(plugins)
     )
示例#4
0
 def serialize(self):
     tasks = []
     plugins = PluginManager.get_cluster_plugins_with_tasks(self.cluster)
     tasks.extend(self.deployment_tasks(plugins))
     return tasks
 def serialize(self):
     tasks = []
     plugins = PluginManager.get_cluster_plugins_with_tasks(self.cluster)
     tasks.extend(self.deployment_tasks(plugins))
     return tasks
示例#6
0
 def serialize(self):
     plugins = PluginManager.get_cluster_plugins_with_tasks(self.cluster)
     return self.deployment_tasks(plugins)
示例#7
0
 def serialize(self):
     plugins = PluginManager.get_cluster_plugins_with_tasks(self.cluster)
     return itertools.chain(self.create_repositories(plugins),
                            self.sync_scripts(plugins),
                            self.deployment_tasks(plugins))
示例#8
0
 def serialize_end_tasks(self):
     plugins = PluginManager.get_cluster_plugins_with_tasks(self.cluster)
     return self.deployment_tasks(plugins)