mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 20:38:08 +08:00
ci(disk usage): disk related fixes and improvements (#1524)
ci(workflow): show disk usage and free up disk space used by unneeded tooling ci(tests): routes tests: do not copy large images if they are not used later ci(trivy): update a test: download trivy.db to a temporary folder Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
This commit is contained in:
@@ -43,7 +43,11 @@ func TestTrivyDBGenerator(t *testing.T) {
|
||||
},
|
||||
}
|
||||
storeController := storage.StoreController{
|
||||
DefaultStore: mocks.MockedImageStore{},
|
||||
DefaultStore: mocks.MockedImageStore{
|
||||
RootDirFn: func() string {
|
||||
return t.TempDir()
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
cveInfo := cveinfo.NewCVEInfo(storeController, repoDB, "ghcr.io/project-zot/trivy-db", "", logger)
|
||||
|
||||
Reference in New Issue
Block a user