diff options
author | Benjamin Schubert <contact@benschubert.me> | 2019-10-04 18:11:10 +0100 |
---|---|---|
committer | Benjamin Schubert <contact@benschubert.me> | 2019-10-08 16:18:21 +0100 |
commit | cc716013027a27487cce00abbe6011eed6d73e55 (patch) | |
tree | faac6038b22f331d185bc5616c2f7d04d2b38eaf /tests/frontend/buildtrack.py | |
parent | a57f27e396f9c19bd553687e8ae85b3b0d01e6e0 (diff) | |
download | buildstream-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/buildtrack.py')
0 files changed, 0 insertions, 0 deletions