Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | wiptraveltissues/985-workspacesviacas | Darius Makovsky | 2019-08-19 | 1 | -0/+3 |
| | |||||
* | WIP remove workspace mounting for sandboxes | Darius Makovsky | 2019-08-19 | 4 | -40/+10 |
| | |||||
* | casserver.py: Use quota instead of headroom | Jürg Billeter | 2019-08-19 | 3 | -67/+21 |
| | |||||
* | casserver.py: Handle CASCacheError for add_object() calls | Jürg Billeter | 2019-08-19 | 1 | -7/+25 |
| | |||||
* | casserver.py: Update mtime on read | Jürg Billeter | 2019-08-19 | 1 | -1/+6 |
| | |||||
* | _artifactcache.py: Handle CASRemoteError | Jürg Billeter | 2019-08-19 | 1 | -1/+5 |
| | |||||
* | casremote.py: Use UploadMissingBlobs in CASBatchUpdate | Jürg Billeter | 2019-08-19 | 2 | -50/+10 |
| | |||||
* | casremote.py: Handle RESOURCE_EXHAUSTED in CASBatchUpdate | Jürg Billeter | 2019-08-19 | 1 | -1/+6 |
| | |||||
* | casremote.py: Drop unused ByteStreamStub | Jürg Billeter | 2019-08-19 | 1 | -3/+0 |
| | |||||
* | casremote.py: Use UploadMissingBlobs in _send_blob() | Jürg Billeter | 2019-08-19 | 2 | -38/+20 |
| | |||||
* | casremote.py: Use add_object() in push_message() | Jürg Billeter | 2019-08-19 | 1 | -6/+1 |
| | |||||
* | cascache.py: Add instance_name parameter to add_object() | Jürg Billeter | 2019-08-19 | 1 | -1/+5 |
| | |||||
* | casremote.py: Use FetchMissingBlobs in CASBatchRead | Jürg Billeter | 2019-08-19 | 2 | -58/+11 |
| | |||||
* | casremote.py: Use FetchMissingBlobs in _fetch_blob() | Jürg Billeter | 2019-08-19 | 2 | -32/+25 |
| | |||||
* | casremote.py: Use buildbox-casd in init() | Jürg Billeter | 2019-08-19 | 3 | -14/+29 |
| | |||||
* | tests/artifactcache/expiry.py: Fix test_cleanup_first | Jürg Billeter | 2019-08-19 | 1 | -14/+0 |
| | | | | | | | Remove check for order of events as cache cleanup is now handled by buildbox-casd, not BuildStream scheduler jobs. The test still verifies that build succeeds when the cache disk usage is larger than the configured quota. | ||||
* | tests/artifactcache/expiry.py: Fix test_never_delete_required | Jürg Billeter | 2019-08-19 | 1 | -17/+5 |
| | | | | | | buildbox-casd checks disk usage against the quota before actually committing a new blob to the local cache and thus, the disk usage will never outgrow the quota. | ||||
* | tests/artifactcache/expiry.py: Limit to single fetcher | Jürg Billeter | 2019-08-19 | 1 | -0/+2 |
| | | | | | Parallel fetching leads to sporadic test failures due to scheduling differences. | ||||
* | _context.py: Pass cache quota to CASCache | Jürg Billeter | 2019-08-19 | 2 | -6/+1 |
| | |||||
* | cascache.py: Pass cache quota to casd | Jürg Billeter | 2019-08-19 | 1 | -3/+13 |
| | |||||
* | cascache.py: Use buildbox-casd in add_object() | Jürg Billeter | 2019-08-19 | 1 | -33/+20 |
| | | | | | buildbox-casd clients are not allowed to directly write into the local cache directory. Use LocalCas.CaptureFiles() instead. | ||||
* | tests/artifactcache/artifactservice.py: Enable write access via casd | Jürg Billeter | 2019-08-19 | 1 | -1/+1 |
| | |||||
* | tests/testutils/artifactshare.py: Allow write access via casd | Jürg Billeter | 2019-08-19 | 1 | -4/+8 |
| | |||||
* | _stream.py: Disable fork for Element._shell() | Jürg Billeter | 2019-08-19 | 1 | -0/+2 |
| | | | | | | With the buildbox sandboxing backend, communication with casd is required by Element._shell(). Disable fork after preparation to allow communication with casd in the main process. | ||||
* | _stream.py: Disable fork for staging in artifact checkout | Jürg Billeter | 2019-08-19 | 1 | -0/+2 |
| | | | | | | With the buildbox sandboxing backend, communication with casd is required for staging. Disable fork after fetching missing artifacts to allow communication with casd in the main process. | ||||
* | _context.py: Add disable_fork() method | Jürg Billeter | 2019-08-19 | 3 | -1/+19 |
| | | | | | Calling disable_fork() will prevent the scheduler from running but will allow communication with casd in the main process. | ||||
* | cascache.py: Start buildbox-casd and set up channel | Jürg Billeter | 2019-08-19 | 6 | -14/+96 |
| | |||||
* | _protos: Import local_cas.proto | Jürg Billeter | 2019-08-19 | 4 | -0/+1663 |
| | |||||
* | .gitlab-ci.yml: Update docker images for buildbox-casd | Jürg Billeter | 2019-08-19 | 1 | -12/+12 |
| | |||||
* | tests/internals/storage_vdir_import.py: Terminate casd at end of test | Jürg Billeter | 2019-08-19 | 1 | -128/+150 |
| | |||||
* | tests/internals/storage.py: Use context manager for casd termination | Jürg Billeter | 2019-08-19 | 1 | -16/+19 |
| | |||||
* | tests/testutils/artifactshare.py: Call CASCache.cleanup() | Jürg Billeter | 2019-08-19 | 1 | -0/+2 |
| | |||||
* | casserver.py: Call CASCache.cleanup() on exit | Jürg Billeter | 2019-08-19 | 2 | -77/+91 |
| | | | | | Install a signal handler to execute cleanup also on SIGTERM. This will be used to terminate the buildbox-casd child process. | ||||
* | _context.py: Call CASCache.cleanup() in __exit__() | Jürg Billeter | 2019-08-19 | 1 | -1/+2 |
| | | | | This will be used to terminate the buildbox-casd child process. | ||||
* | cascache.py: Add cleanup() method | Jürg Billeter | 2019-08-19 | 1 | -0/+7 |
| | | | | This will be used to terminate the buildbox-casd child process. | ||||
* | _sourcecache.py: Remove unused code tracking required sources | Jürg Billeter | 2019-08-19 | 1 | -38/+0 |
| | |||||
* | _artifactcache.py: Remove unused code tracking required elements | Jürg Billeter | 2019-08-19 | 1 | -69/+0 |
| | |||||
* | element.py: Remove call to mark_required_elements() | Jürg Billeter | 2019-08-19 | 1 | -15/+0 |
| | | | | | This is no longer necessary with buildbox-casd as required blobs will be protected based on timestamps. | ||||
* | _stream.py: Remove calls to mark_required_{elements,sources} | Jürg Billeter | 2019-08-19 | 1 | -16/+0 |
| | | | | | This is no longer necessary with buildbox-casd as required blobs will be protected based on timestamps. | ||||
* | cascache.py: Remove add_reachable_*_callback() methods | Jürg Billeter | 2019-08-19 | 3 | -52/+0 |
| | |||||
* | cascache.py: Remove unused method clean_up_refs_until() | Jürg Billeter | 2019-08-19 | 1 | -10/+0 |
| | |||||
* | cascache.py: Remove unused method list_objects() | Jürg Billeter | 2019-08-19 | 1 | -25/+0 |
| | |||||
* | casserver.py: Remove CacheCleaner | Jürg Billeter | 2019-08-19 | 2 | -111/+13 |
| | | | | Cache expiry will be performed by buildbox-casd. | ||||
* | Remove support for pruning CAS cache | Jürg Billeter | 2019-08-19 | 5 | -81/+8 |
| | |||||
* | Remove CASQuota and CASCacheUsage | Jürg Billeter | 2019-08-19 | 9 | -460/+5 |
| | |||||
* | _scheduler: Remove cache size job | Jürg Billeter | 2019-08-19 | 6 | -287/+2 |
| | | | | Cache size will be tracked by buildbox-casd. | ||||
* | _scheduler: Remove cleanup job | Jürg Billeter | 2019-08-19 | 4 | -108/+8 |
| | | | | Cache expiry will be managed by buildbox-casd. | ||||
* | tests/internals/storage_vdir_import.py: Run tests in subprocess | Jürg Billeter | 2019-08-19 | 1 | -7/+66 |
| | | | | | This is in preparation for buildbox-casd, which will disallow local CAS cache writes from the main process (gRPC). | ||||
* | tests/internals/storage.py: Run tests in subprocess | Jürg Billeter | 2019-08-19 | 1 | -5/+55 |
| | | | | | This is in preparation for buildbox-casd, which will disallow local CAS cache writes from the main process (gRPC). | ||||
* | tests/artifactcache/artifactservice.py: Add objects in subprocess | Jürg Billeter | 2019-08-19 | 1 | -12/+13 |
| | | | | | This is in preparation for buildbox-casd, which will disallow local CAS cache writes from the main process (gRPC). |