Change in jenkins[master]: Extending the standard mock runner

dcaroest at redhat.com dcaroest at redhat.com
Fri Jul 10 09:27:16 UTC 2015


David Caro has submitted this change and it was merged.

Change subject: Extending the standard mock runner
......................................................................


Extending the standard mock runner

- Added fix when running on fc22 (dnf based)

- Added possiblity to specify custom repos and mounts:
 * file: $script.req[.$dist] || $script.packages[.$dist]
   content: packages to install, one per line
 * file: $script.mounts[.$dist]
   content: src[:dst] tuples with source directory to mount where, one per
            line
 * file: $script.repos[.$dist]
   content: [name:] url tuples with the repos to add, one per line

- Improved log collection, now one dir per action inside $PWD/logs dir

- Ability to specify custom mock confs dir (that way you can use installed
  defaults or the ones pulled from jenkins/mock_configs repo that will be used
  by jenkins)

- Using different root for each repo combination, that allows a correct usage
  of the mock caches

- Allow using proxified configs

- Fixed issues with permissions when building with rpmbuild inside the mock env

- Outputting the time taken on each main action

- Using nosync if available to speed up disk operations

Change-Id: I2cc47c8a4d497fcf3039dc6575c152b6a507c0d2
Signed-off-by: David Caro <dcaroest at redhat.com>
---
M mock_configs/epel-6-x86_64.cfg
M mock_configs/mock_runner.sh
M mock_configs/site-defaults.cfg
3 files changed, 645 insertions(+), 178 deletions(-)

Approvals:
  David Caro: Verified; Looks good to me; Passed CI tests; Ready for merge



-- 
To view, visit https://gerrit.ovirt.org/42667
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I2cc47c8a4d497fcf3039dc6575c152b6a507c0d2
Gerrit-PatchSet: 14
Gerrit-Project: jenkins
Gerrit-Branch: master
Gerrit-Owner: David Caro <dcaroest at redhat.com>
Gerrit-Reviewer: Barak Korren <bkorren at redhat.com>
Gerrit-Reviewer: David Caro <dcaroest at redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck at redhat.com>
Gerrit-Reviewer: Eyal Edri <eedri at redhat.com>
Gerrit-Reviewer: Max Kovgan <mvk at redhat.com>
Gerrit-Reviewer: Paz Dangur <pdangur at redhat.com>
Gerrit-Reviewer: Sagi Shnaidman <sshnaidm at redhat.com>
Gerrit-Reviewer: Sharon Naftaly <snaftaly at redhat.com>



More information about the Engine-commits mailing list