mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-04 21:42:52 +08:00
copr-be: increase the chroot tmpfs space on builders
Mock allocated 75g before, and this started to be not enough for some projects (tmpfs resides in ram + swap). Increasing the size isn't a huge deal for us since the major subset of builders is x86_64 and those have pretty large (currently unused) swap disk size. For aarch64 I had to add a bit more storage to guarantee that the large tmpfs will fit the swap (+17%).
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
- device_name: sdb
|
||||
delete_on_termination: True
|
||||
volume_type: gp2
|
||||
volume_size: 120
|
||||
volume_size: 140
|
||||
|
||||
tasks:
|
||||
- include: "spinup_aws_task.yml"
|
||||
|
||||
@@ -15,7 +15,7 @@ config_opts['plugin_conf']['compress_logs_opts']['command'] = "/usr/bin/gzip -9
|
||||
config_opts['plugin_conf']['tmpfs_enable'] = True
|
||||
config_opts['plugin_conf']['tmpfs_opts'] = {}
|
||||
config_opts['plugin_conf']['tmpfs_opts']['required_ram_mb'] = 1024
|
||||
config_opts['plugin_conf']['tmpfs_opts']['max_fs_size'] = '75g'
|
||||
config_opts['plugin_conf']['tmpfs_opts']['max_fs_size'] = '120g'
|
||||
config_opts['plugin_conf']['tmpfs_opts']['mode'] = '0755'
|
||||
config_opts['plugin_conf']['tmpfs_opts']['keep_mounted'] = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user