copr-be-dev: try building epel-8 against rhel+epel, take #2

This commit is contained in:
Pavel Raiskup 2022-01-06 10:26:40 +01:00
parent 2e1b71bf1d
commit 2c61c0ded2
2 changed files with 14 additions and 14 deletions

View file

@ -96,6 +96,20 @@
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

View file

@ -14,20 +14,6 @@
tags:
- provision_config
- 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: resalloc, generate vars.yml file
template:
src: "{{ roles_path }}/copr/backend/templates/provision/{{ item }}"