summaryrefslogtreecommitdiff
path: root/yarns/regression.yarn
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2014-01-22 16:10:16 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2014-01-22 16:10:16 +0000
commit7265acd1440dc898d3ebe9de443a470c3d845b50 (patch)
tree44ad4e0a87c20cfd1635c691dbbb26c99a66bdd9 /yarns/regression.yarn
parent28196991ede6bd5ed561fc7dc4a2b0084019df19 (diff)
parente30b0c73cb6805689c58b3ed9d5dd091218e2df3 (diff)
downloadmorph-7265acd1440dc898d3ebe9de443a470c3d845b50.tar.gz
Merge branch 'baserock/richardmaw/S10166/test-key-collision-with-artifact-names-v2' of git://git.baserock.org/baserock/baserock/morph
Reviewed-by: Lars Wirzenius
Diffstat (limited to 'yarns/regression.yarn')
-rw-r--r--yarns/regression.yarn19
1 files changed, 19 insertions, 0 deletions
diff --git a/yarns/regression.yarn b/yarns/regression.yarn
index 49c663ec..71431ff7 100644
--- a/yarns/regression.yarn
+++ b/yarns/regression.yarn
@@ -46,6 +46,25 @@ area, hence their results cannot be trusted.
AND the user attempts to build the system bootstrap-system in branch master
THEN the build error message includes the string "No non-bootstrap chunks found"
+When we started allowing multiple artifacts, a long-standing bug in
+cache-key computation was discovered, it didn't include artifact names,
+which would cause a collision if a morphology changed which artifacts
+from a source it depended on, but not the number of artifacts from that
+source it depended on.
+
+ SCENARIO changing the artifacts a system uses
+ GIVEN a workspace
+ AND a git server
+ AND system test-system uses test-stratum-runtime from test-stratum
+ AND stratum test-stratum has match rules: [{artifact: test-stratum-runtime, include: [.*-(bins|libs|locale)]}, {artifact: test-stratum-devel, include: [.*-(devel|doc|misc)]}]
+ WHEN the user checks out the system branch called master
+ GIVEN a cluster called test-cluster for deploying only the test-system system as type tar in system branch master
+ WHEN the user builds the system test-system in branch master
+ GIVEN stratum test-stratum in system branch master has match rules: [{artifact: test-stratum-runtime, include: [.*-(bins|libs|misc)]}, {artifact: test-stratum-devel, include: [.*-(devel|doc|locale)]}]
+ WHEN the user builds the system test-system in branch master
+ AND the user deploys the cluster test-cluster in branch master with options system.location="$DATADIR/test.tar"
+ THEN tarball test.tar contains baserock/test-chunk-misc.meta
+
Implementations
---------------