summaryrefslogtreecommitdiff
path: root/src/buildstream/testing
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2020-06-30 14:02:05 +0200
committerJürg Billeter <j@bitron.ch>2020-06-30 14:02:05 +0200
commitea520f9d1d77fcb72bc8ebc119781107c094c245 (patch)
tree9685b95c8ac63b70bb4127cc8adbb200cd5bbd06 /src/buildstream/testing
parent257426c3b6e90a450b6faf78ef38e6b436029fb5 (diff)
downloadbuildstream-ea520f9d1d77fcb72bc8ebc119781107c094c245.tar.gz
_artifactcache.py: Skip push only if server has identical artifact
The existing artifact on a server may refer to a previous build and the referenced blobs may no longer exist. As we push blobs referenced by the local artifact proto, we can skip pushing the artifact proto only if the artifact proto on the server is identical. It would be more efficient to always push the artifact proto without checking what artifact proto is currently on the server. However, we need the extra information to mark push jobs as skipped. This is clearer to users and also required by some test cases.
Diffstat (limited to 'src/buildstream/testing')
0 files changed, 0 insertions, 0 deletions