You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Grype cache in matrix jobs requires unique cache key lock to be acquired while saving cache
Key: <run_id>_<attempt_id> is not UNIQUE during matrix jobs and requires a fix to override / specific key from downstream workflows.
Options
Skip cache by default and always leverage updated cdn
As an emergency failurein case of CDN failures, there won't be caches since they are expired and skipped
Option to override default [<run_id>_<attempt_id>] to make it save unique caches in matrix job
a. specify option to override cache key as input
b. Detect if running in matrix contex and generate unique caches based on some prameter.
Either way, this is also NOT recommended since multipple cache keys might exhaust github default cache limits of 10GB since each file is 150MB and will be unique for run and attempt and each item in matrix
Host a mirror as Kong repo and use this URL
Overhead of effort and maintenance to maintain a list of updated offline grype dbs and consume them
The text was updated successfully, but these errors were encountered:
Summary
Options
a. specify option to override cache key as input
b. Detect if running in matrix contex and generate unique caches based on some prameter.
The text was updated successfully, but these errors were encountered: