Skip to content

Commits on Source 2

  • Raoul Hidalgo Charman's avatar
    artifactcache: Move pull logic into CASRemote · 15db919f
    Raoul Hidalgo Charman authored
    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
    15db919f
  • Raoul Hidalgo Charman's avatar
    artifactcache: implement new push methods · 7329ef56
    Raoul Hidalgo Charman authored
    Similar to the pull methods, this implements a yield_directory_digests methods
    that iterates over blobs in the local CAS, with the upload_blob sending blobs
    to a remote and batching them where appropriate.
    
    Part of #802
    7329ef56
Loading