| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| |
| | |
app: Show stacktrace on exception when "--debug" is True
See merge request BuildStream/buildstream!1507
|
|/
|
|
|
|
|
| |
Previously we would have the exceptions making debugging quite harder.
When requesting '--debug', it seems ok to show the stack trace that
created the error
|
|\
| |
| |
| |
| | |
Allow linter to run on target files
See merge request BuildStream/buildstream!1508
|
|/
|
|
|
| |
Currently the linter can only lint everything we want. With
this change, it should be able to only lint onre (or more) files.
|
|\
| |
| |
| |
| | |
Depend on ruamel >= 0.16
See merge request BuildStream/buildstream!1506
|
|/ |
|
| |
|
|\
| |
| |
| |
| | |
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
|