summaryrefslogtreecommitdiff
path: root/yarns/regression.yarn
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2014-07-18 16:10:24 +0100
committerRichard Maw <richard.maw@codethink.co.uk>2014-07-22 15:55:27 +0100
commite86eae318a83a429a0f27954866217ebf2efa6a5 (patch)
treefd382dd9c9781daa95eaefabcedfe07bee276e19 /yarns/regression.yarn
parente4c105f914ebb0df18cedbb8111f9d93f79b79dc (diff)
downloadmorph-e86eae318a83a429a0f27954866217ebf2efa6a5.tar.gz
yarns: Test building and deployment of a system with a chunk in definitions
Diffstat (limited to 'yarns/regression.yarn')
-rw-r--r--yarns/regression.yarn10
1 files changed, 4 insertions, 6 deletions
diff --git a/yarns/regression.yarn b/yarns/regression.yarn
index 05e2e70c..e5b3d875 100644
--- a/yarns/regression.yarn
+++ b/yarns/regression.yarn
@@ -88,17 +88,15 @@ Implementations
kind: stratum
chunks:
- name: bootstrap-chunk
+ morph: bootstrap-chunk.morph
repo: test:test-chunk
ref: master
build-mode: bootstrap
build-depends: []
EOF
+ sed -e 's/name: test-chunk/name: bootstrap-chunk/g' \
+ "$DATADIR/gits/morphs/test-chunk.morph" \
+ > "$DATADIR/gits/morphs/bootstrap-chunk.morph"
run_in "$DATADIR/gits/morphs" git add .
run_in "$DATADIR/gits/morphs" git commit -m "Add bootstrap-system"
-
- sed -e 's/test-chunk/bootstrap-chunk/g' \
- "$DATADIR/gits/test-chunk/test-chunk.morph" \
- > "$DATADIR/gits/test-chunk/bootstrap-chunk.morph"
- run_in "$DATADIR/gits/test-chunk" git add .
- run_in "$DATADIR/gits/test-chunk" git commit -m "Add bootstrap-chunk"