summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* .gitlab-ci.yml: Use testsuite images for running testschandan/use-testsuite-fedoraChandan Singh2018-07-181-4/+4
| | | | | | | | | | | | | | | Instead of re-using the user-facing `buildstream/buildstream-fedora` image for tests (that comes with BuildStream pre-installed), use `buildstream/testsuite-fedora` image that is supposed to be used exclusively for these tests. Similarly, use the dedicated `buildstream/testsuite-debian` image instead of `buildstream/buildstream-debian`. Fixes #458. For related discussion, see https://gitlab.com/BuildStream/buildstream-docker-images/issues/8.
* Reorder app.py imports1.3.0Daniel Playle2018-07-181-3/+2
| | | | | | | | When testing locally on some systems, it appears that pylint fails on the order of imports for `buildstream/_frontend/app.py`. This commit changes the order of these imports. This commit addresses issue !453.
* _stream.py: Clarifying ambiguous FIXME comment about required artifactsbst-1-branchpointTristan Van Berkom2018-07-181-3/+6
|
* Refactor: Use new logging mechanism from Contexttristan/local-cache-expiryTristan Van Berkom2018-07-188-318/+55
| | | | | | | | | | | | | o element.py / plugin.py: Removed supporting logging code, and derive the log handle from Context. o _scheduler/scheduler.py, _scheduler/queues/queue.py: Adapt to new Job initializer API for the logfile o _scheduler/jobs/job.py: Run job activities within the new context manager which turns on logging for a job. Also removed a lot of custom logging abstract methods which are unneeded. o _scheduler/jobs: Job implementations need not implement so much custom logging.
* _context.py: Adding apis for message recording and task logging.Tristan Van Berkom2018-07-181-1/+138
| | | | | | | | | | | | Added the new Context.recorded_messages() context manager, this causes messages to be logged in a dedicated log file before being propagated to the log handler, and also provides an open log handle for the capturing and logging of stdout/stderr from child processes. This comes with the additional accessors: Context.get_log_handle() Context.get_log_filename()
* NEWS: Add news about cache expiryTristan Maat2018-07-181-0/+4
|
* tests/artifactcache/expiry.py: Add expiry testsTristan Maat2018-07-182-0/+278
|
* Clean the artifact cache when we hit the cache quotaTristan Maat2018-07-186-3/+201
| | | | | When the cache quota is hit, we will remove any elements not required for the current build, until our cache is only filled halfway.
* Compute the artifact cache size after each build/pullTristan Maat2018-07-187-2/+127
|
* Make elements keep track of their built artifact sizeTristan Maat2018-07-184-0/+108
|
* Add cache_quota to user configTristan Maat2018-07-183-0/+133
|
* Make Jobs abstract and element-independentTristan Maat2018-07-1815-376/+718
|
* _scheduler/*queue.py: Move queues to a subdirectoryTristan Maat2018-07-189-13/+14
|
* utils.py: Allow `list_relative_paths` to list directoriesTristan Maat2018-07-181-6/+8
|
* _exceptions.py: Add `detail` to ArtifactErrorsTristan Maat2018-07-181-2/+2
|
* Bump required python version to 3.5Tristan Maat2018-07-184-8/+5
|
* _artifactcache/cascache.py: Fix prune()Jürg Billeter2018-07-171-0/+2
| | | | | _reachable_refs_dir() failed to add directory digests to the set of reachable objects.
* _frontend/cli.py: Fix help text for `bst checkout --deps`Jürg Billeter2018-07-171-1/+1
|
* Fix 'main install' to be explicit that it is for Linux distros onlydevcurmudgeon2018-07-172-5/+3
|
* Adding a helpful link to the exampleWilliam Salmon2018-07-171-1/+1
|
* tests/frontend/buildcheckout.py: Added tests for "Add a `--deps` flag to ↵add_flag_to_checkoutPhillip Smyth2018-07-171-0/+36
| | | | `bst checkout`"
* buildstream/_frontend/cli.py: Added a `--deps` flag to `bst checkout`Phillip Smyth2018-07-173-13/+18
| | | | | buildstream/_stream.py: Added deps param to _prepare_sandbox function call buildstream/element.py: Added deps param and logic to _prepare_sandbox function
* element.py: Include fail-on-overlap setting in cache keyJürg Billeter2018-07-171-0/+4
| | | | Fixes #473.
* _artifactcache: Remove unused method can_diff()juerg/googlecasJürg Billeter2018-07-172-12/+0
|
* element.py: Do not use ArtifactCache.can_diff()Jürg Billeter2018-07-171-1/+1
| | | | The only existing artifact cache implementation always returns True.
* NEWS: Add news entry for CAS-based artifact cacheJürg Billeter2018-07-171-0/+4
|
* Remove OSTree artifact cacheJürg Billeter2018-07-174-1644/+0
| | | | | | No longer used. Fixes #134, #138, #148, #217, #268, #276, #443, #460.
* Remove tar artifact cacheJürg Billeter2018-07-172-379/+0
| | | | No longer used.
* doc/source/artifacts.rst: Update documentation for CAS artifact serverJürg Billeter2018-07-171-76/+64
|
* tests/integration/workspace.py: Test incremental build on all platformsJürg Billeter2018-07-171-1/+0
|
* tests/frontend/pull.py: Add pull test for missing blobs on the serverJürg Billeter2018-07-171-0/+42
|
* tests/frontend/push.py: Remove xfail mark from LRU cache testJürg Billeter2018-07-171-4/+0
| | | | The CAS server now supports LRU.
* tests: Test push/pull on all platformsJürg Billeter2018-07-173-13/+0
|
* tests/cachekey: Update expected cache keys after switch to CASJürg Billeter2018-07-1725-25/+25
|
* tests/testutils/artifactshare.py: Use CAS artifact serverJürg Billeter2018-07-171-28/+48
|
* _platform: Use CAS artifact cacheJürg Billeter2018-07-173-10/+5
|
* _artifactcache/casserver.py: Update artifact ref mtime on accessJürg Billeter2018-07-171-1/+1
| | | | This makes cache cleanup LRU.
* _artifactcache/casserver.py: Add update_mtime parameter to resolve_ref()Jürg Billeter2018-07-171-1/+5
|
* _artifactcache/casserver.py: Add cache cleanup based on pushreceiveJürg Billeter2018-07-171-0/+66
|
* _artifactcache: Add CAS artifact serverJürg Billeter2018-07-172-1/+251
|
* _artifactcache/cascache.py: Add remote cache supportJürg Billeter2018-07-173-11/+400
|
* Add proto for BuildStream reference storage serviceJürg Billeter2018-07-175-0/+509
|
* _artifactcache/cascache.py: Add list_artifacts() methodJürg Billeter2018-07-171-0/+25
|
* _artifactcache/cascache.py: Add remove() methodJürg Billeter2018-07-171-0/+28
|
* _artifactcache/cascache.py: Add prune() methodJürg Billeter2018-07-171-0/+45
|
* _artifactcache: Add CAS artifact cacheJürg Billeter2018-07-171-0/+348
| | | | | | Content Addressable Storage specified in the Remote Execution API. Fixes #387.
* remote_execution.proto: Add proposed symlink supportJürg Billeter2018-07-172-97/+222
| | | | https://github.com/bazelbuild/remote-apis/pull/18/
* Import protos for the Bazel Remote Execution APIJürg Billeter2018-07-1712-0/+4576
| | | | | This imports protos from https://github.com/bazelbuild/remote-apis/ and the modules generated with ./setup.py build_grpc.
* Import Google proto dependencies for the Remote Execution APIJürg Billeter2018-07-1720-0/+2199
| | | | | This imports protos from https://github.com/googleapis/googleapis/ and the modules generated with ./setup.py build_grpc.
* HACKING.rst: Add note about protocol buffers and code generationJürg Billeter2018-07-171-0/+22
|