[JIRA] (OVIRT-902) Speed up mock_runner.sh setup time by using caches.

Barak Korren (oVirt JIRA) jira at ovirt-jira.atlassian.net
Sun Dec 4 07:50:02 UTC 2016


Barak Korren created OVIRT-902:
----------------------------------

             Summary: Speed up mock_runner.sh setup time by using caches.
                 Key: OVIRT-902
                 URL: https://ovirt-jira.atlassian.net/browse/OVIRT-902
             Project: oVirt - virtualization made easy
          Issue Type: Improvement
            Reporter: Barak Korren
            Assignee: infra
            Priority: High


We've already known that setting up mock takes a while, but mock has some built-in caching features that should allow us to speed this up.

We need to ensure those features are enabled by mock_runner.sh. The mock options to look at are:

* root_cache_enable
* yum_cache_enable

Both these options should be set to true in the mock chroot config file.

We've been using these option downstream in minimead and the vdsm build scripts, so they should be safe to use.



--
This message was sent by Atlassian JIRA
(v1000.610.2#100023)



More information about the Infra mailing list