diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-02-17 16:12:44 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-03-04 14:47:24 +0000 |
commit | 9c20ef29b11f6e1d52a29bcab8d3ea8fcdbcacc4 (patch) | |
tree | 276f63e2c215c1e0004b1ef188f4cb7fbf94d20c /morphlib/exts/virtualbox-ssh.check | |
parent | 9b9a6151aa262f748a286f72819242c2a118a7f9 (diff) | |
download | morph-9c20ef29b11f6e1d52a29bcab8d3ea8fcdbcacc4.tar.gz |
deploy: Add optional 'check' extensions
A write extension will have various kinds of sanity checks to do before
actually performing the write. The current architecture of 'morph
deploy' means that several minutes pass between the user starting the
command and the write extension actually executing. It would be
rage-inducing watching `morph deploy` spend 3 minutes unpacking a
system only to then abort due to a silly error such as forgetting the
--upgrade switch. Therefore it's better for now to split the sanity
checks out into separate extensions that can be run as soon as possible
and abort if the write extension is not going to be able to operate.
For now this will just be used to validate usage of the --upgrade flag
but in future checking connectivity to remote servers and the like
should be done here too.
Diffstat (limited to 'morphlib/exts/virtualbox-ssh.check')
0 files changed, 0 insertions, 0 deletions