summaryrefslogtreecommitdiff
path: root/morphlib/plugins/deploy_plugin.py
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-02-19 15:59:20 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-02-19 17:17:19 +0000
commit46d42eb7f183ac37c2f1209c3c733fc3bc348e1a (patch)
treee2f72f54731288b545a28dc7f3e363b38287a92d /morphlib/plugins/deploy_plugin.py
parent24866984ce4c1e2e444ea4aaf2d4860c60ac617f (diff)
downloadmorph-46d42eb7f183ac37c2f1209c3c733fc3bc348e1a.tar.gz
Replace builder order graph with just a single artifact
The artifact's build dependencies replace the build order graph from previously.
Diffstat (limited to 'morphlib/plugins/deploy_plugin.py')
-rw-r--r--morphlib/plugins/deploy_plugin.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/morphlib/plugins/deploy_plugin.py b/morphlib/plugins/deploy_plugin.py
index 79715e13..f9a345ff 100644
--- a/morphlib/plugins/deploy_plugin.py
+++ b/morphlib/plugins/deploy_plugin.py
@@ -100,11 +100,10 @@ class DeployPlugin(cliapp.Plugin):
# Run the build.
build_ref = build_repos[branch_root]['build-ref']
- order = build_command.compute_build_order(
+ artifact = build_command.get_artifact_object(
build_branch_root,
build_ref,
system_name + '.morph')
- artifact = order.groups[-1][-1]
if push:
self.other.delete_remote_build_refs(build_repos)