-
- Downloads
You need to sign in or sign up before continuing.
artifactcache: Move pull logic into CASRemote
Seperates the pull logic into a remote/local API, so that artifact cache iterates over blob digests checks whether it has them, and then requests them if not. The request command allows batching of blobs where appropriate. Tests have been updated to ensure the correct tmpdir is set up in process wrappers, else invalid cross link errors happen in the CI. Additional asserts have been added to check that the temporary directories are cleared by the end of a pull. Part of #802
Showing
- buildstream/_artifactcache.py 47 additions, 20 deletionsbuildstream/_artifactcache.py
- buildstream/_cas/__init__.py 1 addition, 1 deletionbuildstream/_cas/__init__.py
- buildstream/_cas/cascache.py 11 additions, 213 deletionsbuildstream/_cas/cascache.py
- buildstream/_cas/casremote.py 147 additions, 0 deletionsbuildstream/_cas/casremote.py
- buildstream/_cas/transfer.py 56 additions, 0 deletionsbuildstream/_cas/transfer.py
- buildstream/sandbox/_sandboxremote.py 2 additions, 2 deletionsbuildstream/sandbox/_sandboxremote.py
- tests/artifactcache/pull.py 20 additions, 6 deletionstests/artifactcache/pull.py
- tests/artifactcache/push.py 20 additions, 8 deletionstests/artifactcache/push.py
- tests/integration/pullbuildtrees.py 10 additions, 0 deletionstests/integration/pullbuildtrees.py
Loading
Please register or sign in to comment