summaryrefslogtreecommitdiff
path: root/yarns/deployment.yarn
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2014-08-28 14:00:52 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2014-08-28 14:00:52 +0000
commit9c0011417081326ebb72d9ed02fcbbc456946dc4 (patch)
tree5ea1ba505bb50ee616567f74551aadb2b51fa0d3 /yarns/deployment.yarn
parent8c9aea626d1308a876d145d379ac5f23905fa9b4 (diff)
parent1edbc9f5c08daafb3e13131dfc8df656b2a02edc (diff)
downloadmorph-9c0011417081326ebb72d9ed02fcbbc456946dc4.tar.gz
Merge branch 'baserock/richardmaw/yarn-git-daemon'
Reviewed-by: Lars Wirzenius (git-daemon) Reviewed-by: Sam Thursfield (yarn fixup)
Diffstat (limited to 'yarns/deployment.yarn')
-rw-r--r--yarns/deployment.yarn7
1 files changed, 7 insertions, 0 deletions
diff --git a/yarns/deployment.yarn b/yarns/deployment.yarn
index 3252647d..4039d551 100644
--- a/yarns/deployment.yarn
+++ b/yarns/deployment.yarn
@@ -8,6 +8,7 @@ Morph Deployment Tests
AND the user attempts to deploy the system systems/test-system.morph in branch master
THEN morph failed
AND the deploy error message includes the string "morph deploy is only supported for cluster morphologies"
+ FINALLY the git server is shut down
SCENARIO deploying a cluster morphology as a tarfile
GIVEN a workspace
@@ -21,6 +22,7 @@ Morph Deployment Tests
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
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.
@@ -37,6 +39,7 @@ this clear.
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
THEN morph failed
+ FINALLY the git server is shut down
The rawdisk write extension supports both initial deployment and subsequent
upgrades. Note that the rawdisk upgrade code needs bringing up to date to use
@@ -58,6 +61,7 @@ the same code paths as a real upgrade.
THEN morph succeeded
WHEN the user attempts to upgrade the cluster test-cluster.morph in branch master with options test-system.VERSION_LABEL=test2
THEN morph succeeded
+ FINALLY the git server is shut down
Nested deployments
==================
@@ -102,6 +106,7 @@ deployed system contains the other. Since the baserock directory is in
every system, we can check for that.
AND tarball test.tar contains var/lib/sysroots/test-system/baserock
+ FINALLY the git server is shut down
Initramfs deployments
=====================
@@ -185,6 +190,7 @@ will mention the initramfs, and the UUID of the disk.
AND file mnt/extlinux.conf matches initramfs
AND file mnt/extlinux.conf matches root=UUID=
FINALLY mnt is unmounted
+ AND the git server is shut down
Partial deployments
===================
@@ -276,3 +282,4 @@ deployment.
WHEN the user attempts to deploy test-system.sysroot from cluster test-cluster.morph in branch master
THEN morph failed
+ FINALLY the git server is shut down