fedora-copr / copr

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

Create a pool of builders that have more storage #3268

Open xsuchy opened 6 months ago

xsuchy commented 6 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 6 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 6 months ago

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

praiskup commented 1 week ago

I am reopening because the aarch64 builders don't seem to have this done:

nvme1n1     259:1    0  160G  0 disk 
├─nvme1n1p1 259:5    0   16G  0 part /var/lib/copr-rpmbuild
└─nvme1n1p2 259:6    0  144G  0 part [SWAP]
praiskup commented 1 week ago

s390x seems better:

vda    252:0    0  320G  0 disk 
├─vda1 252:1    0   16G  0 part /var/lib/copr-rpmbuild
└─vda2 252:2    0  304G  0 part [SWAP]
nikromen commented 1 week ago

It seems like I forgot to define it for aarch64 in pools.yml or the config file in copr-rpmbuild (but probably the pools.yml)