| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
https://gitlab.com/BuildStream/buildstream/issues/454
|
|
|
|
| |
https://gitlab.com/BuildStream/buildstream/issues/454
|
|
|
|
| |
https://gitlab.com/BuildStream/buildstream/issues/454
|
|
|
|
| |
https://gitlab.com/BuildStream/buildstream/issues/454
|
|
|
|
| |
https://gitlab.com/BuildStream/buildstream/issues/454
|
|
|
|
| |
https://gitlab.com/BuildStream/buildstream/issues/454
|
|
|
|
| |
https://gitlab.com/BuildStream/buildstream/issues/454
|
|
|
|
| |
https://gitlab.com/BuildStream/buildstream/issues/454
|
|
|
|
| |
https://gitlab.com/BuildStream/buildstream/issues/454
|
|
|
|
|
|
|
|
|
| |
Executing run() on a sandbox can now replace the virtual directory,
since remote execution returns a potentially different directory rather
than an update to the existing one. Call get_virtual_directory() again
after running to accout for this.
https://gitlab.com/BuildStream/buildstream/issues/454
|
|
|
|
| |
https://gitlab.com/BuildStream/buildstream/issues/454
|
|
|
|
|
|
|
|
| |
The remote execution client is implemented as a remote sandbox that
sends sources and build commands to a REAPI server and fetches results
once remotely executed. New file.
https://gitlab.com/BuildStream/buildstream/issues/454
|
|
|
|
| |
https://gitlab.com/BuildStream/buildstream/issues/454
|
|
|
|
|
|
| |
This just adds one option, "remote-execution/url". Affects multiple files.
https://gitlab.com/BuildStream/buildstream/issues/454
|
|
|
|
|
|
|
|
| |
This is for use after remote execution has finished, since remote
execution produces a new output directory rather than modifying
the initial directory.
https://gitlab.com/BuildStream/buildstream/issues/454
|
|
|
|
| |
https://gitlab.com/BuildStream/buildstream/issues/454
|
|
|
|
|
|
| |
Add a pull_tree() helper.
https://gitlab.com/BuildStream/buildstream/issues/454
|
|
|
|
|
|
|
| |
Add push_directory() and push_message() helpers along with a
verify_digest_pushed().
https://gitlab.com/BuildStream/buildstream/issues/454
|
|
|
|
|
|
|
| |
Refactor the push() and pull() implementations so that API additions
needed for remote-execution is made easier.
https://gitlab.com/BuildStream/buildstream/issues/454
|
|\
| |
| |
| |
| | |
jobs.py: Reduce FD leaks from queues and process objects
See merge request BuildStream/buildstream!778
|
|/
|
|
|
|
|
|
|
|
|
|
| |
The garbage collector can take too long to get around to cleaning
up the Queue and Process instances in completed Job instances. As
such, FDs tend to leak and in very large projects this can result
in running out of FDs before a build, fetch, track, or other process
can complete. This patch reduces the chance of that by only creating
the queue when it's needed, and forcing the queue and process instances
to be deleted when the parent is finished with them.
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
|
|\
| |
| |
| |
| | |
Improve documentation for artifact cache installation
See merge request BuildStream/buildstream!777
|
|/
|
|
|
|
|
| |
Remove ambiguity about systemd service files being separate.
Add URL for more information about systemd service files.
Add note about public keys being mandatory for self-signed certs.
Make cert/key file naming consistent throughout document.
|
|\
| |
| |
| |
| | |
plugins/git.py: Warn if ref is not in given track
See merge request BuildStream/buildstream!564
|
| |
| |
| |
| |
| | |
Add tests that cover assert_ref_in_track & the configurable
CoreWarnings REF_NOT_IN_TRACK warnings token.
|
|/
|
|
|
|
|
|
|
|
|
| |
Add a helper function assert_ref_in_track to git.py GitMirror()
which is used when staging & initing the source workspace. It
checks the element's ref exists in the track (branch/tag) if it
has been specified, raising a warning if necessary. The warning makes
use of the warning token 'REF_NOT_IN_TRACK' from the configurable
CoreWarnings. If the element has been tracked with bst, it is assumed
that the value of ref exists in the track as it was generated from it
& as such is not asserted.
|
|\
| |
| |
| |
| | |
Source fetcher changes
See merge request BuildStream/buildstream!772
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Plugin.configure()
This cannot test for unaliased URLs, as those can be discovered later
on outside of user provided element configuration; at least we
assert that if an alias was used, we have seen it at load time.
This will cause a BUG to occur for a plugin which marks an aliased
URL (or attempts to translate one) outside of `Plugin.configure()`,
if that URL was not previously seen.
This is a part of #620
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The Source must now mention whether the marked or translated
URL is "primary" or not. Even when a Source may have multiple
URLs, the auxilliary URLs are derived from the primary one, not
only is this true for git, but it is mandated by our tracking
API which assumes there is a primary URL.
This adjusts the `git` source and the test `fetch_source.py` source
to behave properly and advertize it's primary URL properly.
This is a part of #620
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Keeps track of whether the plugin is currently being configured.
Adjusted Element and Source classes to call _configure() in place
of calling configure() directly.
This is a part of #620
|
| |
| |
| |
| |
| |
| |
| | |
A download URL must be interpreted by the core at `Plugin.configure()`
time, even if only employed later on.
This is a part of #620
|
| | |
|
|/
|
|
|
|
|
|
| |
Also highlight the fact that the plugin can rely on the fetcher's
fetch() method getting called before consuming the next item in the
list, which is the magick behavior that the git plugin relies on.
This is a part of #620
|
|\
| |
| |
| |
| | |
Move cache_size.pid.log files into a subdirectory of logs
See merge request BuildStream/buildstream!769
|
|/
|
|
|
| |
This prevents the cache_size.pid.log files from cluttering the root
log directory.
|
|\
| |
| |
| |
| | |
Retries log as failures
See merge request BuildStream/buildstream!766
|
| | |
|
|/
|
|
|
|
|
|
| |
This adjusts the message handler for the child processes to no longer
override the message type.
This also removes the ability for unhandled non BstError exceptions to
retry.
|
| |
|
|\
| |
| |
| |
| | |
buildstream/_project.py: Report if project.conf is missing name
See merge request BuildStream/buildstream!680
|
|/
|
|
|
|
|
| |
Explicitly check that project.conf contains a name. This resolves
the issue of the provenance check from _yaml.py incorrectly reporting
the offending file as the default_config_node projectconfig.yaml
when no name key exists in the pre_config_node dict.
|
|\
| |
| |
| |
| | |
Replacing string 'bzr' with value from host tools
See merge request BuildStream/buildstream!764
|
|/ |
|
|\
| |
| |
| |
| | |
_artifactcache/artifactcache.py: Write the cache_size file atomically
See merge request BuildStream/buildstream!762
|
|/
|
|
|
|
|
|
| |
This is causing issues while the size file is being read and written
simultaneously.
The proper fix will be to read/add/save the file atomically and that
will require locking, but this fix is a good stop gap to existing crashes.
|
|\
| |
| |
| |
| |
| |
| | |
Report processing errors from tracking
Closes #533
See merge request BuildStream/buildstream!747
|
|/
|
|
|
|
| |
Failures to write files when tracking were not reported.
Fixes #533.
|
|\
| |
| |
| |
| | |
Minor code changes revolving around source mirroring
See merge request BuildStream/buildstream!758
|
| |
| |
| |
| |
| | |
This was displaying the aliased URL which is pretty useless,
use the translated URL for the timed activity.
|
| |
| |
| |
| |
| |
| | |
This was sitting in the section for abstract methods, but this
is most definitely not an abstract method to be implemented by
Sources.
|