summaryrefslogtreecommitdiff
path: root/tests/frontend/remote-caches.py
diff options
context:
space:
mode:
authorBenjamin Schubert <contact@benschubert.me>2019-10-04 18:11:10 +0100
committerBenjamin Schubert <contact@benschubert.me>2019-10-08 16:18:21 +0100
commitcc716013027a27487cce00abbe6011eed6d73e55 (patch)
treefaac6038b22f331d185bc5616c2f7d04d2b38eaf /tests/frontend/remote-caches.py
parenta57f27e396f9c19bd553687e8ae85b3b0d01e6e0 (diff)
downloadbuildstream-bschubert/fix-empty-buildtree.tar.gz
_artifactcache.py: Don't push artifact blobs when no files are presentbschubert/fix-empty-buildtree
Previously, if an artifact proto had no files at all in it, we would fail at pushing it, making BuildStream crash. When no files are part of an artifact proto, we can short-circuit the call and avoid pushing them unecessarily. - Add a test to ensure this doesn't come back.
Diffstat (limited to 'tests/frontend/remote-caches.py')
0 files changed, 0 insertions, 0 deletions