| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
See #783
|
|\
| |
| |
| |
| | |
Mandatory .bst suffix
See merge request BuildStream/buildstream!967
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
buildcheckout.py: Add mandatory .bst suffix tests
completions.py: Add test for fail on invalid suffix
Added required files for testing
integration/source-determinism.py: renamed test elements to end with .bst
loader/__init__.py: initialised context properly with load and a message handler
|
| | |
|
| |
| |
| |
| | |
_loader/loader.py: Added Suffix check and warning for named elements and add helper function
|
| | |
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
_stream.py: Ability to pull missing buildtrees outside of pull/build
Closes #774
See merge request BuildStream/buildstream!978
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds helper function _buildtree_pull_required() to determine if a
pullqueue should be constructed, for commands outside of bst pull
and build where it is determined that an element's buildtree
artifact is to be required given the respective semantics and
config. Utilised in push() to attempt to mitigate skipping the push
of partial elements without the user having to have preceded it with
an explicit pull.
cli.py: Add new behaviour to push command description
element.py: Move _cached_buildtree() to be non local private method,
use _KeyStrength types to reduce duplication.
tests/integration/pullbuildtrees.py also updated to cover this
use-case.
|
|\
| |
| |
| |
| | |
man/: update with changes since Apr 2018
See merge request BuildStream/buildstream!981
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It seems that the regenerated man pages haven't been committed for some
time. Add them all in one lump now.
Had to manually strip the version number from the generated files.
Had to manually fix the NAME field of bst.1 to not be 'bst - None'.
Oddly had to invoke click-man directly in order to get the changes to
be applied, the usual setup.py route mentioned in contributing.rst
didn't work.
Eyeballed the result of invoking man on each of the commands, seems
good.
|
|\
| |
| |
| |
| |
| |
| | |
Add support for .netrc in remote/tar/zip plugins
Closes #723
See merge request BuildStream/buildstream!908
|
| | |
|
|/
|
|
| |
Fixes #723.
|
|\
| |
| |
| |
| |
| |
| | |
_sandboxremote.py: Remove unnecessary tests.
Closes #786
See merge request BuildStream/buildstream!976
|
|/
|
|
|
|
|
| |
push_message and push_directory will both raise assertion failures if
they fail to send the digest to the server. Checking the digest
returned by each only tests that the content was hashed locally, which
cannot reasonably fail.
|
|\
| |
| |
| |
| |
| |
| | |
Fix cleanup of cache in server when disk is full
Closes #678
See merge request BuildStream/buildstream!830
|
| |
| |
| |
| | |
Cleaning up in parallel might slow down the cleaning process
|
| |
| |
| |
| |
| | |
When there is less than 2GB left, it cleans up have 10GB available.
These values are configurable.
|
| | |
|
| |
| |
| |
| |
| | |
This also remove references when some objects are missing. This is in
preparation for the move from reference to object garbage collection.
|
| |
| |
| |
| |
| | |
This locks the temporary object file so that cleanup does not need to
be done for every write.
|
| |
| |
| |
| |
| |
| |
| | |
The file is already a temporary file and does not need copy. ENOSPC
is thrown during that copy in issue #609.
Fixes #678.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
We plan to make cache incomplete. That is some blobs are missing. For
most of cases we will delete references when requested if they are
incomplete. But there will be corner cases where objects are removed
after the reference is requested.
|
|/
|
|
|
|
| |
f_bfree space might not be usable. In practice we see failures in big
disks because f_bfree is over 2GB and f_bavail is 0. We get ENOSPC if
writing on disk then.
|
|\
| |
| |
| |
| | |
setup.py: require ruamel.yaml >= 0.15.41 < 0.15.52
See merge request BuildStream/buildstream!975
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
Split remote execution from artifact cache
Closes #750
See merge request BuildStream/buildstream!946
|
| |
| |
| |
| |
| | |
The port number must come after the hostname and before the path.
The path is ignored by CASCache anyway, so including it is misleading.
|
| | |
|
| |
| |
| |
| |
| | |
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.
|
|\
| |
| |
| |
| |
| |
| | |
Command batching
Closes #675
See merge request BuildStream/buildstream!915
|
| | |
|
| |
| |
| |
| | |
Execute batched commands in a single shell script.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
This allows batching of all sandbox commands aross prepare() and
assemble().
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
This allows the sandbox to output messages using the plugin id.
|
| |
| |
| |
| | |
This adds the batch() context manager.
|
| | |
|