summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Raiskup <praiskup@redhat.com>2019-11-28 10:53:43 +0100
committerPavel Raiskup <praiskup@redhat.com>2019-11-29 07:48:40 +0100
commit6fa5f05650050a7b3e4eebf68edea24255d37f4c (patch)
treeeea3379f9479dbd526b097bf1140a24af0b2c0b9
parentb4d98c93df796013d83053b3c35b13b0cd23776e (diff)
downloadansible-6fa5f05650050a7b3e4eebf68edea24255d37f4c.zip
ansible-6fa5f05650050a7b3e4eebf68edea24255d37f4c.tar.gz
ansible-6fa5f05650050a7b3e4eebf68edea24255d37f4c.tar.xz
copr: builders: best=False for centos-stream
https://bugzilla.redhat.com/show_bug.cgi?id=1758467
-rw-r--r--roles/copr/backend/files/provision/files/mock/centos-stream-aarch64.cfg12
-rw-r--r--roles/copr/backend/files/provision/files/mock/centos-stream-ppc64le.cfg12
-rw-r--r--roles/copr/backend/files/provision/files/mock/centos-stream-x86_64.cfg12
3 files changed, 36 insertions, 0 deletions
diff --git a/roles/copr/backend/files/provision/files/mock/centos-stream-aarch64.cfg b/roles/copr/backend/files/provision/files/mock/centos-stream-aarch64.cfg
new file mode 100644
index 0000000..5e72996
--- /dev/null
+++ b/roles/copr/backend/files/provision/files/mock/centos-stream-aarch64.cfg
@@ -0,0 +1,12 @@
+include('templates/centos-stream.tpl')
+
+config_opts['root'] = 'centos-stream-aarch64'
+config_opts['target_arch'] = 'aarch64'
+config_opts['legal_host_arches'] = ('aarch64',)
+
+# Unfortunately, we need to temporarily set this
+# See: RHBZ 1756681 and RHBZ 1758467
+config_opts['yum.conf'] += """
+[main]
+best=False
+"""
diff --git a/roles/copr/backend/files/provision/files/mock/centos-stream-ppc64le.cfg b/roles/copr/backend/files/provision/files/mock/centos-stream-ppc64le.cfg
new file mode 100644
index 0000000..0a93821
--- /dev/null
+++ b/roles/copr/backend/files/provision/files/mock/centos-stream-ppc64le.cfg
@@ -0,0 +1,12 @@
+include('templates/centos-stream.tpl')
+
+config_opts['root'] = 'centos-stream-ppc64le'
+config_opts['target_arch'] = 'ppc64le'
+config_opts['legal_host_arches'] = ('ppc64le',)
+
+# Unfortunately, we need to temporarily set this
+# See: RHBZ 1756681 and RHBZ 1758467
+config_opts['yum.conf'] += """
+[main]
+best=False
+"""
diff --git a/roles/copr/backend/files/provision/files/mock/centos-stream-x86_64.cfg b/roles/copr/backend/files/provision/files/mock/centos-stream-x86_64.cfg
new file mode 100644
index 0000000..4264419
--- /dev/null
+++ b/roles/copr/backend/files/provision/files/mock/centos-stream-x86_64.cfg
@@ -0,0 +1,12 @@
+include('templates/centos-stream.tpl')
+
+config_opts['root'] = 'centos-stream-x86_64'
+config_opts['target_arch'] = 'x86_64'
+config_opts['legal_host_arches'] = ('x86_64',)
+
+# Unfortunately, we need to temporarily set this
+# See: RHBZ 1756681 and RHBZ 1758467
+config_opts['yum.conf'] += """
+[main]
+best=False
+"""