summaryrefslogtreecommitdiff
path: root/yarns/deployment.yarn
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2013-12-19 15:23:51 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2014-01-15 16:24:44 +0000
commit848118b07b38a534bd0b53a8d972001a5fb22777 (patch)
tree1f6de881449dbb7d92ba34149300facdf090f6d4 /yarns/deployment.yarn
parentaf7ee68094089a15c028f338af43b0fb9e3637c8 (diff)
downloadmorph-848118b07b38a534bd0b53a8d972001a5fb22777.tar.gz
yarns: Add a deploy test
Diffstat (limited to 'yarns/deployment.yarn')
-rw-r--r--yarns/deployment.yarn9
1 files changed, 9 insertions, 0 deletions
diff --git a/yarns/deployment.yarn b/yarns/deployment.yarn
index 35f933b7..855ecc52 100644
--- a/yarns/deployment.yarn
+++ b/yarns/deployment.yarn
@@ -8,3 +8,12 @@ Morph Deployment Tests
AND the user attempts to deploy the system test-system in branch master
THEN morph failed
AND the deploy error message includes the string "morph deploy is only supported for cluster morphologies"
+
+ SCENARIO deploying a cluster morphology
+ GIVEN a workspace
+ AND a git server
+ WHEN the user checks out the system branch called master
+ GIVEN a cluster called test-cluster for deploying only the test-system system as type tar in system branch master
+ WHEN the user builds the system test-system in branch master
+ AND the user attempts to deploy the cluster test-cluster in branch master with options system.location=test.tar
+ THEN morph succeeded