[stable-2.18] Use f40 official repo for libdnf5 (#85374)

pull/85429/head
Martin Krizek 5 months ago committed by GitHub
parent 21a07d1428
commit b860077eff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -892,8 +892,6 @@
that: that:
- enable_plugin_result is failed - enable_plugin_result is failed
- disable_plugin_result is failed - disable_plugin_result is failed
- '"No matches were found for the following plugin name patterns while enabling libdnf5 plugins: " in enable_plugin_result.msg' - enable_plugin_result.msg is contains("'enable_plugin' requires python3-libdnf5 5.2.0.0+")
- '"No matches were found for the following plugin name patterns while disabling libdnf5 plugins: " in disable_plugin_result.msg' - disable_plugin_result.msg is contains("'disable_plugin' requires python3-libdnf5 5.2.0.0+")
- '"nonexisting" in enable_plugin_result.msg'
- '"nonexisting" in disable_plugin_result.msg'
when: dnf5|default(false) when: dnf5|default(false)

@ -651,7 +651,7 @@
- assert: - assert:
that: that:
- r is failed - r is failed
- r.msg is contains("Couldn't open file") - r.msg is contains("Couldn't open file") or r.msg is contains("Failed to download metadata")
always: always:
- file: - file:
name: /etc/yum.repos.d/{{ repo_name }}.repo name: /etc/yum.repos.d/{{ repo_name }}.repo

@ -1,9 +1,7 @@
- hosts: localhost - hosts: localhost
tasks: tasks:
- block: - block:
- command: "dnf install -y 'dnf-command(copr)'" - command: dnf install -y python3-libdnf5
- command: dnf copr enable -y rpmsoftwaremanagement/dnf-nightly
- command: dnf install -y -x condor python3-libdnf5
- include_role: - include_role:
name: dnf name: dnf

Loading…
Cancel
Save