summaryrefslogtreecommitdiff
path: root/tests.as-root/run-in-artifact-with-different-artifacts.stderr
Commit message (Collapse)AuthorAgeFilesLines
* cache-key: Fix obscure cache key collisionRichard Maw2014-01-221-1/+1
| | | | | | | | | | | | | | | | | | | | If two systems with the same name (e.g. different repo/ref) depend on the same strata, then it will collide with systems which depend on different artifacts from that stratum, but the same number of artifacts. For example, if you checkout an existing branch and change the artifacts used by one of its strata, then your local changes won't be built. This is because the 'kids' field lists artifacts it depends on by their cache-key, which is now no longer sufficient to uniquely identify artifacts. The same number of artifacts issue is from it listing cache keys multiple times. The fix for this is to include the artifact name, so the 'kids' field is now a list of dicts, with artifact name and cache key. This is a dict rather than a tuple so that the generated /baserock metadata is more readable.
* cmdtests: Take into account new constructed artifactsRichard Maw2014-01-161-1/+1
|
* CacheKeyComputer: Include split rules in computationRichard Maw2014-01-161-1/+1
| | | | | | | | | | | | Chunk artifacts need the [(artifact_name, [regular_expression])] so that if the default split rules change, or the blending rule changes, then an extra version field doesn't need to be added to the cache key computer. This is for future plans to allow the split rules to be configurable and allow us to more easily change them. System and Stratum artifact computations don't need this, since those splitting rules are already expressed in the dependencies information.
* Fix the expected hash key value in the ↵Richard Dale2013-05-281-1/+1
| | | | run-in-artifact-with-different-artifacts test
* Change hardcoded cache key in testSam Thursfield2013-03-151-1/+1
|
* Add image inspection pluginJannis Pohlmann2013-02-211-0/+1
This adds a `run-in-artifact` command which allows another command to be run in a system. There is also a `content-manifest` command which gives a manifest of the artifacts, which commits they were built from, and if possible, a version. This adds a morphlib.bins.call_in_artifact_directory() method to run a command inside an artifact and to generate a manifest.