summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* wiptraveltissues/985-workspacesviacasDarius Makovsky2019-08-191-0/+3
|
* WIP remove workspace mounting for sandboxesDarius Makovsky2019-08-194-40/+10
|
* casserver.py: Use quota instead of headroomJürg Billeter2019-08-193-67/+21
|
* casserver.py: Handle CASCacheError for add_object() callsJürg Billeter2019-08-191-7/+25
|
* casserver.py: Update mtime on readJürg Billeter2019-08-191-1/+6
|
* _artifactcache.py: Handle CASRemoteErrorJürg Billeter2019-08-191-1/+5
|
* casremote.py: Use UploadMissingBlobs in CASBatchUpdateJürg Billeter2019-08-192-50/+10
|
* casremote.py: Handle RESOURCE_EXHAUSTED in CASBatchUpdateJürg Billeter2019-08-191-1/+6
|
* casremote.py: Drop unused ByteStreamStubJürg Billeter2019-08-191-3/+0
|
* casremote.py: Use UploadMissingBlobs in _send_blob()Jürg Billeter2019-08-192-38/+20
|
* casremote.py: Use add_object() in push_message()Jürg Billeter2019-08-191-6/+1
|
* cascache.py: Add instance_name parameter to add_object()Jürg Billeter2019-08-191-1/+5
|
* casremote.py: Use FetchMissingBlobs in CASBatchReadJürg Billeter2019-08-192-58/+11
|
* casremote.py: Use FetchMissingBlobs in _fetch_blob()Jürg Billeter2019-08-192-32/+25
|
* casremote.py: Use buildbox-casd in init()Jürg Billeter2019-08-193-14/+29
|
* tests/artifactcache/expiry.py: Fix test_cleanup_firstJürg Billeter2019-08-191-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_requiredJürg Billeter2019-08-191-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 fetcherJürg Billeter2019-08-191-0/+2
| | | | | Parallel fetching leads to sporadic test failures due to scheduling differences.
* _context.py: Pass cache quota to CASCacheJürg Billeter2019-08-192-6/+1
|
* cascache.py: Pass cache quota to casdJürg Billeter2019-08-191-3/+13
|
* cascache.py: Use buildbox-casd in add_object()Jürg Billeter2019-08-191-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 casdJürg Billeter2019-08-191-1/+1
|
* tests/testutils/artifactshare.py: Allow write access via casdJürg Billeter2019-08-191-4/+8
|
* _stream.py: Disable fork for Element._shell()Jürg Billeter2019-08-191-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 checkoutJürg Billeter2019-08-191-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() methodJürg Billeter2019-08-193-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 channelJürg Billeter2019-08-196-14/+96
|
* _protos: Import local_cas.protoJürg Billeter2019-08-194-0/+1663
|
* .gitlab-ci.yml: Update docker images for buildbox-casdJürg Billeter2019-08-191-12/+12
|
* tests/internals/storage_vdir_import.py: Terminate casd at end of testJürg Billeter2019-08-191-128/+150
|
* tests/internals/storage.py: Use context manager for casd terminationJürg Billeter2019-08-191-16/+19
|
* tests/testutils/artifactshare.py: Call CASCache.cleanup()Jürg Billeter2019-08-191-0/+2
|
* casserver.py: Call CASCache.cleanup() on exitJürg Billeter2019-08-192-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 Billeter2019-08-191-1/+2
| | | | This will be used to terminate the buildbox-casd child process.
* cascache.py: Add cleanup() methodJürg Billeter2019-08-191-0/+7
| | | | This will be used to terminate the buildbox-casd child process.
* _sourcecache.py: Remove unused code tracking required sourcesJürg Billeter2019-08-191-38/+0
|
* _artifactcache.py: Remove unused code tracking required elementsJürg Billeter2019-08-191-69/+0
|
* element.py: Remove call to mark_required_elements()Jürg Billeter2019-08-191-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 Billeter2019-08-191-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() methodsJürg Billeter2019-08-193-52/+0
|
* cascache.py: Remove unused method clean_up_refs_until()Jürg Billeter2019-08-191-10/+0
|
* cascache.py: Remove unused method list_objects()Jürg Billeter2019-08-191-25/+0
|
* casserver.py: Remove CacheCleanerJürg Billeter2019-08-192-111/+13
| | | | Cache expiry will be performed by buildbox-casd.
* Remove support for pruning CAS cacheJürg Billeter2019-08-195-81/+8
|
* Remove CASQuota and CASCacheUsageJürg Billeter2019-08-199-460/+5
|
* _scheduler: Remove cache size jobJürg Billeter2019-08-196-287/+2
| | | | Cache size will be tracked by buildbox-casd.
* _scheduler: Remove cleanup jobJürg Billeter2019-08-194-108/+8
| | | | Cache expiry will be managed by buildbox-casd.
* tests/internals/storage_vdir_import.py: Run tests in subprocessJürg Billeter2019-08-191-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 subprocessJürg Billeter2019-08-191-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 subprocessJürg Billeter2019-08-191-12/+13
| | | | | This is in preparation for buildbox-casd, which will disallow local CAS cache writes from the main process (gRPC).