summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2014-06-08 14:37:12 (GMT)
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2014-06-08 15:08:52 (GMT)
commitbd345e0108d57dc9f2650916c5d88eaaf10500ef (patch)
tree746e61945eecef555f338ba5e5befae291061d50
parente88455c62914ed70b439b37c2ba64a446cb295c3 (diff)
downloadmorph-baserock/ps/deploy-dont-update-gits.tar.gz
Morph deploy should never update git reposbaserock/ps/deploy-dont-update-gits
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.
-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 1d58294..3afb7b1 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:]