diff options
author | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2014-06-08 14:37:12 +0000 |
---|---|---|
committer | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2014-06-08 15:08:52 +0000 |
commit | bd345e0108d57dc9f2650916c5d88eaaf10500ef (patch) | |
tree | 746e61945eecef555f338ba5e5befae291061d50 | |
parent | e88455c62914ed70b439b37c2ba64a446cb295c3 (diff) | |
download | morph-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.py | 1 |
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:] |