Skip to content

Commit 3d07604

Browse files
committed
Add Mock configuration
For using in RDO Package Reviews with fedora-review --mock-config needs to be copied to /etc/mock/
1 parent c9e33d4 commit 3d07604

File tree

2 files changed

+59
-1
lines changed

2 files changed

+59
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ <h3>Lastest Build Reports</h3>
7070
<a href="https://trunk.rdoproject.org/f25/report.html">Fedora rawhide master</a>
7171
</li>
7272
<li>
73-
<a href="https://trunk.rdoproject.org/centos7-master/report.html">CentOS 7 master (using current tagged releases)</a> <a href="#footnote1">[*]</a>
73+
<a href="https://trunk.rdoproject.org/centos7-master/report.html">CentOS 7 master (using current tagged releases)</a> <a href="#footnote1">[*]</a> <a href="rdo-trunk-pike-centos7-x86_64.cfg">Mock configuration for fedora-review</a>
7474
</li>
7575
<li>
7676
<a href="https://trunk.rdoproject.org/centos7-master-head/report.html">CentOS 7 master</a>

rdo-trunk-pike-centos7-x86_64.cfg

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
config_opts['root'] = 'rdo-trunk-pike-centos7-x86_64'
2+
config_opts['target_arch'] = 'x86_64'
3+
config_opts['legal_host_arches'] = ('x86_64',)
4+
config_opts['chroot_setup_cmd'] = 'install basesystem rpm-build python2-devel gcc make python-sqlalchemy python-webob ghostscript graphviz python-sphinx python-eventlet python-six python-pbr python3-pbr openstack-macros git g++'
5+
config_opts['dist'] = 'el7' # only useful for --resultdir variable subst
6+
config_opts['releasever'] = '7'
7+
config_opts['plugin_conf']['ccache_enable'] = False
8+
9+
config_opts['yum.conf'] = """
10+
[main]
11+
keepcache=1
12+
debuglevel=2
13+
reposdir=/dev/null
14+
logfile=/var/log/yum.log
15+
retries=20
16+
obsoletes=1
17+
gpgcheck=0
18+
assumeyes=1
19+
syslog_ident=mock
20+
syslog_device=
21+
22+
# repos
23+
24+
[base]
25+
name=BaseOS
26+
mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os
27+
failovermethod=priority
28+
gpgkey=file:///etc/pki/mock/RPM-GPG-KEY-CentOS-7
29+
gpgcheck=1
30+
31+
[updates]
32+
name=updates
33+
enabled=1
34+
mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=updates
35+
failovermethod=priority
36+
gpgkey=file:///etc/pki/mock/RPM-GPG-KEY-CentOS-7
37+
gpgcheck=1
38+
39+
[extras]
40+
name=extras
41+
mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras
42+
failovermethod=priority
43+
gpgkey=file:///etc/pki/mock/RPM-GPG-KEY-EPEL-7
44+
gpgcheck=1
45+
46+
[rdo-pike-testing]
47+
name=RDO Pike testing
48+
baseurl=http://buildlogs.centos.org/centos/7/cloud/$basearch/openstack-pike/
49+
enabled=1
50+
gpgcheck=0
51+
52+
[rdo-trunk-pike]
53+
name=RDO Trunk Pike
54+
baseurl=http://trunk.rdoproject.org/centos7-pike/current
55+
enabled=1
56+
gpgcheck=0
57+
priority=1
58+
"""

0 commit comments

Comments
 (0)