summaryrefslogtreecommitdiffstats
path: root/hosts/jenkins/etc/mock/fedora-23-x86_64.cfg
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-12 19:23:24 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-12 19:24:38 +0100
commit2faeeb2ded41e56691abb0313f2447358e49355a (patch)
tree218cb8a9059f08cd821bd01879c79d3fec710109 /hosts/jenkins/etc/mock/fedora-23-x86_64.cfg
parenta09b074e787108a5b7624c1ab219d2127095d856 (diff)
downloadjenkins.debian.net-2faeeb2ded41e56691abb0313f2447358e49355a.tar.xz
reproducible fedora rpms: configure mock and yum on jenkins the same as on pb-build3
Diffstat (limited to 'hosts/jenkins/etc/mock/fedora-23-x86_64.cfg')
-rw-r--r--hosts/jenkins/etc/mock/fedora-23-x86_64.cfg70
1 files changed, 70 insertions, 0 deletions
diff --git a/hosts/jenkins/etc/mock/fedora-23-x86_64.cfg b/hosts/jenkins/etc/mock/fedora-23-x86_64.cfg
new file mode 100644
index 00000000..aa78fa58
--- /dev/null
+++ b/hosts/jenkins/etc/mock/fedora-23-x86_64.cfg
@@ -0,0 +1,70 @@
+config_opts['root'] = 'fedora-23-x86_64'
+config_opts['target_arch'] = 'x86_64'
+config_opts['legal_host_arches'] = ('x86_64',)
+config_opts['chroot_setup_cmd'] = 'install @buildsys-build'
+config_opts['dist'] = 'fc23' # only useful for --resultdir variable subst
+config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
+config_opts['releasever'] = '23'
+
+config_opts['yum.conf'] = """
+[main]
+keepcache=1
+debuglevel=2
+reposdir=/dev/null
+logfile=/var/log/yum.log
+retries=20
+obsoletes=1
+gpgcheck=0
+assumeyes=1
+syslog_ident=mock
+syslog_device=
+install_weak_deps=0
+metadata_expire=0
+
+# repos
+
+[fedora]
+name=fedora
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
+failovermethod=priority
+#gpgkey=file:///etc/pki/mock/RPM-GPG-KEY-fedora-23-primary
+#gpgcheck=1
+
+[updates]
+name=updates
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch
+failovermethod=priority
+#gpgkey=file:///etc/pki/mock/RPM-GPG-KEY-fedora-23-primary
+#gpgcheck=1
+
+[updates-testing]
+name=updates-testing
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f$releasever&arch=$basearch
+failovermethod=priority
+enabled=0
+
+[fedora-debuginfo]
+name=fedora-debuginfo
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-debug-23&arch=$basearch
+failovermethod=priority
+enabled=0
+
+[updates-debuginfo]
+name=updates-debuginfo
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-debug-f$releasever&arch=$basearch
+failovermethod=priority
+enabled=0
+
+[updates-testing-debuginfo]
+name=updates-testing-debuginfo
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-debug-f$releasever&arch=$basearch
+failovermethod=priority
+enabled=0
+
+[reproducible-builds]
+name=reproducible-builds
+# dhiru's repository, see https://github.com/kholia/ReproducibleBuilds
+# this is the same person: dhiru = kholia = halfie
+baseurl=https://fedorapeople.org/~halfie/repository/
+enabled=1
+"""