Compare commits
92 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
99b9eaafbd | ||
|
|
0d8611fc1b |
||
|
|
b1149c15f6 | ||
|
|
bbb03c2bb1 | ||
|
|
38bca2f841 |
||
|
|
8919faacd5 | ||
|
|
d1ce53157f | ||
|
|
24d3ca7b59 | ||
|
|
46821bd2bf |
||
|
|
f0b7fba103 |
||
|
|
2140cacf0d |
||
|
|
097797b333 | ||
|
|
4393c9cc08 | ||
|
|
e07cd22941 |
||
|
|
4f3593d370 | ||
|
|
1541de5363 | ||
|
|
67ee763e31 | ||
|
|
4d318e99cc | ||
|
|
68783103c4 | ||
|
|
fe2a4316f3 |
||
|
|
0071dba023 |
||
|
|
2395935814 |
||
|
|
a9a09d3ee1 |
||
|
|
254e2fdd7f |
||
|
|
6d9802f8cc |
||
|
|
3f1424111d |
||
|
|
a5c5662309 | ||
|
|
a19f61d2fd | ||
|
|
8fca20130c |
||
|
|
b090e5c67a | ||
|
|
e47bff80f7 |
||
|
|
7f2cec40bf | ||
|
|
fcd2a59670 |
||
|
|
21e6d2cf86 |
||
|
|
b7689b3984 |
||
|
|
3d878943c9 |
||
|
|
b2387b93d1 |
||
|
|
507d69e36e |
||
|
|
346abe7064 | ||
|
|
f96881eb51 | ||
|
|
6e04299ce9 |
||
|
|
4050056a1b |
||
|
|
84bbf6cc64 |
||
|
|
2398cc2533 |
||
|
|
1460e52f18 |
||
|
|
b05ac2e918 |
||
|
|
f5cdc27aaf |
||
|
|
2c2807aa78 | ||
|
|
5d3f9a536c |
||
|
|
27968f0c93 |
||
|
|
37644b67ea | ||
|
|
b5d5e2a14b |
||
|
|
8d01926207 |
||
|
|
66164773e0 |
||
|
|
3d8a45c735 |
||
|
|
1a184e1acd |
||
|
|
8191e26adf | ||
|
|
b34a65757b |
||
|
|
937593320f |
||
|
|
dd52b653b0 |
||
|
|
805bd2623b |
||
|
|
225f390fd1 |
||
|
|
c173850eb6 |
||
|
|
b7db1fa79b |
||
|
|
da750bb373 |
||
|
|
c57e67a0f9 |
||
|
|
71c43a9b1c |
||
|
|
57dc38673b |
||
|
|
0b7387327a |
||
|
|
b700681263 |
||
|
|
bb45d530b8 | ||
|
|
20c4dcb8cc |
||
|
|
674ca3d40e |
||
|
|
8f2b3503f1 |
||
|
|
47238f9977 |
||
|
|
006891ac8b |
||
|
|
1f76584a4d |
||
|
|
7076cf3fdd |
||
|
|
701757693a | ||
|
|
f8ac3d7efa |
||
|
|
68d6015afa |
||
|
|
6d202647fa |
||
|
|
b0e1e0631f |
||
|
|
27e02a89ac |
||
|
|
00d05415a8 |
||
|
|
37924c8f63 |
||
|
|
491e0b3137 |
||
|
|
03cf1aca62 |
||
|
|
c98092b221 |
||
|
|
3394859eb9 |
||
|
|
953def6952 |
||
|
|
754b581240 |
13 changed files with 503 additions and 83 deletions
1
.fmf/version
Normal file
1
.fmf/version
Normal file
|
|
@ -0,0 +1 @@
|
|||
1
|
||||
61
.gitignore
vendored
61
.gitignore
vendored
|
|
@ -26,3 +26,64 @@
|
|||
/ansible-core-2.14.2.tar.gz
|
||||
/ansible-core-2.14.3.tar.gz
|
||||
/ansible-core-2.14.4.tar.gz
|
||||
/ansible-core-2.15.0b3.tar.gz
|
||||
/ansible-core-2.15.0rc1.tar.gz
|
||||
/ansible-core-2.15.0rc2.tar.gz
|
||||
/ansible-core-2.15.0.tar.gz
|
||||
/ansible-core-2.15.1.tar.gz
|
||||
/ansible-core-2.15.2.tar.gz
|
||||
/ansible-documentation-2.15.2.tar.gz
|
||||
/ansible-core-2.15.3.tar.gz
|
||||
/ansible-documentation-2.15.3.tar.gz
|
||||
/ansible-core-2.15.4.tar.gz
|
||||
/ansible-documentation-2.15.4.tar.gz
|
||||
/ansible-core-2.16.0b1.tar.gz
|
||||
/ansible-documentation-2.16.0b1.tar.gz
|
||||
/ansible-core-2.16.0b2.tar.gz
|
||||
/ansible-documentation-2.16.0b2.tar.gz
|
||||
/ansible-core-2.16.0rc1.tar.gz
|
||||
/ansible-documentation-2.16.0rc1.tar.gz
|
||||
/ansible-core-2.16.0.tar.gz
|
||||
/ansible-documentation-2.16.0.tar.gz
|
||||
/ansible-core-2.16.1.tar.gz
|
||||
/ansible-documentation-2.16.1.tar.gz
|
||||
/ansible-core-2.16.2.tar.gz
|
||||
/ansible-documentation-2.16.2.tar.gz
|
||||
/ansible-core-2.16.3.tar.gz
|
||||
/ansible-documentation-2.16.3.tar.gz
|
||||
/ansible-core-2.16.4.tar.gz
|
||||
/ansible-documentation-2.16.4.tar.gz
|
||||
/ansible-core-2.16.5.tar.gz
|
||||
/ansible-documentation-2.16.5.tar.gz
|
||||
/ansible-core-2.16.6.tar.gz
|
||||
/ansible-documentation-2.16.6.tar.gz
|
||||
/ansible-core-2.16.7.tar.gz
|
||||
/ansible-documentation-2.16.7.tar.gz
|
||||
/ansible-core-2.16.8.tar.gz
|
||||
/ansible-documentation-2.16.8.tar.gz
|
||||
/ansible-core-2.16.9.tar.gz
|
||||
/ansible-documentation-2.16.9.tar.gz
|
||||
/ansible-core-2.16.10.tar.gz
|
||||
/ansible-documentation-2.16.10.tar.gz
|
||||
/ansible-core-2.16.11.tar.gz
|
||||
/ansible-documentation-2.16.11.tar.gz
|
||||
/ansible-core-2.16.12.tar.gz
|
||||
/ansible-documentation-2.16.12.tar.gz
|
||||
/ansible-core-2.18.0.tar.gz
|
||||
/ansible-documentation-2.18.0.tar.gz
|
||||
/ansible-core-2.18.1.tar.gz
|
||||
/ansible-documentation-2.18.1.tar.gz
|
||||
/ansible-core-2.18.3.tar.gz
|
||||
/ansible-documentation-2.18.3.tar.gz
|
||||
/ansible-core-2.18.4.tar.gz
|
||||
/ansible-documentation-2.18.4.tar.gz
|
||||
/ansible-core-2.18.6.tar.gz
|
||||
/ansible-documentation-2.18.6.tar.gz
|
||||
/ansible-core-2.18.7.tar.gz
|
||||
/ansible-documentation-2.18.7.tar.gz
|
||||
/ansible-core-2.18.9.tar.gz
|
||||
/ansible-documentation-2.18.9.tar.gz
|
||||
/ansible-core-2.18.11.tar.gz
|
||||
/ansible-documentation-2.18.11.tar.gz
|
||||
/ansible-core-2.20.1.tar.gz
|
||||
/ansible-documentation-2.20.1.tar.gz
|
||||
|
|
|
|||
30
.packit.yaml
Normal file
30
.packit.yaml
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# See the documentation for more information:
|
||||
# https://packit.dev/docs/configuration/
|
||||
|
||||
upstream_project_url: https://github.com/ansible/ansible
|
||||
upstream_tag_template: v{version}
|
||||
issue_repository: https://pagure.io/ansible-packit-issues
|
||||
create_sync_note: false
|
||||
# TODO: Remove pending https://fedoraproject.org/wiki/Changes/Ansible13
|
||||
upstream_tag_include: "v2.18"
|
||||
jobs:
|
||||
- job: pull_from_upstream
|
||||
trigger: release
|
||||
dist_git_branches:
|
||||
# Fast forward merge rawhide while it is held at v2.18.
|
||||
rawhide:
|
||||
fast_forward_merge_into:
|
||||
- fedora-43
|
||||
- fedora-42
|
||||
- job: koji_build
|
||||
trigger: commit
|
||||
dist_git_branches:
|
||||
- fedora-all
|
||||
sidetag_group: "ansible"
|
||||
dependents:
|
||||
- ansible
|
||||
# The update for the sidetag group is created in the ansible package.
|
||||
# - job: bodhi_update
|
||||
# trigger: commit
|
||||
# dist_git_branches:
|
||||
# - rawhide
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
diff --color -Nur ansible-base-2.10.3.orig/test/units/modules/test_async_wrapper.py ansible-base-2.10.3/test/units/modules/test_async_wrapper.py
|
||||
--- ansible-base-2.10.3.orig/test/units/modules/test_async_wrapper.py 2020-11-02 14:26:08.000000000 -0800
|
||||
+++ ansible-base-2.10.3/test/units/modules/test_async_wrapper.py 2020-11-03 13:07:42.556005427 -0800
|
||||
@@ -22,11 +22,11 @@
|
||||
def test_run_module(self, monkeypatch):
|
||||
|
||||
def mock_get_interpreter(module_path):
|
||||
- return ['/usr/bin/python']
|
||||
+ return ['/usr/bin/python3']
|
||||
|
||||
module_result = {'rc': 0}
|
||||
module_lines = [
|
||||
- '#!/usr/bin/python',
|
||||
+ '#!/usr/bin/python3',
|
||||
'import sys',
|
||||
'sys.stderr.write("stderr stuff")',
|
||||
"print('%s')" % json.dumps(module_result)
|
||||
1
ansible-core.rpmlintrc
Normal file
1
ansible-core.rpmlintrc
Normal file
|
|
@ -0,0 +1 @@
|
|||
addFilter("E: zero-length")
|
||||
|
|
@ -1,73 +1,74 @@
|
|||
%bcond_without tests
|
||||
# SPDX-License-Identifier: MIT
|
||||
# Copyright (C) Fedora Project Authors
|
||||
# License Text: https://spdx.org/licenses/MIT.html
|
||||
|
||||
# several test dependencies are unwanted in RHEL
|
||||
%bcond tests %{undefined rhel}
|
||||
|
||||
# controls whether to generate shell completions
|
||||
# may be useful for bootstrapping purposes
|
||||
%bcond argcomplete 1
|
||||
|
||||
# disable the python -s shbang flag as we want to be able to find non system modules
|
||||
%undefine _py3_shebang_s
|
||||
|
||||
Name: ansible-core
|
||||
Summary: A radically simple IT automation system
|
||||
Version: 2.14.4
|
||||
Name: ansible-core
|
||||
Version: 2.20.1
|
||||
%global uversion %{version_no_tilde %{quote:%nil}}
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: A radically simple IT automation system
|
||||
|
||||
# The main license is GPLv3+. Many of the files in lib/ansible/module_utils
|
||||
# are BSD licensed. There are various files scattered throughout the codebase
|
||||
# containing code under different licenses.
|
||||
License: GPL-3.0-or-later AND BSD-2-Clause AND PSF-2.0 AND MIT AND Apache-2.0
|
||||
Source: https://github.com/ansible/ansible/archive/v%{uversion}/%{name}-%{uversion}.tar.gz
|
||||
Url: https://ansible.com
|
||||
BuildArch: noarch
|
||||
# The ssh-agent helper code is BSD-3-Clause.
|
||||
License: GPL-3.0-or-later AND BSD-2-Clause AND BSD-3-Clause AND PSF-2.0 AND MIT AND Apache-2.0
|
||||
URL: https://ansible.com
|
||||
|
||||
Source0: https://github.com/ansible/ansible/archive/v%{uversion}/%{name}-%{uversion}.tar.gz
|
||||
Source1: https://github.com/ansible/ansible-documentation/archive/v%{uversion}/ansible-documentation-%{uversion}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
# Virtual provides for bundled libraries
|
||||
# Search for `_BUNDLED_METADATA` to find them
|
||||
|
||||
# lib/ansible/module_utils/urls.py
|
||||
# SPDX-License-Identifier: BSD-2-Clause AND PSF-2.0
|
||||
Provides: bundled(python3dist(backports-ssl-match-hostname)) = 3.7.0.1
|
||||
|
||||
# lib/ansible/module_utils/distro/*
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
Provides: bundled(python3dist(distro)) = 1.6.0
|
||||
Provides: bundled(python3dist(distro)) = 1.9.0
|
||||
|
||||
# lib/ansible/module_utils/six/*
|
||||
# SPDX-License-Identifier: MIT
|
||||
Provides: bundled(python3dist(six)) = 1.16.0
|
||||
Provides: bundled(python3dist(six)) = 1.17.0
|
||||
|
||||
# lib/ansible/module_utils/compat/selectors.py
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
Provides: bundled(python3dist(selectors2)) = 1.1.1
|
||||
# lib/ansible/_internal/_wrapt.py
|
||||
# SPDX-License-Identifier: BSD-2-Clause
|
||||
Provides: bundled(python3dist(wrapt)) = 1.17.2
|
||||
|
||||
# lib/ansible/module_utils/compat/ipaddress.py
|
||||
# SPDX-License-Identifier: PSF-2.0
|
||||
Provides: bundled(python3dist(ipaddress)) = 1.0.22
|
||||
|
||||
Conflicts: ansible <= 2.9.99
|
||||
#
|
||||
# obsoletes/provides for ansible-base
|
||||
#
|
||||
Provides: ansible-base = %{version}-%{release}
|
||||
Obsoletes: ansible-base < 2.10.6-1
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
BuildRequires: make
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
# This is only used in %%prep to relax the required setuptools version,
|
||||
# which is not necessary in RHEL 10+.
|
||||
# Not using it in RHEL avoids unwanted dependencies.
|
||||
%if %{undefined rhel}
|
||||
BuildRequires: tomcli >= 0.3.0
|
||||
%endif
|
||||
# Needed to build manpages from source.
|
||||
BuildRequires: python%{python3_pkgversion}-straight-plugin
|
||||
BuildRequires: python%{python3_pkgversion}-docutils
|
||||
# Shell completions
|
||||
BuildRequires: python%{python3_pkgversion}-argcomplete
|
||||
BuildRequires: python%{python3_pkgversion}-docutils
|
||||
|
||||
%if %{with tests}
|
||||
BuildRequires: git-core
|
||||
BuildRequires: glibc-all-langpacks
|
||||
BuildRequires: python%{python3_pkgversion}-systemd
|
||||
# test/units/modules/test_async_wrapper.py needs this.
|
||||
# Instead of patching the tests to use /usr/bin/python3,
|
||||
# just give it what it wants.
|
||||
BuildRequires: /usr/bin/python
|
||||
BuildRequires: git-core
|
||||
BuildRequires: glibc-all-langpacks
|
||||
BuildRequires: python%{python3_pkgversion}-systemd
|
||||
%endif
|
||||
|
||||
Requires: python%{python3_pkgversion}-argcomplete
|
||||
# Require packaging macros if rpm-build exists
|
||||
# This makes the transition seamless for other packages
|
||||
# This is DEPRECATED. Packages must explicitly BuildRequire ansible-packaging.
|
||||
Requires: (ansible-packaging if rpm-build)
|
||||
%if %{with argcomplete}
|
||||
Requires: python%{python3_pkgversion}-argcomplete
|
||||
%endif
|
||||
%if 0%{?fedora} >= 39
|
||||
BuildRequires: python3-libdnf5
|
||||
Recommends: python3-libdnf5
|
||||
%endif
|
||||
|
||||
|
||||
%global _description %{expand:
|
||||
|
|
@ -82,9 +83,9 @@ are transferred to managed machines automatically.}
|
|||
This is the base part of ansible (the engine).
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for Ansible Core
|
||||
Provides: ansible-base-doc = %{version}-%{release}
|
||||
Obsoletes: ansible-base-doc < 2.10.6-1
|
||||
Summary: Documentation for Ansible Core
|
||||
Provides: ansible-base-doc = %{version}-%{release}
|
||||
Obsoletes: ansible-base-doc < 2.10.6-1
|
||||
|
||||
%description doc %_description
|
||||
|
||||
|
|
@ -92,10 +93,14 @@ This package installs extensive documentation for ansible-core
|
|||
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n ansible-%{uversion}
|
||||
find \( -name '.git_keep' -o -name '.rstcheck.cfg' \) -delete
|
||||
%autosetup -p1 -n ansible-%{uversion} -a1
|
||||
# Relax setuptools constraint on Fedora
|
||||
# Future RHELs have new enough setuptools
|
||||
%if %{undefined rhel}
|
||||
tomcli-set pyproject.toml lists replace \
|
||||
'build-system.requires' 'setuptools >=.*' 'setuptools'
|
||||
%endif
|
||||
|
||||
# ansible-test is executed directly by the Makefile, so we need to fix the shebang.
|
||||
sed -i -s 's|/usr/bin/env python|%{python3}|' \
|
||||
bin/ansible-test \
|
||||
test/lib/ansible_test/_util/target/cli/ansible_test_cli_stub.py
|
||||
|
|
@ -110,14 +115,21 @@ sed '/^mock$/d' test/lib/ansible_test/_data/requirements/units.txt > _requiremen
|
|||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires %{?with_tests:_requirements.txt test/units/requirements.txt}
|
||||
%if %{with argcomplete}
|
||||
# Shell completions
|
||||
echo 'python%{python3_pkgversion}-argcomplete'
|
||||
%endif
|
||||
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
# Build manpages
|
||||
make PYTHON=%{python3} docs
|
||||
mkdir -p docs/man/man1
|
||||
%{python3} packaging/cli-doc/build.py man --output-dir docs/man/man1
|
||||
|
||||
|
||||
%if %{with argcomplete}
|
||||
# Build shell completions
|
||||
(
|
||||
cd bin
|
||||
|
|
@ -140,6 +152,7 @@ make PYTHON=%{python3} docs
|
|||
done
|
||||
done
|
||||
)
|
||||
%endif
|
||||
|
||||
|
||||
%install
|
||||
|
|
@ -156,8 +169,10 @@ done < <(find \
|
|||
%{buildroot}%{python3_sitelib}/ansible/cli/scripts/ansible_connection_cli_stub.py \
|
||||
-type f ! -executable)
|
||||
|
||||
%if %{with argcomplete}
|
||||
install -Dpm 0644 bash_completions/* -t %{buildroot}%{bash_completions_dir}
|
||||
install -Dpm 0644 fish_completions/* -t %{buildroot}%{fish_completions_dir}
|
||||
%endif
|
||||
|
||||
# Create system directories that Ansible defines as default locations in
|
||||
# ansible/config/base.yml
|
||||
|
|
@ -197,14 +212,11 @@ done
|
|||
mkdir -p %{buildroot}%{_sysconfdir}/ansible/
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/ansible/roles/
|
||||
|
||||
cp examples/hosts %{buildroot}/etc/ansible/
|
||||
cp examples/ansible.cfg %{buildroot}/etc/ansible/
|
||||
cp ansible-documentation-%{uversion}/examples/hosts %{buildroot}/etc/ansible/
|
||||
cp ansible-documentation-%{uversion}/examples/ansible.cfg %{buildroot}/etc/ansible/
|
||||
mkdir -p %{buildroot}/%{_mandir}/man1
|
||||
cp -v docs/man/man1/*.1 %{buildroot}/%{_mandir}/man1/
|
||||
|
||||
# These files are needed for the unit tests, so we don't remove them in %%prep
|
||||
find %{buildroot}/%{python3_sitelib} -name .travis.yml -type f -delete
|
||||
|
||||
# We install licenses in this manner so we don't miss new licenses:
|
||||
# 1. Copy all files in licenses to %%{_pkglicensedir}.
|
||||
# 2. List the files explicitly in %%files.
|
||||
|
|
@ -215,31 +227,212 @@ install -Dpm 0644 licenses/* -t %{buildroot}%{_pkglicensedir}
|
|||
|
||||
%check
|
||||
%if %{with tests}
|
||||
ln -s /usr/bin/pytest-3 bin/pytest
|
||||
make PYTHON=%{python3} tests-py3
|
||||
%{python3} bin/ansible-test \
|
||||
units --local --python-interpreter %{python3} -vv
|
||||
%endif
|
||||
|
||||
|
||||
%files -f %{pyproject_files}
|
||||
%license COPYING
|
||||
%license %{_pkglicensedir}/{Apache-License,MIT-license,PSF-license,simplified_bsd}.txt
|
||||
%doc README.rst changelogs/CHANGELOG-v2.1?.rst
|
||||
%license %{_pkglicensedir}/{Apache-License,MIT-license,PSF-license,simplified_bsd,BSD-3-Clause}.txt
|
||||
%doc README.md changelogs/CHANGELOG-v2.2?.rst
|
||||
%dir %{_sysconfdir}/ansible/
|
||||
%config(noreplace) %{_sysconfdir}/ansible/*
|
||||
%{_bindir}/ansible*
|
||||
%{_datadir}/ansible/
|
||||
%if %{with argcomplete}
|
||||
%{bash_completions_dir}/ansible*
|
||||
%{fish_completions_dir}/ansible*.fish
|
||||
%endif
|
||||
%{_mandir}/man1/ansible*
|
||||
|
||||
%files doc
|
||||
%doc docs/docsite/rst
|
||||
%doc ansible-documentation-%{uversion}/docs/docsite/rst
|
||||
%if %{with docs}
|
||||
%doc docs/docsite/_build/html
|
||||
%doc ansible-documentation-%{uversion}/docs/docsite/_build/html
|
||||
%endif
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.20.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Tue Dec 09 2025 Maxwell G <maxwell@gtmx.me> - 2.20.1-1
|
||||
- Update to 2.20.1. Fixes rhbz#2382388.
|
||||
- Update bundled() Provides
|
||||
- Remove upstreamed patches
|
||||
- Remove old Provides and Obsoletes for ansible-base and Ansible <= 2.9
|
||||
|
||||
* Mon Nov 17 2025 Packit <hello@packit.dev> - 2.18.11-1
|
||||
- Update to version 2.18.11
|
||||
|
||||
* Sat Sep 27 2025 Maxwell G <maxwell@gtmx.me> - 2.18.9-1
|
||||
- Update to 2.18.9.
|
||||
|
||||
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 2.18.7-4
|
||||
- Rebuilt for Python 3.14.0rc3 bytecode
|
||||
|
||||
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 2.18.7-3
|
||||
- Rebuilt for Python 3.14.0rc2 bytecode
|
||||
|
||||
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.18.7-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Wed Jul 16 2025 Maxwell G <maxwell@gtmx.me> - 2.18.7-1
|
||||
- Update to 2.18.7. Fixes rhbz#2380244.
|
||||
|
||||
* Sat Jun 07 2025 Maxwell G <maxwell@gtmx.me> - 2.18.6-2
|
||||
- Add initial support for Python 3.14 (rhbz#2366307)
|
||||
|
||||
* Sat Jun 07 2025 Maxwell G <maxwell@gtmx.me> - 2.18.6-1
|
||||
- Update to 2.18.6. Fixes rhbz#2354908.
|
||||
|
||||
* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 2.18.4-2
|
||||
- Rebuilt for Python 3.14
|
||||
|
||||
* Tue Mar 25 2025 Packit <hello@packit.dev> - 2.18.4-1
|
||||
- Update to version 2.18.4
|
||||
- Resolves: rhbz#2354908
|
||||
|
||||
* Mon Mar 17 2025 Packit <hello@packit.dev> - 2.18.3-1
|
||||
- Update to version 2.18.3
|
||||
- Resolves: rhbz#2342365
|
||||
|
||||
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.18.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Wed Dec 04 2024 Maxwell G <maxwell@gtmx.me> - 2.18.1-1
|
||||
- Update to 2.18.1. Fixes rhbz#2330005.
|
||||
- dnf5 - backport support for automatically installing python3-libdnf5 (rhbz#2322751).
|
||||
|
||||
* Tue Nov 26 2024 Maxwell G <maxwell@gtmx.me> - 2.18.0-1
|
||||
- Update to 2.18.0. Fixes rhbz#2282011.
|
||||
|
||||
* Fri Oct 11 2024 Maxwell G <maxwell@gtmx.me> - 2.16.12-1
|
||||
- Update to 2.16.12.
|
||||
|
||||
* Tue Sep 10 2024 Maxwell G <maxwell@gtmx.me> - 2.16.11-1
|
||||
- Update to 2.16.11.
|
||||
|
||||
* Tue Aug 13 2024 Maxwell G <maxwell@gtmx.me> - 2.16.10-1
|
||||
- Update to 2.16.10.
|
||||
|
||||
* Fri Jul 19 2024 Maxwell G <maxwell@gtmx.me> - 2.16.9-1
|
||||
- Update to 2.16.9.
|
||||
|
||||
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.16.8-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Sun Jun 23 2024 Maxwell G <maxwell@gtmx.me> - 2.16.8-1
|
||||
- Update to 2.16.8.
|
||||
|
||||
* Sun Jun 09 2024 Python Maint <python-maint@redhat.com> - 2.16.7-2
|
||||
- Rebuilt for Python 3.13
|
||||
|
||||
* Tue Jun 04 2024 Maxwell G <maxwell@gtmx.me> - 2.16.7-1
|
||||
- Update to 2.16.7.
|
||||
|
||||
* Thu May 23 2024 Miro Hrončok <mhroncok@redhat.com> - 2.16.6-2
|
||||
- Fix build with Python 3.13
|
||||
|
||||
* Tue Apr 16 2024 Maxwell G <maxwell@gtmx.me> - 2.16.6-1
|
||||
- Update to 2.16.6. Fixes rhbz#2261507.
|
||||
|
||||
* Fri Mar 29 2024 Maxwell G <maxwell@gtmx.me> - 2.16.5-1
|
||||
- Update to 2.16.5. Fixes rhbz#2261507.
|
||||
|
||||
* Fri Mar 29 2024 Maxwell G <maxwell@gtmx.me> - 2.16.5-1
|
||||
- Update to 2.16.5.
|
||||
|
||||
* Sat Mar 02 2024 Maxwell G <maxwell@gtmx.me> - 2.16.4-1
|
||||
- Update to 2.16.4. Fixes rhbz#2261507.
|
||||
|
||||
* Thu Feb 01 2024 Maxwell G <maxwell@gtmx.me> - 2.16.3-1
|
||||
- Update to 2.16.3. Fixes rhbz#2261507.
|
||||
|
||||
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.16.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.16.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Thu Jan 18 2024 Maxwell G <maxwell@gtmx.me> - 2.16.2-2
|
||||
- Mitigate CVE-2024-0690.
|
||||
|
||||
* Mon Dec 11 2023 Maxwell G <maxwell@gtmx.me> - 2.16.2-1
|
||||
- Update to 2.16.2. Fixes rhbz#2254093.
|
||||
|
||||
* Wed Dec 06 2023 Maxwell G <maxwell@gtmx.me> - 2.16.1-1
|
||||
- Update to 2.16.1. Fixes rhbz#2252860.
|
||||
|
||||
* Fri Nov 10 2023 Maxwell G <maxwell@gtmx.me> - 2.16.0-1
|
||||
- Update to 2.16.0. Fixes rhbz#2248187.
|
||||
|
||||
* Thu Oct 19 2023 Maxwell G <maxwell@gtmx.me> - 2.16.0~rc1-1
|
||||
- Update to 2.16.0~rc1.
|
||||
|
||||
* Tue Oct 03 2023 Maxwell G <maxwell@gtmx.me> - 2.16.0~b2-1
|
||||
- Update to 2.16.0~b2.
|
||||
|
||||
* Mon Oct 02 2023 Miro Hrončok <mhroncok@redhat.com> - 2.16.0~b1-2
|
||||
- Do not use tomcli in Fedora ELN, avoid pulling unwanted dependencies
|
||||
|
||||
* Wed Sep 27 2023 Maxwell G <maxwell@gtmx.me> - 2.16.0~b1-1
|
||||
- Update to 2.16.0~b1.
|
||||
|
||||
* Tue Sep 26 2023 Kevin Fenzi <kevin@scrye.com> - 2.15.4-2
|
||||
- Add patch to fix readfp with python-3.12. Fixes rhbz#2239728
|
||||
|
||||
* Mon Sep 11 2023 Maxwell G <maxwell@gtmx.me> - 2.15.4-1
|
||||
- Update to 2.15.4. Fixes rhbz#2238445.
|
||||
|
||||
* Thu Aug 17 2023 Maxwell G <maxwell@gtmx.me> - 2.15.3-1
|
||||
- Update to 2.15.3. Fixes rhbz#2231963.
|
||||
|
||||
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.15.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Tue Jul 18 2023 Maxwell G <maxwell@gtmx.me> - 2.15.2-1
|
||||
- Update to 2.15.2. Fixes rhbz#2223469.
|
||||
- Use the docs sources from https://github.com/ansible/ansible-documentation.
|
||||
|
||||
* Mon Jul 03 2023 Maxwell G <maxwell@gtmx.me> - 2.15.1-2
|
||||
- Rebuilt for Python 3.12
|
||||
|
||||
* Thu Jun 22 2023 Maxwell G <maxwell@gtmx.me> - 2.15.1-1
|
||||
- Update to 2.15.1. Fixes rhbz#2204492.
|
||||
- Add Recommends on python3-libdnf5 for Fedora 39
|
||||
|
||||
* Sat Jun 17 2023 Maxwell G <maxwell@gtmx.me> - 2.15.0-5
|
||||
- Add patch to avoid importlib.abc.TraversableResources DeprecationWarning
|
||||
|
||||
* Fri Jun 16 2023 Python Maint <python-maint@redhat.com> - 2.15.0-4
|
||||
- Rebuilt for Python 3.12
|
||||
|
||||
* Tue Jun 13 2023 Maxwell G <maxwell@gtmx.me> - 2.15.0-3
|
||||
- Add support for Python 3.12. Fixes rhbz#2196539.
|
||||
- Remove conditional Requires on ansible-packaging.
|
||||
|
||||
* Tue May 23 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 2.15.0-2
|
||||
- Disable tests in RHEL builds
|
||||
|
||||
* Tue May 16 2023 Maxwell G <maxwell@gtmx.me> - 2.15.0-1
|
||||
- Update to 2.15.0.
|
||||
- Don't remove dotfiles and empty files. ansible-core actually needs these.
|
||||
|
||||
* Wed May 03 2023 Maxwell G <maxwell@gtmx.me> - 2.15.0~rc2-1
|
||||
- Update to 2.15.0~rc2.
|
||||
|
||||
* Thu Apr 27 2023 Maxwell G <maxwell@gtmx.me> - 2.15.0~rc1-1
|
||||
- Update to 2.15.0~rc1.
|
||||
|
||||
* Mon Apr 24 2023 Maxwell G <maxwell@gtmx.me> - 2.15.0~b3-1
|
||||
- Update to 2.15.0~b3.
|
||||
- Account for the removed Makefile
|
||||
|
||||
* Mon Apr 24 2023 Maxwell G <maxwell@gtmx.me> - 2.14.4-2
|
||||
- Add gating
|
||||
|
||||
* Wed Mar 29 2023 Maxwell G <maxwell@gtmx.me> - 2.14.4-1
|
||||
- Update to 2.14.4. Fixes rhbz#2173765.
|
||||
|
||||
|
|
|
|||
10
gating.yaml
Normal file
10
gating.yaml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_contexts:
|
||||
- bodhi_update_push_testing
|
||||
- bodhi_update_push_stable
|
||||
subject_type: koji_build
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
||||
...
|
||||
3
sources
3
sources
|
|
@ -1 +1,2 @@
|
|||
SHA512 (ansible-core-2.14.4.tar.gz) = 060ade1c5ddba619211a0797977ef08ffd5c80f4bbae02b10a78ce37bdca6123368acee93ff33ace5d2f7c0d7a497e13e0ad1a6bd3235f9584fb75cf807baa96
|
||||
SHA512 (ansible-core-2.20.1.tar.gz) = fa0a4836e3548cd4e432e87b241beb6fb556765699c25b1f3b1c47111a1c44d5ba3244aeb8793408e72ab63564d6e848148becbfb550bd965e466752d7f78229
|
||||
SHA512 (ansible-documentation-2.20.1.tar.gz) = 0dc20cb62280c715e4b06788a5eb2c757c388d0da646a38fc3ab56e38d236ddb0fd7586a567d973e530ed3ed2310ff26542cdb0e1621e0049147dc747e20205b
|
||||
|
|
|
|||
54
tests/collections_path_warnings.sh
Executable file
54
tests/collections_path_warnings.sh
Executable file
|
|
@ -0,0 +1,54 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
set -xeuo pipefail
|
||||
|
||||
export NO_COLOR=1
|
||||
|
||||
TMP=$(mktemp -d)
|
||||
|
||||
trap "rm -rf $TMP" EXIT
|
||||
|
||||
testcase() {
|
||||
set +x
|
||||
echo
|
||||
echo
|
||||
echo "$1"
|
||||
echo
|
||||
echo
|
||||
set -x
|
||||
}
|
||||
|
||||
fix_log() {
|
||||
tr '\n' ' ' <log | sponge log
|
||||
}
|
||||
|
||||
|
||||
cd $TMP
|
||||
version="0.2.1"
|
||||
git clone https://git.sr.ht/~gotmax23/ansible-collection-epel --branch="v${version}" --depth=1
|
||||
cd ansible-collection-epel
|
||||
mkdir abc
|
||||
ansible-galaxy collection build .
|
||||
|
||||
run="unbuffer ansible-galaxy collection install gotmax23-epel-${version}.tar.gz"
|
||||
warning="The installed collection will not be picked up in an Ansible run"
|
||||
|
||||
testcase "Control: Check plain collection install"
|
||||
${run} |& tee log
|
||||
fix_log
|
||||
(! grep "${warning}" log)
|
||||
|
||||
testcase "Check special collection install"
|
||||
${run} -p abc |& tee log
|
||||
fix_log
|
||||
grep "${warning}" log
|
||||
|
||||
testcase "Check special collection install with option"
|
||||
ANSIBLE_GALAXY_COLLECTIONS_PATH_WARNING=1 ${run} -p abc |& tee log
|
||||
fix_log
|
||||
grep "${warning}" log
|
||||
|
||||
testcase "Check special collection install without option"
|
||||
ANSIBLE_GALAXY_COLLECTIONS_PATH_WARNING=0 ${run} -p abc |& tee log
|
||||
fix_log
|
||||
(! grep "${warning}" log)
|
||||
16
tests/fedora.fmf
Normal file
16
tests/fedora.fmf
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
summary: A set of Fedora specific ansible integration tests
|
||||
discover:
|
||||
- name: Generic ansible integration tests
|
||||
how: shell
|
||||
tests:
|
||||
- name: Run tests/collections_path_warnings.sh
|
||||
summary: Ensure GALAXY_COLLECTIONS_PATH_WARNINGS works properly
|
||||
test: tests/collections_path_warnings.sh
|
||||
require:
|
||||
- ansible-core
|
||||
- git-core
|
||||
- python3-distlib
|
||||
- /usr/bin/sponge
|
||||
- /usr/bin/unbuffer
|
||||
execute:
|
||||
how: tmt
|
||||
40
tests/smoke.sh
Executable file
40
tests/smoke.sh
Executable file
|
|
@ -0,0 +1,40 @@
|
|||
#!/usr/bin/bash -x
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
ansible --version
|
||||
|
||||
cat <<EOF >inventory
|
||||
[all]
|
||||
localhost ansible_connection=local
|
||||
EOF
|
||||
export ANSIBLE_INVENTORY=inventory
|
||||
|
||||
chroot="fedora-rawhide-x86_64"
|
||||
|
||||
ansible localhost -bm setup |& tee out
|
||||
|
||||
if ! grep Fedora out; then
|
||||
chroot="epel-9-x86_64"
|
||||
fi
|
||||
|
||||
ansible localhost -b \
|
||||
-m package \
|
||||
-a name=filesystem \
|
||||
|& tee out
|
||||
grep -F 'localhost | SUCCESS' out
|
||||
(! grep -F 'localhost | CHANGED' out)
|
||||
|
||||
ansible localhost -b \
|
||||
-m community.general.copr \
|
||||
-a "name=gotmax23/community.general.copr_integration_tests chroot=${chroot}" \
|
||||
|& tee out
|
||||
grep -F 'localhost | CHANGED' out
|
||||
|
||||
ansible localhost -b \
|
||||
-m package \
|
||||
-a name=copr-module-integration-dummy-package \
|
||||
|& tee out
|
||||
grep -F 'localhost | CHANGED' out
|
||||
|
||||
rpm -ql copr-module-integration-dummy-package
|
||||
15
tests/smoke1.fmf
Normal file
15
tests/smoke1.fmf
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
summary: Run smoke tests with the ansible bundle installed
|
||||
discover:
|
||||
- name: Smoke tests with ansible
|
||||
how: shell
|
||||
tests:
|
||||
- name: Run tests/smoke.sh
|
||||
test: tests/smoke.sh
|
||||
require:
|
||||
- python3
|
||||
- python3-dnf
|
||||
- dnf-plugins-core
|
||||
- ansible-core
|
||||
- ansible
|
||||
execute:
|
||||
how: tmt
|
||||
15
tests/smoke2.fmf
Normal file
15
tests/smoke2.fmf
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
summary: Run smoke tests with the standalone ansible-collection-community-general installed
|
||||
discover:
|
||||
- name: Smoke tests with community.general
|
||||
how: shell
|
||||
tests:
|
||||
- name: Run tests/smoke.sh
|
||||
test: tests/smoke.sh
|
||||
require:
|
||||
- python3
|
||||
- python3-dnf
|
||||
- dnf-plugins-core
|
||||
- ansible-core
|
||||
- ansible-collection-community-general
|
||||
execute:
|
||||
how: tmt
|
||||
Loading…
Add table
Add a link
Reference in a new issue