New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
repo_checker: store and compare build hash to skip more aggressively (similar check for project_only) #1229
repo_checker: store and compare build hash to skip more aggressively (similar check for project_only) #1229
Conversation
|
95777e1
to
f5b623d
Compare
The down-side of this is that if the whitelist is updated repo-checker will not recheck the staging. |
For adi, there might also be changes in oS:F directly that alter the outcome of the check (think install deps were missing, then accepted through a different adi staging). The fact that setting confug won't be cinsidered for change/rescan is kinda a bummer |
This caches all relevant repos so it would detect that change. Basically all the repos it downloads to check it includes in the hash. If anything I just need to add config hash. |
f5b623d
to
83bf4c6
Compare
Cleaned up code a tad so it can cache more, and included staging project meta revision in hash to detect config changes. |
83bf4c6
to
9aeb0a4
Compare
For reference the last
Over 5 hours. I would expect this to drop that by 80% at least. |
95777e1:
repo_checker: project_only place dashboard update behind dryrun check.
b8d81e1:
repo_checker: project_only ensure project repository is published.
9b7d121:
repo_checker: store and compare build hash to skip more aggressively.
Fixes #973.
Fixes #1029.