| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Tests that we get a sensible error message when we specify incomplete
or wrong information in the configuration for remote execution.
|
| |
|
|
|
|
|
| |
Uses the new config options introduced earlier to specify remote
exec storage and execution service.
|
|
|
|
|
|
| |
Since the artifact cache and remote execution share the same
local CAS store, they should share the same CASCache object. Moving
this into context allows us to do this.
|
|
|
|
|
|
| |
There is nothing in ArtifactCacheSpec that's actually specific to
artifacts, so I've made it a CAS class so we can use the same
spec for remote execution.
|
|\
| |
| |
| |
| | |
Bump version of fd.o SDK and bst_external in overnight tests
See merge request BuildStream/buildstream!962
|
|/ |
|
|\
| |
| |
| |
| | |
Updated Workspace CLI
See merge request BuildStream/buildstream!897
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
This is to update the workspace CLI to as agreed on the mailing list
https://mail.gnome.org/archives/buildstream-list/2018-September/msg00046.html
This patch also introduces the default workspace directory.
|
|/
|
|
|
| |
The Refactor now makes it possible to test for the forth coming multi
element workspace open commands and to test for failure.
|
|\
| |
| |
| |
| | |
tests/plugin/pipeline.py: Avoid using host user conf
See merge request BuildStream/buildstream!961
|
|/
|
|
|
|
| |
create_pipeline was passing no config parameter to context.load,
leading to _context.py loading in the host's buildstream user conf
when running tests locally, potentially leading to unwanted errors.
|
|\
| |
| |
| |
| | |
Followup on MR 938, addressing additional comments
See merge request BuildStream/buildstream!958
|
| | |
|
|/
|
|
| |
This is to be coherent with the rest of the codebase
|
|\
| |
| |
| |
| | |
Add tests for fedora with no bubblewrap available
See merge request BuildStream/buildstream!949
|
| |
| |
| |
| | |
This removes the need of having it synchronized in multiple places
|
| |
| |
| |
| |
| | |
This allows us to make sure that tests behave nicely while missing brwap
and ostree.
|
| | |
|
| |
| |
| |
| |
| | |
This makes all tests use the same template, which makes reasoning
about them simpler
|
| |
| |
| |
| |
| | |
The unix-logs is always empty, there is therefore no reasons of keeping
it there
|
| |
| |
| |
| | |
This will allow for further de-duplication of work.
|
| |
| |
| |
| |
| | |
This doesn't change the test behavior and enable for better
composability of tests
|
|/ |
|
|\
| |
| |
| |
| | |
Fix warning when using an absolute path which exists inside the project
See merge request BuildStream/buildstream!956
|
|/
|
|
|
|
| |
This patch ensures that we receive an appropriate error
message if we specify an absolute path that leads within
the project.
|
|\
| |
| |
| |
| |
| |
| | |
_sandboxremote.py: Add sigterm handler that sends CancelOperation
Closes #725
See merge request BuildStream/buildstream!900
|
|/ |
|
|\
| |
| |
| |
| | |
Add 'prompt.*' config options to buildstream.conf
See merge request BuildStream/buildstream!887
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Provide options in project.conf to disable the 'Are you sure ...'
prompts when making destructive changes:
- Add prompt.really-workspace-close-remove-dir
- Add prompt.really-workspace-reset-hard
Add a NEWS item for these.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Provide an option in buildstream.conf to disable the 'Would you like to
...' prompt when we cannot resolve a project.
Some users prefer not to be interrupted by such prompts, so pave the way
to creating options to disable all those that might get in the way.
Follow the example of the advice.* options 'git-config', and create a
namespace for these UI options grouped by behaviour, rather than an
over-reaching 'ui.*' namespace. In later work perhaps we'll also add
'advice.*' options.
Add a NEWS item for this.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Use a new helper function to simplify working with nodes that can only
accept certain strings. This will be used when adding the prompt.*
config options.
In later work we can see if this function would be useful elsewhere, and
could be added to '_yaml.py'.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Enable this option of 'terminate', which is mentioned in userconfig.yaml
and handled in _frontend/app.py:_handle_failure(). It appears to have
been left out of the valid_actions as an oversight.
Originally introduced in
https://gitlab.com/BuildStream/buildstream/commit/2622d5da9bd9fefd87436613d6e3e9770fdd0f28
|
|/ |
|
|\
| |
| |
| |
| | |
_context.py: Drop duplicated default values for user configuration
See merge request BuildStream/buildstream!953
|
| |
| |
| |
| |
| |
| | |
The default values are in userconfig.yaml, together with the
documentation. The default values should not be duplicated in
_context.py.
|
| | |
|
| |
| |
| |
| |
| |
| | |
The fake context did not set the cache quota, triggering an error. With
CASCache now separate from ArtifactCache, we can instantiate a CASCache
without context.
|
|/
|
|
|
| |
The Context was only used to obtain a reference to the CASCache
and set the unused cas_directory field.
|
|\
| |
| |
| |
| | |
NEWS: Add entry for the new source-checkout command
See merge request BuildStream/buildstream!960
|
|/
|
|
|
|
| |
`bst source-checkout` command was recently added in
https://gitlab.com/BuildStream/buildstream/merge_requests/820. Add a
NEWS entry for the new command.
|
|\
| |
| |
| |
| |
| |
| | |
Don't cache sandbox failures
Closes #727
See merge request BuildStream/buildstream!895
|
| |
| |
| |
| |
| |
| | |
Reverse the way we were handling caching by only caching
when we know it's a problem with the build or the build is a
success in order not to cache transient errors.
|
|/
|
|
|
|
|
|
|
|
| |
Sandbox errors (like missing host tools) are dependent on the host
system and rarely on what is actually done.
It is therefore better to not cache them as they are subject to
change between two runs.
Also add test to ensure sandbox failure are not cached
|
|\
| |
| |
| |
| |
| |
| | |
plugins/elements/cmake.yaml: always specify variable types
Closes #761
See merge request BuildStream/buildstream!947
|
|/
|
|
|
|
|
| |
cmake sometimes misinterprets relative paths as relative to the current directory
if this is not specified. See freedesktop-sdk/freedesktop-sdk#431
adjust tests/format/variables.py accordingly.
|
|\
| |
| |
| |
| | |
Add `bst source-checkout` command
See merge request BuildStream/buildstream!820
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
As discussed in
https://mail.gnome.org/archives/buildstream-list/2018-September/msg00064.html,
add `bst source-checkout` command. This will allow users to checkout
sources for a given target.
* _frontend/cli.py: Add source-checkout command
* _pipeline.py: Add assert_sources_cached() method
* _stream.py: Add source_checkout method, abstract out
__check_location_writable() method that used to part of checkout()
|