Repository too big, failing github action aquasecurity/setup-trivy due timeout #9900
tomas-lipensky
started this conversation in
Bugs
Replies: 1 comment 1 reply
-
|
Hello @tomas-lipensky The The |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Even the size of files in the repo is about 100MB, the size of repository i more than 1Gb. The issue is probably cause by having binary files in git repository. I mean archives in pkg/fanal/test/testdata. Every update of the archive means, that the old one is still stored in git history.
Can it be redesigned and deleted old gzip archives from the history?
Impact: github action aquasecurity/setup-trivy takes a lot of time, timeouts and can cause space issue during the GitHub action runs.
Desired Behavior
Reffer pkg/fanal/test/testdata archives sources from artifact repository, not from code repository. Delete pkg/fanal/test/testdata archives from history
Actual Behavior
gzip files in pkg/fanal/test/testdata are making repository size too big (repository history). git clone makes transfer of more than 1gb data, it is slow and action aquasecurity/setup-trivy is failing
Reproduction Steps
Target
Git Repository
Scanner
None
Output Format
None
Mode
None
Debug Output
Operating System
Linux, MacOS
Version
Checklist
trivy clean --allBeta Was this translation helpful? Give feedback.
All reactions