summaryrefslogtreecommitdiff
path: root/morphlib
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2014-06-08 14:40:58 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-06-10 11:15:51 +0100
commitc63f4e61f69820c71c2d8e9b96ce9bdec0d476a1 (patch)
tree1fac086ffeee2f84e10b4d5d7679765fe6073743 /morphlib
parentf3bf7bbef3927dfb2a2eb12131b7b935659425e6 (diff)
downloadmorph-c63f4e61f69820c71c2d8e9b96ce9bdec0d476a1.tar.gz
Morph deploy should never update git repos
The deploy plugin is relying on existing code which respects the 'no-git-update' setting and updates gits if it is not set. Since deploy can only work for built systems anyway, we can force this True for deployments, to avoid wasting the user/caller's time.
Diffstat (limited to 'morphlib')
-rw-r--r--morphlib/plugins/deploy_plugin.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/morphlib/plugins/deploy_plugin.py b/morphlib/plugins/deploy_plugin.py
index 1d582949..3afb7b17 100644
--- a/morphlib/plugins/deploy_plugin.py
+++ b/morphlib/plugins/deploy_plugin.py
@@ -274,6 +274,7 @@ class DeployPlugin(cliapp.Plugin):
self.app.settings['tempdir-min-space'],
'/', 0)
+ self.app.settings['no-git-update'] = True
cluster_name = morphlib.util.strip_morph_extension(args[0])
env_vars = args[1:]