summaryrefslogtreecommitdiff
path: root/yarns
diff options
context:
space:
mode:
authorRichard Ipsum <richardipsum@fastmail.co.uk>2014-11-23 14:41:41 +0000
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2015-01-23 10:55:18 +0000
commit6b1c80a8a4e839a644aaaacba109b9cb81b51813 (patch)
tree0ea305da4962cc590260c38fe2f02753e282f907 /yarns
parentbc62b5835f1a18b3a72dfdcb58e37188c72501fb (diff)
downloadmorph-6b1c80a8a4e839a644aaaacba109b9cb81b51813.tar.gz
Make some existing deployment scenarios simpler
Simplify 'deploying a cluster morphology as a tarfile' and 'attempting to upgrade a tarfile deployment'
Diffstat (limited to 'yarns')
-rw-r--r--yarns/deployment.yarn18
1 files changed, 4 insertions, 14 deletions
diff --git a/yarns/deployment.yarn b/yarns/deployment.yarn
index 31406cc0..47aeff5d 100644
--- a/yarns/deployment.yarn
+++ b/yarns/deployment.yarn
@@ -14,13 +14,8 @@ Morph Deployment Tests
GIVEN a workspace
AND a git server
WHEN the user checks out the system branch called master
- GIVEN a cluster called test-cluster.morph in system branch master
- AND a system in cluster test-cluster.morph in branch master called test-system
- AND system test-system in cluster test-cluster.morph in branch master builds systems/test-system.morph
- AND system test-system in cluster test-cluster.morph in branch master has deployment type: tar
- AND system test-system in cluster test-cluster.morph in branch master has deployment location: test.tar
- WHEN the user builds the system systems/test-system.morph in branch master
- AND the user attempts to deploy the cluster test-cluster.morph in branch master
+ AND the user builds the system systems/test-system.morph in branch master
+ AND the user attempts to deploy the cluster clusters/test-cluster.morph in branch master
THEN morph succeeded
FINALLY the git server is shut down
@@ -58,13 +53,8 @@ this clear.
GIVEN a workspace
AND a git server
WHEN the user checks out the system branch called master
- GIVEN a cluster called test-cluster.morph in system branch master
- AND a system in cluster test-cluster.morph in branch master called test-system
- AND system test-system in cluster test-cluster.morph in branch master builds systems/test-system.morph
- AND system test-system in cluster test-cluster.morph in branch master has deployment type: tar
- AND system test-system in cluster test-cluster.morph in branch master has deployment location: test.tar
- WHEN the user builds the system systems/test-system.morph in branch master
- AND the user attempts to upgrade the cluster test-cluster.morph in branch master
+ AND the user builds the system systems/test-system.morph in branch master
+ AND the user attempts to upgrade the cluster clusters/test-cluster.morph in branch master
THEN morph failed
FINALLY the git server is shut down