| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|\
| |
| |
| |
| | |
Add a 'as_enum' on Scalar nodes to help with constraining inputs
See merge request BuildStream/buildstream!1487
|
| |
| |
| |
| | |
This improves the consistency of our error reporting
|
| |
| |
| |
| |
| |
| | |
This allows removing completely the '_node_get_option_str' on context
and ensures every method relying on a few set of keys set their errors
consistently
|
| |
| |
| |
| | |
Also add helpers for the cli to be able to represent 'FastEnum' directly
|
| |
| |
| |
| |
| |
| |
| |
| | |
This adds a method to ensure that a value is from a set of valid values
and raises an error message accordingly.
- Define Enum types for each of the relevant cases
- Adapt call places that were doing such things manually
|
| |
| |
| |
| |
| |
| | |
This allows for stronger guarantees when checking the level of
consistency since it will only be comparable with itself, and ensures
unicity
|
|/
|
|
|
|
|
| |
'Enum' has a big performance impact on the running code. Replacing
it with a safe subset of functionality removes lots of this overhead
without removing the benefits of using enums (safe comparisions,
uniqueness)
|
|\
| |
| |
| |
| | |
ci: Fix docker:dind service configuration
See merge request BuildStream/buildstream!1503
|
|/
|
|
|
|
|
|
|
|
|
| |
docker 19 started requiring tls certificates to connect to. We now
need to explicitely disable it.
Gitlab was discussing it at
https://gitlab.com/gitlab-org/gitlab-runner/issues/4501
And the related change in docker was in
https://github.com/docker-library/docker/pull/166
|
|\
| |
| |
| |
| |
| |
| | |
Allow artifact subcommands to use artifact refs
Closes #773
See merge request BuildStream/buildstream!1497
|
| |
| |
| |
| |
| |
| | |
Changes made to allow artifact checkout/push/pull to take
artifact references as well as element names.
Added test to ensure this works
|
|/ |
|
|\
| |
| |
| |
| | |
Render progress information for loading and processing elements
See merge request BuildStream/buildstream!1482
|
| | |
|
| | |
|
|/ |
|
|\
| |
| |
| |
| | |
Optimize loader
See merge request BuildStream/buildstream!1493
|
| | |
|
| | |
|
|/
|
|
| |
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
|
|\
| |
| |
| |
| | |
Add BuildBox backend for sandboxing
See merge request BuildStream/buildstream!951
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This test stage should only be needed while we transistion to the
BuildBox sand box. Once the other test stages switch to use buildbox
from bubble rap then this test stage will be removed.
These test do not include the integration test as thery are not working
correctly in CI.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
This test reflects functionality that freedesktop-SDK use's but that bst
was not testing.
|
| | |
|
| | |
|
| | |
|
|/ |
|
|\
| |
| |
| |
| | |
Make ChildJobs and friends picklable
See merge request BuildStream/buildstream!1463
|
| |
| |
| |
| |
| |
| |
| |
| | |
If we're running BuildStream tests then pickle child jobs.
This ensures that we keep things picklable, whilst we work towards being
able to support platforms that need to use the 'spawn' method of
starting processes.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Pave the way toward supporting the 'spawn' method of creating jobs, by
adding support for pickling ChildJobs. Introduce a new 'jobpickler'
module that provides an entrypoint for this functionality.
This also makes replays of jobs possible, which has made the debugging
of plugins much easier for me.
|
| |
| |
| |
| |
| | |
Make ScalarNode, MappingNode, and SequenceNode pickable by implementing
`__reduce__` for them.
|
| |
| |
| |
| |
| | |
In order to enable the 'spawn' method of creating jobs, make sure that
OptionPool is pickable, otherwise it cannot be sent to the job process.
|
| |
| |
| |
| |
| | |
Make the _platform implementations pickable by moving the nested
_setup_*_sandbox methods up into their enclosing classes.
|
| |
| |
| |
| |
| |
| |
| | |
Store the result of checking for BST_TEST_SUITE in the environment into
the Context. This feels less weird than checking the environment every
time. Note that this cannot replace every instance, as not everything
should have access to the Context.
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
.gitlab-ci.yml: Use new freedesktop-sdk with bst2 YAML API changes
Closes #1090
See merge request BuildStream/buildstream!1498
|
|/
|
|
| |
See https://gitlab.com/freedesktop-sdk/freedesktop-sdk/merge_requests/1560
|
|\
| |
| |
| |
| | |
workspace clobbers sources
See merge request BuildStream/buildstream!1470
|
| |
| |
| |
| |
| |
| | |
This reverts one of the changes in
https://gitlab.com/BuildStream/buildstream/commit/fa70a4299bc97b1f723a8602f6fad1bcc013f17a#11743b796594142e47df22054b99d263d52e28aa_1151_1152
and will be followed in a new issue.
|
| |
| |
| |
| | |
This is only used following key invalidation
|
|/
|
|
| |
add name to sources in cache key dict
|
|\
| |
| |
| |
| |
| |
| | |
Don't remove workspace directory when `--no-checkout` option is given
Closes #1086
See merge request BuildStream/buildstream!1490
|
| |
| |
| |
| |
| |
| | |
Ensure that any changes made by user in an open workspace are not
overridden when calling `bst workspace open` again with `--force` and
`--no-checkout` options.
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
When `--no-checkout` flag is used, BuildStream assumes that the target
destination already contain the sources (potentially edited already).
Hence BuildStream must not remove its contents.
Fixes #1086.
---
Also, fix a minor typo in the file that probably doesn't need a commit
of its own.
|