-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Cache trivy Fixes #2904 Signed-off-by: Dimitris Karakasilis <[email protected]> * Cache trivy in more pipelines Signed-off-by: Dimitris Karakasilis <[email protected]> * Populate trivy cache Signed-off-by: Dimitris Karakasilis <[email protected]> * Create the trivy cache dir if it wasn't created because if there is no cache to restore, the directory doesn't get created Signed-off-by: Dimitris Karakasilis <[email protected]> * Try to gate all jobs with trivy cache job to avoid failing later. Also, since jobs run in parallel, they may start populating the cache at the same time which will result in multiple requests for the trivy database, making the caching mechanism useless. Doing it once before everything should solve this. Signed-off-by: Dimitris Karakasilis <[email protected]> --------- Signed-off-by: Dimitris Karakasilis <[email protected]>
- Loading branch information
1 parent
f55def8
commit 7cf2177
Showing
8 changed files
with
188 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.