Url ref for file cache
- extend the cache reference to files, the same way containers are referenced.
- in other words, if a file resource has an updated url - clear the cached object and re-download + re-checksum
this ensures that a maintainer that updates a resource's URL but forgets to update the checksum doesn't inadvertently continue using the outdated cached object.
tests:
- building cache
- using cache
- using cache, new url + old checksum
- https://code-ib-mario.staging.dso.mil/dsop/c.geary/pipeline-runner-alpine-dev/-/jobs/351174
- this would previously pass as the cached file's checksum validated, now fails as expected
- using cache, new url + new checksum
Edited by Chad Geary