Skip to content
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

[infra] cdxgen repo is consuming too much build resources #1723

Open
prabhu opened this issue Apr 8, 2025 · 2 comments
Open

[infra] cdxgen repo is consuming too much build resources #1723

prabhu opened this issue Apr 8, 2025 · 2 comments
Labels

Comments

@prabhu
Copy link
Collaborator

prabhu commented Apr 8, 2025

Like most open-source projects, the cdxgen project relies heavily on the generosity and free compute offered by GitHub for Actions. We are currently using up a significant level of compute, which would make it quite hard to migrate away from GitHub should a need arise.

The good news is that we now have three self-hosted agents, which are already operational. However, they are currently not utilised to their full extent, since many workflows are not working well under macos, and Linux virtualised using lima. Container builds for dotnet especially don't seem to work on macOS.

Last month

Last month, cdxgen repo has consumed over 50K build minutes.

Image

Last 3 months

We have used a whopping 238K build minutes in the last 3 months.

Image

https://github.com/orgs/CycloneDX/actions/metrics/usage?dateRangeType=DATE_RANGE_TYPE_LAST_30_DAYS&tab=repositories

@prabhu prabhu added the infra label Apr 8, 2025
@prabhu
Copy link
Collaborator Author

prabhu commented Apr 8, 2025

We are also using up a lot of cache atm.

Image

@prabhu
Copy link
Collaborator Author

prabhu commented Apr 8, 2025

Cache usage doesn't seem to go down even after I manually deleted the large blobs. Any ideas?

https://github.com/CycloneDX/cdxgen/actions/caches?query=sort%3Aaccessed-asc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant