summaryrefslogtreecommitdiff
path: root/yarns/regression.yarn
Commit message (Collapse)AuthorAgeFilesLines
* Tests: rename git repositoryTiago Gomes2015-11-251-6/+6
| | | | | | | Rename the git repository where the morphologies used for testing are kept, from morphs to definitions. Change-Id: Icd5fa6609ddec3993dd4c772cd916359843ef500
* Rename an IMPLEMENTS that mentions system branchTiago Gomes2015-11-251-1/+1
| | | | Change-Id: I185377090ba837805b492f8dd1b31360843e9548
* yarns: drop use of workspaceRichard Ipsum2015-11-221-35/+10
| | | | | | | This should help clear the way for the eventual removal of deprecated workspace code and related commands: morph checkout etc Change-Id: I66298c4f9f790848962bd70ab434bef96cf96cb9
* Add support for Baserock definitions version 7Sam Thursfield2015-10-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | This adds a new 'Defaults' class to represent definitions defaults The Python 'jsonschema' module is used to validate the contents of the Defaults file. This module is already included in Baserock 'build' and 'devel' reference systems by way of the 'openstack-common' stratum. This commit embeds a copy of the JSON-Schema schema for the DEFAULTS file. I think the canonical location of this schema should be in the reference definitions.git, for now. In future, the schemas should maybe have their own repos. Either way, Morph should embed a copy for the time being so that we are sure the schema matches how Morph expects to parse the file. Morph's automated tests are all updated to use definitions version 7. I removed most of the tests for built-in build systems, because the built-ins themselves are no longer part of Morph. Only the mechanism for defining them needs to be tested now. Change-Id: I65f8f1c967683ef605852bfae5c68518e53f9981
* Modify yarns to use test-shell instead of build-mode: testRichard Maw2014-10-011-3/+3
| | | | | When all the tests that use build-mode: test are gone, the build mode can be removed.
* yarns: Use a more realistic simulation of a git serverbaserock/richardmaw/yarn-git-daemonRichard Maw2014-08-281-0/+4
| | | | | | | | | | | Previously we would use file: URIs to point to the git repositories. This was fast and simple, but had the drawback that it bypassed all the git cache logic, so changes to the git cache weren't adequately covered by the test suite. Now we spool up a simulated git server per scenario, and shut it down at the end.
* yarns: Start from petrified refsRichard Maw2014-08-121-1/+2
| | | | | | | | | This is closer to our current workflow, where we are always petrified and update the ref field when we need to update a component. This required rearranging the operations to create the chunk repository before the definitions repository, and remove a check that assumes we weren't already petrified.
* yarns: Test building and deployment of a system with a chunk in definitionsAdam Coldrick2014-07-221-6/+4
|
* Remove use of "morph" field in chunk specs in yarnsRichard Maw2014-07-221-1/+6
| | | | | | We don't use this in definitions.git, and we're going to change its semantics, so the test suite would break until we introduced the new semantics, unless we remove its use of the old semantics first.
* yarns: Adapt to put morphologies in subdirsbaserock/richardmaw/S11284/morphologies-by-path-v4Richard Maw2014-07-101-17/+18
| | | | | | | | | | | | | We want to move our morphologies in our definitions repository into subdirectories, so they're more organised. We'd prefer to only refer to morphologies by file path, rather than a name that loosely corresponds to the file path, but we need to support that for backwards compatibility until we can move all of our morphologies into the definitions repository. However, since we want to eventually remove this, and we want to ensure that file paths work, we change the yarn tests to use file paths.
* Test nested deploymentsRichard Maw2014-03-141-1/+4
|
* yarns: set deployment name based on system nameRichard Maw2014-03-141-1/+1
|
* Don't use repo or ref in test suiteRichard Maw2014-02-131-2/+0
|
* yarns: Add regression test for cache-key clashRichard Maw2014-01-221-0/+19
|
* yarns: Remove redundant repo in IMPLEMENTS THENRichard Maw2014-01-091-1/+1
| | | | | morph build the system... doesn't need the repository to be specified, just the branch; morph is able to work it out for itself.
* validation: Require there be non-bootstrap chunks in systemsRichard Maw2013-11-291-1/+45
| | | | | | | | | | | | | | Bootstrap chunks don't make it into the final system, so there needs to be an extra check for empty systems after the sources have been collected. This was complicated slightly by the fact that if you try to build a chunk directly you will have no strata in your sources, hence no non-bootstrap chunks, but validation for having been told to build a chunk is best handled later. This amends the old yarns that depended on building a bootstrap chunk and adds a new one that explicitly builds a system with bootstrap chunks.
* morphloader: Require systems have at least one stratumRichard Maw2013-11-291-2/+2
| | | | | | | | | | It doesn't currently make sense to build a system which contains no strata. We may later add other fields, such as initramfs to contribute to the system's artifact, but until then it's another bug to trip over. This uses collections.Sequence for checking the type of the systems entry in the morphology as a style choice, though it allows more flexibility if the types in the parsed morphology change.
* Standardizes language and refactors some implementation stepsDaniel Firth2013-11-051-3/+3
|
* Add regression test, morph branch doesn't remove existing branch dirPedro Alvarez2013-10-311-0/+20
|
* Adding testPedro Alvarez2013-10-281-0/+14