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-03 13:50:02 +0000 |
commit | 776d77012234fd14882116d6a767b82a21f9b089 (patch) | |
tree | 37f24af14083425a98e0af257fc289c970c25cb1 /yarns/implementations.yarn | |
parent | a82d6573794c45e3065100561698a86f9e3e610c (diff) | |
download | morph-baserock/adamcoldrick/load-chunks-from-definitions-wip.tar.gz |
Add a yarn test to test building and deploying a system with a chunk in definitionsbaserock/adamcoldrick/load-chunks-from-definitions-wip
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+) |