copr-be: don't attempt to install mock from koji

We don't need it ATM, and currently it often fails for some reason
(perhaps related to Fedora outages):

TASK [install the latest mock and mock-core-configs from updates-testing] ******
Friday 19 June 2020  05:54:19 +0000 (0:01:07.155)       0:07:47.913 ***********
fatal: [52.90.206.190]: FAILED! => {"changed": false, "msg": "Failure
downloading
https://kojipkgs.fedoraproject.org/packages/mock/2.2/1.fc31/noarch/mock-2.2-1.fc31.noarch.rpm,
Connection failure: The read operation timed out", "results": []}
This commit is contained in:
Pavel Raiskup 2020-06-19 08:42:06 +02:00
parent 5ff7d1ef1c
commit daae61472c

View file

@ -75,13 +75,13 @@
- name: run /bin/copr-update-builder from copr-builder package
shell: /usr/bin/copr-update-builder
- name: install the latest mock and mock-core-configs from updates-testing
package: state=latest name={{ packages }}
register: mock_updated
vars:
packages:
- https://kojipkgs.fedoraproject.org/packages/mock/2.2/1.fc31/noarch/mock-2.2-1.fc31.noarch.rpm
- https://kojipkgs.fedoraproject.org/packages/mock-core-configs/32.6/1.fc31/noarch/mock-core-configs-32.6-1.fc31.noarch.rpm
#- name: install the latest mock and mock-core-configs from updates-testing
# package: state=latest name={{ packages }}
# register: mock_updated
# vars:
# packages:
# - https://kojipkgs.fedoraproject.org/packages/mock/2.2/1.fc31/noarch/mock-2.2-1.fc31.noarch.rpm
# - https://kojipkgs.fedoraproject.org/packages/mock-core-configs/32.6/1.fc31/noarch/mock-core-configs-32.6-1.fc31.noarch.rpm
- name: re-run copr-update builder when mock/mock-core-configs are updated
shell: /usr/bin/copr-update-builder