copr-be-dev: try building epel-8 against rhel+epel, take #3
We need to override the files by symlink after running the copr-update-builder script.
This commit is contained in:
parent
2c61c0ded2
commit
2ee71ff213
1 changed files with 14 additions and 14 deletions
|
@ -96,20 +96,6 @@
|
|||
when:
|
||||
- prepare_base_image is not defined
|
||||
|
||||
- name: "Link Mock EPEL 8 configs to rhel+epel-8"
|
||||
file:
|
||||
src: "/etc/mock/rhel+epel-8-{{ item }}.cfg"
|
||||
force: true
|
||||
path: "/etc/mock/epel-8-{{ item }}.cfg"
|
||||
state: link
|
||||
loop:
|
||||
- x86_64
|
||||
- aarch64
|
||||
- ppc64le
|
||||
tags:
|
||||
- provision_config
|
||||
when: devel|bool
|
||||
|
||||
- name: don't remove rpmnew files, but always use them
|
||||
lineinfile: state=absent regexp='^find /etc/mock.*-delete'
|
||||
path=/usr/bin/copr-update-builder
|
||||
|
@ -129,6 +115,20 @@
|
|||
# shell: /usr/bin/copr-update-builder
|
||||
# when: mock_updated.changed
|
||||
|
||||
- name: "Link Mock EPEL 8 configs to rhel+epel-8"
|
||||
file:
|
||||
src: "/etc/mock/rhel+epel-8-{{ item }}.cfg"
|
||||
force: true
|
||||
path: "/etc/mock/epel-8-{{ item }}.cfg"
|
||||
state: link
|
||||
loop:
|
||||
- x86_64
|
||||
- aarch64
|
||||
- ppc64le
|
||||
tags:
|
||||
- provision_config
|
||||
when: devel|bool
|
||||
|
||||
- name: put copr-rpmbuild configuration file in the right place
|
||||
copy: src=files/main.ini dest=/etc/copr-rpmbuild/main.ini
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue