summaryrefslogtreecommitdiff
path: root/yarns/implementations.yarn
diff options
context:
space:
mode:
authorDaniel Firth <dan.firth@codethink.co.uk>2013-10-15 11:47:47 +0000
committerDaniel Firth <dan.firth@codethink.co.uk>2013-10-30 12:20:00 +0000
commite9b3dbbe18d9a465148cc8df494971054b87654a (patch)
treef14833385ddae3463a63f30eec753503772bfe29 /yarns/implementations.yarn
parent6a315135ac6273c90f7dc35b7d4c49da158be487 (diff)
downloadmorph-e9b3dbbe18d9a465148cc8df494971054b87654a.tar.gz
Deploying a non-cluster morphology now displays an error message
Diffstat (limited to 'yarns/implementations.yarn')
-rw-r--r--yarns/implementations.yarn9
1 files changed, 8 insertions, 1 deletions
diff --git a/yarns/implementations.yarn b/yarns/implementations.yarn
index 7efff54e..22120130 100644
--- a/yarns/implementations.yarn
+++ b/yarns/implementations.yarn
@@ -453,10 +453,17 @@ Implementation sections for building
cd "$DATADIR/workspace/$MATCH_2"
attempt_morph build "$MATCH_1"
+Implementation sections for deployment
+======================================
+
+ IMPLEMENTS WHEN attempting to deploy the (system|cluster) (\S+) in branch (\S+)
+ cd "$DATADIR/workspace/$MATCH_3"
+ attempt_morph deploy "$MATCH_2"
+
Implementations sections for reading error messages
===================================================
- IMPLEMENTS THEN the (init|build|checkout|branch) error message includes the string "(.*)"
+ IMPLEMENTS THEN the (init|build|checkout|branch|deploy) error message includes the string "(.*)"
grep "$MATCH_2" "$DATADIR/result-$MATCH_1"
IMPLEMENTS for test file and directory handling