copr: builders: remove yum on F30+
This commit is contained in:
parent
91825fa419
commit
1fd3dc0ca5
1 changed files with 15 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
||||||
- name: put infra stg repos into yum.repos.d if staging
|
- name: put infra stg repos into yum.repos.d if staging
|
||||||
copy: src=files/dnf/infra-tags-stg.repo dest=/etc/yum.repos.d
|
copy: src=files/dnf/infra-tags-stg.repo dest=/etc/yum.repos.d
|
||||||
when:
|
when:
|
||||||
- network_name == "coprdev-net"
|
- devel
|
||||||
- not prepare_base_image
|
- not prepare_base_image
|
||||||
|
|
||||||
- name: disable updates-testing
|
- name: disable updates-testing
|
||||||
|
@ -36,6 +36,7 @@
|
||||||
- scl-utils-build
|
- scl-utils-build
|
||||||
- ethtool
|
- ethtool
|
||||||
- expect
|
- expect
|
||||||
|
when: not devel
|
||||||
|
|
||||||
- name: enable copr and copr-dev repos in staging
|
- name: enable copr and copr-dev repos in staging
|
||||||
command: dnf copr -y enable {{ item }}
|
command: dnf copr -y enable {{ item }}
|
||||||
|
@ -43,7 +44,7 @@
|
||||||
- "@copr/copr"
|
- "@copr/copr"
|
||||||
- "@copr/copr-dev"
|
- "@copr/copr-dev"
|
||||||
when:
|
when:
|
||||||
- network_name == "coprdev-net"
|
- devel
|
||||||
- not prepare_base_image
|
- not prepare_base_image
|
||||||
|
|
||||||
- name: clean dnf cache
|
- name: clean dnf cache
|
||||||
|
@ -63,6 +64,18 @@
|
||||||
- nosync
|
- nosync
|
||||||
- distribution-gpg-keys
|
- distribution-gpg-keys
|
||||||
- python-srpm-macros
|
- python-srpm-macros
|
||||||
|
when: not devel
|
||||||
|
|
||||||
|
- name: remove yum on F30+
|
||||||
|
dnf: state=absent pkg=yum
|
||||||
|
when: devel
|
||||||
|
|
||||||
|
- name: install copr-builder
|
||||||
|
dnf: state=latest pkg=copr-builder
|
||||||
|
when: devel
|
||||||
|
|
||||||
|
- name: run /bin/copr-update-builder from copr-builder package
|
||||||
|
shell: /usr/bin/copr-update-builder
|
||||||
|
|
||||||
- name: put updated mock configs into /etc/mock
|
- name: put updated mock configs into /etc/mock
|
||||||
copy: src=files/mock/ dest=/etc/mock
|
copy: src=files/mock/ dest=/etc/mock
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue