copr: backend: don't bake specialized mock config into image

This commit is contained in:
Pavel Raiskup
2020-01-09 14:45:14 +01:00
committed by Pierre-Yves Chibon
parent 6483485c8a
commit 938b809d75

View File

@@ -61,6 +61,10 @@
- name: put updated mock configs into /etc/mock
copy: src=files/mock/ dest=/etc/mock
# conditional, per https://pagure.io/copr/copr/issue/1189 - as we don't want
# to bake broken mock configuration into the image.
when:
- prepare_base_image is not defined
- name: put copr-rpmbuild configuration file in the right place
copy: src=files/main.ini dest=/etc/copr-rpmbuild/main.ini