| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
This is the first thing I have ever written with asyncio and it
spits out lots of warnings and exceptions in some cases that I
don't really understand.
However the basics are there: if the VM boots and can run `uname -a`,
the test succeeds; otherwise it fails.
|
|
|
|
| |
It was still using --target-arch which BuildStream no longer supports.
|
|
|
|
|
| |
This was meant to be added as part of MR !58, but of course I forgot
to `git add`.
|
|
|
|
|
|
| |
The "downloadable" state is the one we need to special-case. The
"cached" state means that the artifact is cached *locally*, and
BuildStream will already avoid rebuilding it in this case.
|
|
|
|
|
|
|
|
|
|
|
| |
We shouldn't download artifacts to the CI workers every time somebody
pushes just to throw them away again. This should speed up no-op builds.
The functionality is implemented in two shell scripts. Context is here:
https://gitlab.com/BuildStream/buildstream/issues/77
It would be possible to do this with a single script, but I wanted to
avoid doing any argument parsing code in shell.
|
|
|
|
|
| |
Now the strip-gplv3 configure extension works again
when using YBD metadata.
|
|
|
|
| |
Change-Id: Idbdfca36a75b5b0f927e22ba06468cb39c946ba0
|
|
|
|
|
|
|
|
| |
Add an object and functions allowing metadata to be read more easily from
multiple sources, either morph metadata, or with a conversion function for YBD
formatted metadata.
Change-Id: I94ea2425edecb4a659968134b0900081e22913d3
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a quick fix to allow the script to be run without dependence on morph.
As discussed on IRC, since it isn't a simple problem finding a way to safely
allow access to caches from different build tools, such a solution hasn't been
attempted. When falling back to `git clone`, this change prevents the script
from using an existing cache, generating its own instead by cloning from the
Baserock cache server, which takes longer.
Also add automatic creation of REPOS_DIR if it doesn't exist.
Change-Id: Id4b0977a2cae90068b6c2e2fd0c62470287bdfcb
|
|
|
|
| |
Change-Id: I60f8e45073b1268b31d4654b2ab8b6342fa1d6e1
|
|
|
|
| |
Change-Id: I74ab24ecdcda1c358a2c187f89685bdd8f949c55
|
|
|
|
| |
Change-Id: I3149413c2126194c538105d26b93fde9a8298ed0
|
|
|
|
| |
Change-Id: Ie04a7979c2591dfdb9ead256620593547020abb0
|
|
|
|
|
|
|
|
|
| |
I'm not entirely sure whether the validity of unpetrify-refs is
something that is cared about enough for this to be accepted, but I
am currently making use of the unpetrify-refs and this script was
helpful to me.
Change-Id: If689efe4d37ba6fcb7561eb91ea2383de370ceda
|
|
|
|
| |
Change-Id: I348df2dda3df3e6d85b6b601163972ca5085ae19
|
|
|
|
| |
Change-Id: I0597ca702251ff8b2b890707fd0d3e1a3ff5ee81
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This python script will replace the previous one
(scripts/licensecheck.sh) to make it work without `morph edit`.
The main purpose of this script is to check licenses of the GENIVI
Baseline systems, so it will ignore GPLv3 chunks given that they are
stripped from these systems.
https://storyboard.baserock.org/#!/story/71
Change-Id: I0c6d33163a0ace003e4b34da6a058bb88306f8a7
|
|
|
|
|
|
| |
https://storyboard.baserock.org/#!/story/71
Change-Id: I4862406d19c74cdd6135b52304474562aa3ba511
|
|
|
|
|
|
| |
Right now Mason builds succeed but the deployment fails.
Change-Id: I3a933e712409b5652425ec29cc336f519fe31ccc
|
|
|
|
|
|
|
|
|
|
| |
It no longer works because we use the 'distbuild' command instead of the
'distbuild-morphology' command.
Morph puts distbuild build logs in a subdirectory now, anyway, so we
don't need to worry about that in this script.
Change-Id: I49f2c64cb0c3c859bb21cd0bc84a2aa41efe92f1
|
|
|
|
|
|
|
|
|
|
|
| |
Recent changes in the definitions format have added VERSION and CHANGES
files. The morphlib API needs to be used slightly differently as a
result.
This change should have no effect on the operation of the script right
now, but it may prevent problems in future.
Change-Id: I0011eddfeb3a5f14fde36eac4f970d8b3c95984c
|
|
|
|
|
|
|
|
|
|
|
| |
There's no 'distbuild-morphology' command any more, but this script
expects to run from a definitions clone anyway, so we can use the
'distbuild' command.
Also, the 'search_for_workspace' parameter is gone, because workspaces
are going/gone.
Change-Id: Ib087992a14a8a14f0a994febafd15d43124aead7
|
|
|
|
| |
Change-Id: I28cdd26385ada1ed98f3e7ead8085f2678507f16
|
|
|
|
| |
Change-Id: I6971dbfa803c08d700574f61766fe7d5de2d1442
|
|
|
|
|
|
|
|
|
|
| |
This is useful if you have a distbuild controller with a non-standard
port.
It now also warns if something couldn't be built because there is no
build network for that arch available.
Change-Id: I5fcac2be9aa198afe16b76564d8307fed04bd526
|
|
|
|
|
|
| |
See schemas/README.schemas for information.
Change-Id: I6c384692dbf70017a3ece2ed56c1f8cbe60b493d
|
|
|
|
|
| |
Signed-off-by: Sam Thursfield <sam.thursfield@codethink.co.uk>
Change-Id: I1c8d2ed5d9c06466bdaac1c1e914f5f9e3969e11
|
|
|
|
| |
Change-Id: Id3b868db36554541334dae3bd6363d5adc0289b8
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Testing currently involves building a Baserock devel system,
deploying it as a VM and testing that that deployed VM can
build Baserock successfully.
Originally Mason used scripts/release-test to do testing on
a kvm host. In this patch the bits needed to do testing on
an OpenStack host are provided.
The new scripts/release-test-os script is based on the old
scripts/release-test, and it uses `nova` to boot/delete/etc
images and instances on OpenStack.
The mason script, `mason.sh` is updated to optionally run
either scripts/release-test-os or scripts/release-test,
depending on whether TEST_INFRASTRUCTURE_TYPE is set to
'openstack' or 'kvmhost' in the Mason's mason.conf.
The `os.conf` file is sourced by `mason.sh`, and should
be updated to contain the relevant credentials and details
for the OpenStack tenancy to be used for test deployments.
When Mason creates a test OpenStack instance, there is
potential for a race condition depending on whether ssh
comes up before the cloud-init has finished resizing the
instance's disc. If morph running on the test instance
tries to build before the disc size is increased, it will
fail complaining of insufficient free space.
To eliminate this race, the cloud init script
`os-init-script` is passed to `nova boot`. This touches
a file after the disc is resized, which Mason checks for
before it runs a `morph build`.
The `os.conf` and `os-init-script` files must both be
placed in the Mason system's `/root/` directory before
the system is deployed. This should happen in the
`mason.configure` configuration extension.
The `mason.configure` configuration extension should also
be updated to handle adding two extra variables to the
`mason.conf` file. These are the aforementioned
TEST_INFRASTRUCTURE_TYPE and OPENSTACK_NETWORK_ID, which is
the ID for the configured OpenStack network that test
instances should use.
|
|\
| |
| |
| |
| |
| | |
'origin/baserock/ps/cycle-refuses-to-delete-TEST-system'
Reviewed-by: Richard Maw (+2)
|
|/ |
|
|
|
|
|
| |
Reviewed-by: Paul Sherwood
Reviewed-by: Sam Thursfield
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The per-mason trove only needs to worry about being an artifact cache,
so we can prevent it populating itself from the upstream trove by making
it use the SSH protocol for fetching sources, and not registering its
ssh key with the upstream trove.
The MASON_UPSTREAM_TROVE_ADDRESS option has been removed, as this is now
the TROVE_HOST.
The distbuild network is now configured to use the upstream trove for
sources, and the local trove for artifacts, with the
ARTIFACT_CACHE_SERVER option.
mason.configure now uses ARTIFACT_CACHE_SERVER to tell deploy commands
which server to fetch artifacts from.
|
| |
|
|
|
|
|
|
| |
This requires the script be run in the top of the definitions repository,
but will actually try to upload the changes that were tested, rather
than the current HEAD.
|
| |
|
|
|
|
|
| |
The rest of the ssh commands are to the VM host, which we can't change
all of, since some are run as part of the deployment extension.
|
| |
|
|
|
|
| |
This name requires less context to understand its use.
|
| |
|
| |
|
|
|
|
| |
It was a sucky placeholder name that wasn't replaced by anything better.
|
| |
|
|
|
|
|
| |
This will deploy and run build tests on systems listed in the morphology
passed as its first argument.
|