Harness Expression function for file hash, i.e. for custom cache keys
long-term
F
Frequent Jay
According to Harness docs, the default cache key is a hash of detected lock files: https://developer.harness.io/docs/continuous-integration/use-ci/caching-ci-data/cache-intelligence#customize-cache-keys
We are using a build tool that harness doesn't support, and parallel stages. Both cases require custom cache keys. However, we still want to use the hash of our lockfiles in the cache key.
Please add a function for computing file hashs
- Github equivalent: (hashFiles) https://github.com/actions/cache?tab=readme-ov-file#creating-a-cache-key
- Gitlab equivalent: https://docs.gitlab.com/ee/ci/yaml/#cachekeyfiles
N
Nofar Bluestein
updated the status to
long-term
N
Nofar Bluestein
updated the status to
under review