diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-04-13 11:35:27 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-04-21 11:03:45 +0000 |
commit | f163d9c8740d8c04ece8cb895e939b4a59ec3d19 (patch) | |
tree | c2875970aa604311f784376c60834721117b1963 /distbuild | |
parent | 1c01f18a0c6501d7b5206bfef68d9128b7ba1996 (diff) | |
download | morph-f163d9c8740d8c04ece8cb895e939b4a59ec3d19.tar.gz |
deploy: Deploy and upgrade systems from the same 'cluster' definition
This patch adds two fields to deployment (cluster) .morph files:
'upgrade-type' and 'upgrade-location'.
The `morph deploy` command ignores these. The `morph upgrade` command
will honour them if present, instead of the existing 'type' and
'location' fields. If they are not present, `morph upgrade` will give
a warning, and will use the 'type' and 'location' fields as before.
This avoids the need to edit the deployment .morph file after deploying
a system.
Small detail: the 'type' and 'location' variables are no longer removed
from the environment that is passed to the .configure and .write
extensions. This shouldn't affect anything.
Change-Id: Id2a4e4f229b8adebdb57eded2049ac113a82a4be
Diffstat (limited to 'distbuild')
0 files changed, 0 insertions, 0 deletions