Use streamcache in PackObjectsHook
Once #869 (closed) is finished, we can modify the implementation of PackObjectsHook so that it uses the cache. For now the goal is to get it to a point where we can validate how it behaves in production.
We intend to cut a number of corners so we can validate sooner:
- Hard-code the cache expiry time
- Derive the cache directory from the repository storage configuration
This will allow us to skip Omnibus/CNG development and Chef changes during validation. The work we're skipping will still have to be done eventually as part of &372 (closed).
Edited by Jacob Vosmaer