diff options
author | Richard Ipsum <richardipsum@fastmail.co.uk> | 2014-11-22 16:14:30 +0000 |
---|---|---|
committer | Richard Ipsum <richard.ipsum@codethink.co.uk> | 2015-01-23 10:55:18 +0000 |
commit | a44c4b0e3cae671663c4d99b6d89d6a2f12add35 (patch) | |
tree | 7f6607efa0bbe84183d9f6241f27b5728cab0a7d /yarns/deployment.yarn | |
parent | abdffd583d9696c8740bbcec689aedb77750016b (diff) | |
download | morph-a44c4b0e3cae671663c4d99b6d89d6a2f12add35.tar.gz |
Add yarns to test deploying with relative paths
Diffstat (limited to 'yarns/deployment.yarn')
-rw-r--r-- | yarns/deployment.yarn | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/yarns/deployment.yarn b/yarns/deployment.yarn index 0782c7c1..31406cc0 100644 --- a/yarns/deployment.yarn +++ b/yarns/deployment.yarn @@ -24,6 +24,33 @@ Morph Deployment Tests THEN morph succeeded FINALLY the git server is shut down + SCENARIO deploying a cluster using a relative path + GIVEN a workspace + AND a git server + WHEN the user checks out the system branch called master + AND the user builds the system systems/test-system.morph in branch master + AND from directory workspace/master/test/morphs/clusters the user attempts to deploy the cluster test-cluster.morph in branch master + THEN morph succeeded + FINALLY the git server is shut down + + SCENARIO deploying a cluster using a relative path (second variant) + GIVEN a workspace + AND a git server + WHEN the user checks out the system branch called master + AND the user builds the system systems/test-system.morph in branch master + AND from directory workspace/master/test/morphs/clusters the user attempts to deploy the cluster ../clusters/test-cluster.morph in branch master + THEN morph succeeded + FINALLY the git server is shut down + + SCENARIO deploying a cluster using an absolute path + GIVEN a workspace + AND a git server + WHEN the user checks out the system branch called master + AND the user builds the system systems/test-system.morph in branch master + AND from directory workspace/master/test/morphs/clusters the user attempts to deploy the cluster using the absolute path to test-cluster.morph in branch master + THEN morph succeeded + FINALLY the git server is shut down + Some deployment types support upgrades, but some do not and Morph needs to make this clear. |