#110 copr/backend: creating a new partition for /var/cache/mock
Merged 3 years ago by praiskup. Opened 3 years ago by schlupov.
fedora-infra/ schlupov/ansible configure_builders  into  master

@@ -141,3 +141,7 @@ 

    - 204.157.3.70 # https://pagure.io/fedora-infrastructure/issue/8096

    when:

    - prepare_base_image is not defined

+ 

+ - name: mount cache filesystem on /var/cache/mock

+   mount: path=/var/cache/mock state=mounted src=mock_cache_tmpfs fstype=tmpfs opts="size=32G"

+   when: mock_var_cache_tmpfs is defined

@@ -6,3 +6,5 @@ 

  builder_images:

    x86_64: "{{ copr_builder_images.aws.x86_64 }}"

    aarch64: "{{ copr_builder_images.aws.aarch64 }}"

+ 

+ mock_var_cache_tmpfs: true

I don't think we need to repartition, and disable swap ...

This could be enough, just specify some reasonable value (e.g. 15G)?

rebased onto ef74596d5a4d0bf4f8dce7d782745258635aedcd

3 years ago

Looks good, thank you.

rebased onto 2be7045

3 years ago

rebased onto 2be7045

3 years ago

rebased onto 2be7045

3 years ago