diff options
author | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2014-07-03 13:50:02 +0000 |
---|---|---|
committer | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2014-07-04 08:35:25 +0000 |
commit | bd03f8d3247add14922f81576a9a9f53ab840b01 (patch) | |
tree | c9f1e652463b0cc436260df43c32168561642e2b /yarns/implementations.yarn | |
parent | 30b23f51e4d85f265dbff8d0bb0ed7fce9f68606 (diff) | |
download | morph-baserock/adamcoldrick/load-chunks-from-definitions.tar.gz |
yarns: Test building and deployment of a system with a chunk in definitionsbaserock/adamcoldrick/load-chunks-from-definitions
Diffstat (limited to 'yarns/implementations.yarn')
-rw-r--r-- | yarns/implementations.yarn | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/yarns/implementations.yarn b/yarns/implementations.yarn index d32bfd61..e670e502 100644 --- a/yarns/implementations.yarn +++ b/yarns/implementations.yarn @@ -820,6 +820,15 @@ Altering morphologies in their source repositories Altering morphologies in the workspace -------------------------------------- +### Altering chunks ### + + IMPLEMENTS GIVEN a chunk morphology called (\S+) in system branch (\S+) with (\S+) (.+) + name="$MATCH_1" + branch="$MATCH_2" + cp "$DATADIR/gits/test-chunk/test-chunk.morph" "$DATADIR/workspace/$branch/test/morphs/$name" + "$SRCDIR/scripts/edit-morph" "chunk-add-$MATCH_3" \ + "$DATADIR/workspace/$branch/test/morphs/$name" "$MATCH_4" + ### Altering strata ### IMPLEMENTS GIVEN stratum (\S+) in system branch (\S+) has match rules: (.*) @@ -827,6 +836,11 @@ Altering morphologies in the workspace "$SRCDIR/scripts/edit-morph" set-stratum-match-rules \ "$MATCH_1" "$MATCH_3" + IMPLEMENTS GIVEN the chunk spec (\S+) in the stratum (\S+) in branch (\S+) has (\S+) set to (\S+) + cd "$DATADIR/workspace/$MATCH_3/test/morphs" + "$SRCDIR/scripts/edit-morph" edit-chunk-spec \ + "$MATCH_1" "$MATCH_2" "$MATCH_4" "$MATCH_5" + ### Altering clusters ### IMPLEMENTS GIVEN a cluster called (\S+) in system branch (\S+) |