Commits on Source 2

  • Raoul Hidalgo Charman's avatar
    artifactcache: Move pull logic into CASRemote · 8e364a96
    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
    8e364a96
  • Raoul Hidalgo Charman's avatar
    artifactcache: implement new push methods · 5ee67691
    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
    5ee67691
Loading
Loading