fedora-copr / copr

RPM build system - upstream for https://copr.fedorainfracloud.org/
115 stars 58 forks source link

Create a pool of builders that have more storage #3268

Open xsuchy opened 3 months ago

xsuchy commented 3 months ago

Follow up of https://github.com/fedora-copr/copr/issues/3267

We have powerful builders, but this adds "only" CPU and RAM. But not storage. We have a hardcoded option to mock config to use 140GB for storage using tmpfs https://pagure.io/fedora-infra/ansible/blob/main/f/roles/copr/backend/files/provision/files/mock/site-defaults.cfg#_18 We must pass an option allowing powerful builders to use more storage.

praiskup commented 3 months ago

There's the on_demand_powerful tag configured in Ansible, which is coming from Frontend's configuration. Then, we need to have a tool that would be able to modify the Mock configuration when on_demand_powerul tag is used.

praiskup commented 3 months ago

Alternatively, we could bump the storage +10G everywhere.