| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
This code is a rework from changes done by:
- Tiago Gomes <tiago.gomes@codethink.co.uk>
https://storyboard.baserock.org/#!/story/86
Change-Id: I3475c2bcb648a272fee33bc878a521f79d4e6581
|
|
|
|
|
|
|
|
| |
With version 7, less dependencies are shown as the DEFAULTS file used
for testing has a reduced set of artifact splitting rules, compared with
the built-in split rules.
Change-Id: I1e9d5390126bad007d39729faabf83cfb60a5092
|
|
|
|
|
|
| |
These seem to have been introduced by commit fb6dd955cbc7081f47dc4391.
Change-Id: I2fb0be5f8829722264f3509f4db9473d19ea2939
|
|
|
|
|
|
|
|
|
| |
Now is an warning when the name of a chunk in a stratum is different from
the name of the chunk in the chunk file. Example of the warning message:
WARNING: Name 'binutils' doesn't match 'binutils-foo' in morphology: strata/build-essential/binutils.morph
Change-Id: I38f0ccff57fc25db12c572fdc8a01dbd6434f01c
|
|
|
|
|
|
|
| |
The conversion was made so that the build command was used instead of
the build-morphology command.
Change-Id: I67c43d765ed603ecdd806bc649815526243b7b87
|
|
|
|
|
|
| |
Also, add integration tests to prevent regressions.
Change-Id: I80421112382168a71ca69e4bafe3c3a174e7f9ef
|
|
|
|
|
|
|
| |
Rename the git repository where the morphologies used for testing are
kept, from morphs to definitions.
Change-Id: Icd5fa6609ddec3993dd4c772cd916359843ef500
|
|
|
|
| |
Change-Id: I185377090ba837805b492f8dd1b31360843e9548
|
|
|
|
| |
Change-Id: I853d5c3f7be920835694f390838870634b16b147
|
|
|
|
| |
Change-Id: Ie190d444346448f928a1bb6aaf0863f2fd4521b8
|
|
|
|
|
|
|
| |
This should help clear the way for the eventual removal of deprecated
workspace code and related commands: morph checkout etc
Change-Id: I66298c4f9f790848962bd70ab434bef96cf96cb9
|
|
|
|
|
|
| |
These must have been missed when we removed the edit command.
Change-Id: Ia0eca7eab50dec34f2e02193d3ff676b0e78b33c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Some tests were removed in commit f4d3cbaf1d6e5c3bdbb1b2e2 but it seems
there are still code remnants that we don't need any more. There may be
more -- I haven't done a thorough job of this.
Change-Id: I0d7151402365f9e6f23a93a1d30df0198de9ef02
|
|
|
|
| |
Change-Id: Icec7e948c60decefe5a8bab6141bc89603c265b7
|
|
|
|
|
|
|
|
|
| |
This change, suggested in story #16, causes the testing suite to use
the user-defined tempdir in /etc/morph.conf if it exists or continue
using /tmp if not. This will prevent the test suite from filling drives
that are not intended to be used for development work.
Change-Id: I94edabe4ea1eca7a55ece7424ece7bbd4b68c513
|
|
|
|
| |
Change-Id: I891d1b13ed0581b293fe6b09b3cc73af8fd81d67
|
|
|
|
|
|
|
|
|
|
|
| |
The previous release of the Baserock reference systems (baserock-15.25
tag) used Baserock definitions version 3, so this version of Morph can
still build the last release of the Baserock reference systems.
In the course of fixing up the cmdtest tests to use version 5
definitions, I removed a couple of bits of redundant code.
Change-Id: If9d480aa966d2ea5939cf04351f3d488cccea67f
|
|
|
|
| |
Change-Id: I8e5726cd1c16b7ef3c614e647f3ccfe50bf80ffe
|
|
|
|
| |
Change-Id: I7c993aee22f8438c28566acce01c524d9b315951
|
|
|
|
| |
Change-Id: Iee611887c54f8b8b67504ae2ba0cd78be703e455
|
|
|
|
| |
Change-Id: I54d1a03ba37f7589783f41c02482c0ac1821508d
|
|
|
|
| |
Change-Id: Ia644ddfaa5138f0ad459099cf26f51b545a9f9ca
|
|
|
|
| |
Change-Id: I60e808d7f42890dac2e1470a994e1a31a92401e7
|
|
|
|
| |
Change-Id: I1df58c33987597d4aa5a8eb241b4de4ac72fe250
|
|
|
|
| |
Change-Id: I5dec13df6c28eeb4e8c83ec41fb4bd119e2eebb1
|
|
|
|
| |
Change-Id: Iaab620f3d9ebc037fe024db933b03e8f40ca40a4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a `morph generate-manifest-csv` command which creates
a CSV manifest for a system containing license information,
upstream URL and a guess at the version of each component in a
system.
The existing `morph generate-manifest` is also renamed to
`morph generate-manifest-genivi` to improve the distinction
between the two commands which generate a manifest.
The basis of this commit was done by
Michael Drake <michael.drake@codethink.co.uk>.
Change-Id: I712de11eaa6e1564c5bae5f5f396e5e77484972f
|
|
|
|
| |
Change-Id: Ie0ac708946c3b1d65d2022638c02d6a2d288ad9d
|
|
|
|
| |
Change-Id: Ibc95fe1d78c8d68dd20a4d2187f93f363369dfec
|
|
|
|
|
|
|
|
|
|
| |
This test fails with latest Busybox. Since we plan on removing
workspaces anyway, I don't see a reason to fix it. The `morph foreach`
command does actually still work as expected.
Morph's ./check test suite now passes again in a 'build' reference
system built from commit 88eface4c72dab689bc409c77e209833a0acd038 or
newer.
|
|
|
|
|
|
|
| |
We will use MorphologyLoader.load_from_file() to load morphologies
from a temporary file, so the output will be unpredictable. That
will break this test, so we may as well convert it into a yarn
to fix it.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Existing tests generally request something like
morph build systems/foo-system.morph, now that the system arg is treated
relative to the working directory we must change into the directory that
contains the morphs to run morph build systems/foo-system.morph
|
| |
|
|
|
|
|
| |
These were previously completely untested, so their unsafe mounting
wasn't noticed, but now both are fixed.
|
| |
|
|
|
|
|
|
|
|
|
| |
You need both bottle and flup for this to work, and it would wait
forever for a cache-server that is never going to start unless you have
bottle and flup.
So we now check whether the cache server is functional before attempting
distbuild tests.
|
| |
|
|
|
|
| |
Deploying after distbuild currently broken
|
| |
|
| |
|
|
|
|
|
| |
When all the tests that use build-mode: test are gone, the build mode
can be removed.
|
|
|
|
|
|
| |
The arguments to `morph deploy` can get quite long, any way we can make it
shorter and clearer is useful. We can also avoid having the strange
--no-upgrade flag in future.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
We're using the wrong morph if we don't use run_morph
|
|
|
|
|
|
|
|
|
| |
The help for the show-branch-root command said it returns a path, but
the command and the yarns just showed the aliased url it was cloned
from.
Given I found myself needing the path in some scripts, not the repo url,
I think it's more useful to reconcile the difference this way.
|
|
|
|
|
|
|
|
|
| |
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.
|