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:
Andrei Aaron
2023-06-16 01:07:28 +03:00
committed by GitHub
parent 988ca427b5
commit f9f9422d13
4 changed files with 52 additions and 7 deletions
-5
View File
@@ -41,11 +41,6 @@ func TestRoutes(t *testing.T) {
ctlr.Config.Storage.RootDirectory = t.TempDir()
ctlr.Config.Storage.Commit = true
err := test.CopyFiles("../../test/data", ctlr.Config.Storage.RootDirectory)
if err != nil {
panic(err)
}
cm := test.NewControllerManager(ctlr)
cm.StartAndWait(port)
defer cm.StopServer()