Commits on Source (16)
-
_project.py: Added validate_nodes() helper function to prevent duplicate lists element-path was being used before node validation resulting in uncaught errors
-
-
Jürg Billeter authored
Element path not validated before use See merge request !937
-
Fixes #755
-
-
-
-
Valentin David authored
-
Javier Jardón authored
Run tests on aarch64 Closes #369 and #755 See merge request !948
-
richardmaw-codethink authored
It's inconvenient to have to create a Linux platform to parse the bwrap version and we want to get the version in a consistent manner.
-
richardmaw-codethink authored
If `bwrap` fails to set up the sandbox and start the payload command it won't write an exit-code in --json-status-fd, so we can report if it was a sandboxing failure if we don't get exit-code status and a payload command failure if we do and it's non-zero. Closes #286
-
richardmaw-codethink authored
-
richardmaw-codethink authored
-
richardmaw-codethink authored
Distinguish between bubblewrap sandboxing failure and command failure Closes #286 See merge request !868
-
Tom Pollard authored
of which is set to False via the addition of pullbuildtree to userconfig.yaml _frontend/app.py & cli.py: Add --pull-build-trees as a bst main option, which when passed will override the default or user defined context for pull_buildtrees tests/completions/completions.py: Update for the added flag
-
Tom Pollard authored
The addition of cached build trees being included in element artifacts has led to mostly redundant download overheads when pulling from a remote artifact server. As such the default behaviour of pull shouldn't fetch the build tree object if available. pullqueue.py: add extensible attributes to determine required/ excluded directories for element pull jobs. scheduler context is used to determine pull_build_trees context. element.py: extend relevant pull logic for specified subdir consideration and ensure push logic does not lead to partial artifact pushes. Change assumption that buildtree can be extracted if artifact is cached. _artifactcache/: artifactcache.py & cascache.py inclusion of helper functions for subdir artifact checking & fetching, fetch logic extended to only pull required artifact directories. extract & checkout updated to handle full/partial operation. tests/: addition of integration test pullbuildtrees.py, buildtrees.py adapted cli options, testutils/artifactshare.py has_artifact changed to return artifact digest on true condition.
Showing
- .gitlab-ci.yml 21 additions, 7 deletions.gitlab-ci.yml
- NEWS 12 additions, 2 deletionsNEWS
- buildstream/_artifactcache/artifactcache.py 28 additions, 4 deletionsbuildstream/_artifactcache/artifactcache.py
- buildstream/_artifactcache/cascache.py 61 additions, 12 deletionsbuildstream/_artifactcache/cascache.py
- buildstream/_context.py 7 additions, 1 deletionbuildstream/_context.py
- buildstream/_frontend/app.py 2 additions, 1 deletionbuildstream/_frontend/app.py
- buildstream/_frontend/cli.py 2 additions, 0 deletionsbuildstream/_frontend/cli.py
- buildstream/_platform/linux.py 5 additions, 20 deletionsbuildstream/_platform/linux.py
- buildstream/_project.py 16 additions, 10 deletionsbuildstream/_project.py
- buildstream/_scheduler/queues/pullqueue.py 13 additions, 2 deletionsbuildstream/_scheduler/queues/pullqueue.py
- buildstream/_site.py 21 additions, 0 deletionsbuildstream/_site.py
- buildstream/data/userconfig.yaml 2 additions, 0 deletionsbuildstream/data/userconfig.yaml
- buildstream/element.py 96 additions, 38 deletionsbuildstream/element.py
- buildstream/sandbox/_sandboxbwrap.py 49 additions, 20 deletionsbuildstream/sandbox/_sandboxbwrap.py
- tests/cachekey/cachekey.py 3 additions, 1 deletiontests/cachekey/cachekey.py
- tests/completions/completions.py 1 addition, 0 deletionstests/completions/completions.py
- tests/examples/autotools.py 5 additions, 1 deletiontests/examples/autotools.py
- tests/examples/developing.py 7 additions, 1 deletiontests/examples/developing.py
- tests/examples/flatpak-autotools.py 5 additions, 1 deletiontests/examples/flatpak-autotools.py
- tests/examples/integration-commands.py 5 additions, 1 deletiontests/examples/integration-commands.py