Compare commits

...
Sign in to create a new pull request.

177 commits

Author SHA1 Message Date
Fedora Release Engineering
3fe81f9f48 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-16 03:41:14 +00:00
Maxwell G
f5d5058b89
Update file pruning and hardlinking logic
- Update ansible-prep.sh and remove references to collections removed
  from Ansible.
- Don't hardlink anymore. This is handled by a brp.

[skip changelog]
2025-12-11 18:12:39 -06:00
Maxwell G
8ccfa15caf
Update to 13.1.0. Fixes rhbz#2354912. 2025-12-09 12:44:11 -06:00
Maxwell G
bab3b123d8
packit: update koji_build branches 2025-11-17 22:08:34 -06:00
Maxwell G
9af08281c8
packit: add sidetag_group 2025-11-17 21:56:53 -06:00
Maxwell G
d3e4d724a9 packit: add f43 and f42 2025-11-17 21:56:34 -06:00
Maxwell G
fb25488b11 packit: limit rawhide to Ansible 11 for now
Until https://fedoraproject.org/wiki/Changes/Ansible13 is finalized.
2025-11-17 21:56:34 -06:00
Packit
0d4e415b59 Update to 11.12.0 upstream release
Upstream tag: 11.12.0
Upstream commit: ce86e4df

Commit authored by Packit automation (https://packit.dev/)
2025-11-17 14:50:45 +00:00
Maxwell G
ae9ed89dc4
Update to 11.10.0. 2025-09-28 15:39:47 -05:00
Python Maint
78b689b64f Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 12:06:50 +02:00
Python Maint
ebd6903521 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 12:38:13 +02:00
Fedora Release Engineering
80f1c81555 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 16:59:41 +00:00
Maxwell G
5a428675a8
Update to 11.8.0. 2025-07-16 14:07:49 -05:00
Python Maint
f9a83db4cf Rebuilt for Python 3.14 2025-06-07 23:28:29 +02:00
Maxwell G
e7b510f109
Update to 11.6.0. 2025-06-07 01:55:58 -05:00
Maxwell G
4cf3fd7e86 ansible-prep: remove old files 2025-03-26 23:19:02 -05:00
Packit
dc2bab8df8 Update to 11.4.0 upstream release
- Resolves: rhbz#2354912

Upstream tag: 11.4.0
Upstream commit: 8fc9de8a

Commit authored by Packit automation (https://packit.dev/)
2025-03-25 19:56:21 +00:00
Maxwell G
b79d47f109
packit: remove sync note 2025-03-16 21:27:55 -05:00
Packit
ae4659d82e Update to 11.3.0 upstream release
Upstream tag: 11.3.0
Upstream commit: b1f85dfd

Commit authored by Packit automation (https://packit.dev/)
2025-03-17 02:17:02 +00:00
Maxwell G
36554cbe7e
packit: add configuration 2025-03-16 20:52:36 -05:00
Fedora Release Engineering
f4bc470894 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 11:03:40 +00:00
Maxwell G
3527e7f950
Update to 11.1.0. 2024-12-17 22:16:17 -06:00
Maxwell G
3aa96e9369 Update to 11.0.0. 2024-11-26 00:06:55 -06:00
Zbigniew Jędrzejewski-Szmek
8845afc540 Tell hardlink to not create reflinks
hardlink will by default use reflinks in preference to hardlinks when
the filesystem supports it (XFS, btrfs). But for rpm, hardlinks are
what we want. rpm supports hardlinks natively and will use a single
copy in the payload and during installation. It doesn't know about
reflinks.

This should fix build reproduciblity, by not making the build depend
on file system type.

In a test rebuild on tmpfs, I got the following difference wrt.
to the koji build:

ansible-9.7.0-1.fc41.noarch
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/amazon/aws/requirements.txt
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/amazon/aws/tox.ini
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/arista/eos/plugins/module_utils/network/eos/rm_templates/hostname.py
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/arista/eos/pyproject.toml
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/cisco/asa/codecov.yml
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/cisco/asa/pyproject.toml
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/cisco/dnac/meta/runtime.yml
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/cisco/dnac/playbooks/files/test.template
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/cisco/ios/codecov.yml
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/cisco/ios/plugins/doc_fragments/ios.py
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/cisco/ios/pyproject.toml
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/cisco/ios/test-requirements.txt
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/cisco/ios/tox.ini
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/cisco/iosxr/codecov.yml
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/cisco/iosxr/plugins/doc_fragments/iosxr.py
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/cisco/iosxr/plugins/module_utils/network/iosxr/rm_templates/hostname.py
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/cisco/iosxr/pyproject.toml
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/cisco/iosxr/tox.ini
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/cisco/ise/meta/runtime.yml
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/cisco/meraki/playbooks/files/test.template
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/cisco/nxos/codecov.yml
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/cisco/nxos/pyproject.toml
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/cisco/nxos/test-requirements.txt
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/cisco/nxos/tox.ini
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/community/aws/requirements.txt
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/community/aws/tox.ini
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/community/crypto/CHANGELOG.md.license
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/community/crypto/CHANGELOG.rst.license
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/community/crypto/changelogs/changelog.yaml.license
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/community/crypto/meta/execution-environment.yml
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/community/dns/CHANGELOG.md.license
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/community/dns/CHANGELOG.rst.license
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/community/dns/changelogs/changelog.yaml.license
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/community/dns/meta/execution-environment.yml
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/community/dns/plugins/plugin_utils/unsafe.py
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/community/docker/CHANGELOG.md.license
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/community/docker/CHANGELOG.rst.license
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/community/docker/changelogs/changelog.yaml.license
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/community/docker/meta/execution-environment.yml
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/community/docker/plugins/plugin_utils/unsafe.py
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/community/general/CHANGELOG.md.license
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/community/general/CHANGELOG.rst.license
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/community/general/changelogs/changelog.yaml.license
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/community/general/plugins/plugin_utils/unsafe.py
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/community/hrobot/CHANGELOG.md.license
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/community/hrobot/CHANGELOG.rst.license
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/community/hrobot/changelogs/changelog.yaml.license
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/community/hrobot/plugins/plugin_utils/unsafe.py
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/community/library_inventory_filtering_v1/CHANGELOG.md.license
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/community/library_inventory_filtering_v1/CHANGELOG.rst.license
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/community/library_inventory_filtering_v1/changelogs/changelog.yaml.license
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/community/routeros/CHANGELOG.md.license
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/community/routeros/CHANGELOG.rst.license
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/community/routeros/changelogs/changelog.yaml.license
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/community/routeros/meta/execution-environment.yml
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/community/sops/CHANGELOG.rst.license
  modified-....N...... /usr/lib/python3.13/site-packages/ansible_collections/community/sops/changelogs/changelog.yaml.license

rpmdiff reports 'N' for inode, i.e. the hardlink count being different.
2024-11-03 03:57:52 +00:00
Maxwell G
18a1a42a59
Update to 9.11.0. 2024-10-10 20:02:55 -05:00
Maxwell G
8dcd916018
Update to 9.10.0. 2024-09-10 12:30:40 -05:00
Maxwell G
14070d64b6
Update to 9.9.0. 2024-08-13 11:41:56 -05:00
Maxwell G
42be9da716 Update to 9.8.0. 2024-07-19 16:46:28 -05:00
Fedora Release Engineering
9c28385cde Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 17:00:45 +00:00
Maxwell G
a6d0aee32b
Update to 9.7.0. 2024-06-23 17:53:35 -05:00
Maxwell G
b5e6ba8f9e Revert "ansible-prep: remove additional unnecessary directories"
This reverts commit f89fa3bf85.
2024-06-09 14:54:43 -05:00
Maxwell G
e8ad128252 Update to 9.6.1. 2024-06-09 14:54:42 -05:00
Python Maint
706a563eb7 Rebuilt for Python 3.13 2024-06-09 12:17:34 +02:00
Maxwell G
f89fa3bf85
ansible-prep: remove additional unnecessary directories 2024-06-04 14:37:14 -05:00
Maxwell G
fba9f24c2a
Update to 9.6.0. 2024-06-04 14:21:49 -05:00
Maxwell G
6a44275fd9
Revert "Update to 10.0.0~a2."
This reverts commit 3b956072fa.
The update has some major breaking changes that need to be more
carefully handled.
2024-05-02 02:56:12 +00:00
Maxwell G
3b956072fa
Update to 10.0.0~a2. 2024-05-02 02:29:05 +00:00
Maxwell G
cc8d986d85
Update to 9.5.1. 2024-05-02 01:55:25 +00:00
Maxwell G
73c3761906
Update to 9.4.0. 2024-03-29 01:10:10 +00:00
Maxwell G
cd408233d6
commit patch 2024-03-02 02:28:00 +00:00
Maxwell G
3eea4a5b63
Backport "podman pod info" patch to containers.podman 2024-03-02 02:26:45 +00:00
Maxwell G
03969f6894
Update to 9.3.0. 2024-03-02 02:26:45 +00:00
Maxwell G
9fc79dd892
Update to 9.2.0. 2024-02-01 05:16:56 +00:00
Fedora Release Engineering
f6be2d66d0 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 23:04:00 +00:00
Fedora Release Engineering
b3c98a1168 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 12:58:39 +00:00
Maxwell G
2e72b45364
Update to 9.1.0. 2023-12-06 04:51:43 +00:00
Maxwell G
a4ef454793
Update to 9.0.1. 2023-11-22 00:05:23 +00:00
Maxwell G
d7639d3f60
Update to 9.0.0~a3. 2023-10-18 22:59:54 -05:00
Maxwell G
2c7d8baf8e
Update to 9.0.0~a2. 2023-10-12 17:02:31 +00:00
Maxwell G
b9879dbfe8
Update to 9.0.0~a1.
Account for upstream's migration from setup.py to setup.cfg.
2023-09-28 23:51:06 +00:00
Maxwell G
27ce592279
Update to 8.4.0. 2023-09-12 14:57:40 -05:00
Maxwell G
46761eba56
Update to 8.3.0. 2023-08-18 03:55:56 +00:00
Fedora Release Engineering
08bc5068fe Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 13:18:06 +00:00
Maxwell G
0321735d7f
Rebuilt for Python 3.12 2023-07-03 11:31:37 -05:00
Maxwell G
fb34c87373
Update to 8.1.0. 2023-06-22 15:51:53 -05:00
Python Maint
8ae37334e1 Rebuilt for Python 3.12 2023-06-16 15:06:17 +02:00
Maxwell G
1e8d0b7bf4
remove unused .coveragerc file 2023-05-31 01:20:52 +00:00
Maxwell G
4c40dd8a0c
Update to 8.0.0. 2023-05-30 17:13:27 -05:00
Maxwell G
021c6e7683
add tmt and gating tests 2023-05-24 16:15:14 +00:00
Maxwell G
2d214aeabb
Update to 8.0.0~rc1. 2023-05-23 22:39:24 -05:00
Maxwell G
030afe947d
update excluded files list for 8.0.0~b1 2023-05-19 06:32:23 +00:00
Maxwell G
b3fea49291
Update to 8.0.0~b1. 2023-05-19 06:02:55 +00:00
Maxwell G
5abfdcb89d
add copyright headers
Fedora specfiles are implicitly licensed under the MIT license as per
the FPCA, but explicit is better than implicit.
2023-05-19 06:02:55 +00:00
Maxwell G
9e268c07b6
move specfile scripting into separate files
This makes the specfile more readable and makes it easier to sync the
more complex parts across branches.

This also refactors the license install logic.
2023-05-19 06:02:54 +00:00
Maxwell G
81b557b379
modernize specfile for EPEL 9 and Fedora
I'll maintain a separate specfile for EPEL 8.
2023-05-19 06:02:38 +00:00
Maxwell G
935fbf09a0
Update to 8.0.0~a3. 2023-05-03 18:14:09 -05:00
Maxwell G
1689b29d87
Update to 8.0.0~a2. 2023-04-27 09:50:16 -05:00
Maxwell G
0ad6f9b8eb
Update to 8.0.0~a1. 2023-04-20 21:50:39 +00:00
Maxwell G
cd327caae8
Update to 7.4.0. 2023-03-29 14:42:06 -05:00
Maxwell G
e0f79820af
Update to 7.3.0. 2023-02-28 18:32:15 -06:00
Maxwell G
38ecce6780
Use more precise globs in %files 2023-02-23 20:39:19 -06:00
Maxwell G
de97f8a9a3
Sync with epel9 2023-02-23 20:38:18 -06:00
Maxwell G
fdb05b5cc1
Build for 3.11 on RHEL 8 and 9 2023-02-17 15:16:27 -06:00
Maxwell G
ac18b94e68
Add back specfile comment about find(1) syntax
This was accidentally removed at some point.
2023-02-09 19:50:27 -06:00
Maxwell G
2d5e2eff8d
Sync version constraint code from epel 2023-02-02 16:11:49 -06:00
David Moreau Simard
2b8666fab0
Update to 7.2.0. 2023-01-31 22:13:16 -05:00
Fedora Release Engineering
93d8d9318f Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-18 21:45:33 +00:00
Maxwell G
89056a9cea
Update to 7.1.0. 2022-12-08 21:50:43 -06:00
Maxwell G
58137fda70
Add rpmlint filters 2022-11-23 19:16:33 -06:00
Maxwell G
40724bcc7b
Update to 7.0.0. 2022-11-23 15:18:07 -06:00
Maxwell G
a4066fae5c
Use find and xargs instead of 'find -exec'
This takes up a fraction of the time, as it avoids spawning a bunch of
sed processes
2022-11-19 15:37:45 -06:00
Maxwell G
1bf2be2a3d
Update to 7.0.0~rc1. 2022-11-17 19:20:28 -06:00
Maxwell G
3479c26f99
Remove outdated comments 2022-11-17 19:19:16 -06:00
Maxwell G
e9de674184
fix "Move filelist %{buildsubdir} so it gets cleaned up"
The previous implementation didn't actually work; %{buildsubdir} was
undefined when %filelist was defined.

Fixes: 97dd8c8d95
2022-11-17 18:52:08 -06:00
Maxwell G
549dd469e9
Update to 7.0.0~b1. 2022-11-08 16:23:53 -06:00
Maxwell G
97dd8c8d95
Move filelist %{buildsubdir} so it gets cleaned up 2022-11-01 22:17:45 -05:00
Maxwell G
97d2539941
Exclude more unnecessary files 2022-11-01 22:17:45 -05:00
Maxwell G
b20511418f
Overhaul handling of shebangs
- Don't mangle shebangs in roles' files and templates. This has the
  potential to cause issues with Ansible targets that have different
  filepaths than Fedora.
- Consolidate all of the shebang modification
2022-11-01 22:17:45 -05:00
Maxwell G
481b80c79a
Update to 7.0.0~a2. 2022-10-27 21:47:52 -05:00
Maxwell G
ff17785704
Remove more unnecessary files
- We don't use rm -rf, because it always returns 0, whether or not the path
  exists.
2022-10-12 22:12:05 -05:00
Maxwell G
23d7aa9e3a
Use %py3_dist in %ansible_core_requires
This ensures that ansible is built against the same Python as
ansible-core.
2022-10-12 21:52:09 -05:00
Maxwell G
31ccbd4afe Update to 6.5.0. 2022-10-12 21:17:48 -05:00
Maxwell G
4f6358bd70
Update to 6.4.0. 2022-09-15 13:07:38 -05:00
Maxwell G
10415a99d1
Fix License: typo 2022-08-25 22:28:14 -05:00
Maxwell G
ff7cd6026a
Adopt new licensing guidelines 2022-08-25 18:29:55 -05:00
Maxwell G
fddebdc7e6
Properly install new license files 2022-08-25 12:19:23 -05:00
Maxwell G
9bec653d4a
Update to 6.3.0. 2022-08-23 16:16:14 -05:00
Maxwell G
9ecd995a5e
Fix handling of license files 2022-08-11 15:16:22 -05:00
Maxwell G
7482ca2420
Update to 6.2.0. 2022-08-02 22:10:14 +02:00
Maxwell G
08fbf34e09 Stop disabling python dependency generator on RHEL 8
There's no harm in having duplicate Requires, so we might as well set a
good example and not disable it.
2022-08-02 22:04:44 +02:00
Fedora Release Engineering
9f7b7074c2 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-20 20:49:26 +00:00
Maxwell G
28390405d0
Replace rm -rf with rm -r
This will cause the command to fail if the files being removed don't
actually exist. This prevents us from leaving in useless commands.
2022-07-15 13:19:50 -05:00
Maxwell G
495495e878
Fix FTI 2022-07-15 13:19:37 -05:00
Maxwell G
9b3fbb312d
Update to 6.1.0. 2022-07-14 19:10:15 -05:00
Maxwell G
04c5dbb612
Revert "Temporarily stop BuildRequire'ing ansible-core"
This reverts commit 13374b7f43.
2022-07-09 14:10:32 -05:00
Maxwell G
13374b7f43
Temporarily stop BuildRequire'ing ansible-core
ansible-core 2.13.1 will land in c8s in the coming days. I am disabling
the BR so I can build this, submit it to Bodhi (with autopush disabled),
and have it ready to push by the time the ansible-core update reaches
the mirrors. This is to avoid avoid ansible FTIing and blocking updates
for too long.
2022-07-08 19:27:37 -05:00
Maxwell G
2310ea2562
Set %%python3_pkgversion to 39 for RHEL 8.
ansible-core in c8s and RHEL 8.7 will be built against the python39
module.
2022-07-08 19:22:15 -05:00
Maxwell G
b453756f28
Minor packaging changes 2022-07-07 22:20:26 -05:00
Maxwell G
cb4308a842
Update to 6.0.0. 2022-06-22 21:24:46 -05:00
Maxwell G
07ee1632ef
Hardlink duplicated files and fix rpmlint errors 2022-06-22 21:24:06 -05:00
Maxwell G
06d0178dbf
Add explanatory comments 2022-06-22 21:23:38 -05:00
Maxwell G
df3a657cd3
Update to 6.0.0~rc1.
Stop duplicating docs and licenses.
Don't remove tests in %prep that are now handled by setup.py.
2022-06-22 21:23:35 -05:00
Python Maint
0d952dd461 Rebuilt for Python 3.11 2022-06-16 19:55:14 +02:00
Maxwell G
ee8c7d6028
Update to 5.9.0. 2022-06-08 17:25:32 -05:00
Maxwell G
be43570d9f
Update to 5.8.0.
Remove fortinet.fortios patch.
2022-05-18 21:43:39 -05:00
Maxwell G
50081c1e6d
Fix rpmlint errors. 2022-04-30 11:29:29 -05:00
Maxwell G
3e43429612
Fix SyntaxError in fortinet.fortios collection. 2022-04-29 18:17:53 -05:00
Maxwell G
3f8e37cb01
Update to 5.7.0. 2022-04-29 18:17:12 -05:00
Maxwell G
e58d6b2c8c
Ensure correct version of ansible-core is available at buildtime.
Implement support for epel8.
2022-04-26 20:40:28 -05:00
Kevin Fenzi
95b3b7da3d Update to 5.6.0. 2022-04-06 15:35:19 -07:00
David Moreau Simard
363f30667f
Update to latest upstream release (5.5.0) 2022-03-15 13:01:45 -04:00
David Moreau Simard
dca8a3ec4f
Update to latest upstream release (5.4.0) 2022-02-22 18:34:51 -05:00
Maxwell G
352083697e
Fix shebangs. 2022-02-16 11:53:52 -06:00
David Moreau Simard
a458d3d22c
Update to latest release: 5.3.0
5.3.0 was released today, let's update the package too.
2022-02-01 12:46:56 -05:00
Fedora Release Engineering
87ec6462d3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-19 21:17:03 +00:00
David Moreau Simard
08f34bbfe1
Update to latest upstream release (5.2.0) 2022-01-12 15:48:29 -05:00
David Moreau Simard
c947a30f28
Refactor and update to upstream 5.1.0
- Update to latest upstream release
- Refactor to take into account split from ansible-core after ansible 2.9, see: https://fedoraproject.org/wiki/Changes/Ansible5
- Remove patches intended for Ansible 2.9
- Removed packaging macros (soon included in ansible-packaging, see rhbz#2038591)
- Removed provides/obsoletes on ansible-python3

Co-Authored-By: Maxwell G <gotmax@e.email>
Co-Authored-By: David Moreau-Simard <moi@dmsimard.com>
2022-01-11 22:45:54 -05:00
Charalampos Stratakis
e6326587dc Remove redundant BuildRequires on python3-nose 2021-12-07 22:50:16 +01:00
Maxwell G
2beba00ac1
Remove trailing spaces 2021-11-20 14:22:56 -06:00
Maxwell G
7369bf12b2
ansible-generator: Replace ansible-core with ansible-base
Signed-off-by: Maxwell G <gotmax@e.email>
2021-11-20 14:21:01 -06:00
Kevin Fenzi
663b08d497 Add patch for oracle linux Fixes rhbz#2018369 2021-11-01 14:50:36 -07:00
Kevin Fenzi
120cc50587 Update to 2.9.27. Fixes rhbz#2012918 2021-10-26 17:39:58 -07:00
Kevin Fenzi
cd1958dd9e Update to 2.9.26. Fixes rhbz#2002394 2021-09-14 14:04:07 -07:00
Kevin Fenzi
19c10f98f2 Update to 2.9.25. Fixes rhbz#1994108 2021-08-20 12:59:42 -07:00
Kevin Fenzi
2b5eb14c84 Update to 2.9.24. Fixes rhbz#1983837 2021-07-25 10:35:22 -07:00
Fedora Release Engineering
33bccbcfc9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 17:35:10 +00:00
Fedora Release Engineering
c54581f472 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 12:39:32 +00:00
Kevin Fenzi
f2669e1290 Fix FTBFS with sphinx 4.x. Fixes rhbz#1977303 2021-07-10 13:00:28 -07:00
Kevin Fenzi
b777386fb3 Update to 2.9.23. Fixes rhbz#1974592
Add patch for Rocky Linux. Fixes rhbz#1968728
2021-06-22 15:49:11 -07:00
Python Maint
6a181e3742 Rebuilt for Python 3.10 2021-06-04 19:59:08 +02:00
Kevin Fenzi
a2465762f1 Update to 2.9.22. Fixes rhbz#1964173 2021-05-24 15:46:54 -07:00
Kevin Fenzi
f72cb6d5b7 Update to 2.9.21. Fixes rhbz#1956584 2021-05-03 21:31:40 -07:00
Kevin Fenzi
d1181c4610 Update to 2.9.20. 2021-04-24 11:09:06 -07:00
Kevin Fenzi
0622d766bd Update to 2.9.18.
Fixes: CVE-2021-20228 CVE-2021-20178 CVE-2021-20180 CVE-2021-20191
2021-02-20 11:13:00 -08:00
Fedora Release Engineering
e89035e0fb - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 00:07:20 +00:00
Kevin Fenzi
a1fd4ae0fa Update to 2.9.17. 2021-01-24 12:58:24 -08:00
Kevin Fenzi
3388b91d6e Conflict with ansible-base 2.10.x for now.
Ajust generator so collections will install/work with either ansible or ansible-base.
2021-01-16 15:26:55 -08:00
Kevin Fenzi
275e4f0b37 Update to 2.9.16. 2020-12-17 17:08:46 -08:00
Tom Stellard
c962634ee0 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2020-12-16 23:29:35 +00:00
Kevin Fenzi
76106f507e Update to 2.9.15. 2020-11-03 10:28:21 -08:00
Kevin Fenzi
127420a190 Update to 2.9.14. 2020-10-06 13:01:34 -07:00
Kevin Fenzi
936d8030cd Update to 2.9.13. Fixes CVE-2020-14365 2020-09-02 14:12:17 -07:00
Kevin Fenzi
34e5efc699 Update to 2.9.12. 2020-08-11 13:26:23 -07:00
Igor Raits
7df9e3edef
Add support for generating '>=' dependencies in RPM generator
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2020-08-09 10:29:48 +02:00
Igor Raits
250a3086bc
Add very basic support for generating dependencies in RPM generator
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2020-08-08 19:55:37 +02:00
Igor Raits
e1457c05cd
Run black on ansible-generator
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2020-08-08 19:52:06 +02:00
Fedora Release Engineering
75289c7289 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 12:04:27 +00:00
Kevin Fenzi
a200d48509 Update to 2.9.11. 2020-07-21 11:31:26 -07:00
Kevin Fenzi
9425f2bcc8 Update to 2.9.10. 2020-06-18 15:51:32 -07:00
Charalampos Stratakis
4e4f90cd41 Pin Pytest to version 4 for now 2020-05-30 02:09:02 +02:00
Charalampos Stratakis
5ce32992e7 Fix Python 3.9 compatibility (#1808674) 2020-05-30 01:32:05 +02:00
Miro Hrončok
7ce937e2a3 Rebuilt for Python 3.9 2020-05-26 02:40:25 +02:00
Kevin Fenzi
6f73240689 Update to 2.9.9. Fixes bug #1834582
Fixes gathering facts on f32+ bug #1832625
2020-05-12 17:04:53 -07:00
Igor Raits
4c3c4174f4
Own /usr/share/ansible/collections/ansible_collections
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2020-04-19 19:51:12 +02:00
Igor Raits
db3f8ce6dc
Add macros for packaging Ansible collections
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2020-04-19 11:48:20 +02:00
Kevin Fenzi
8b36136ff8 also upload sources
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-17 19:48:09 -07:00
Kevin Fenzi
fb103893f4 Update to 2.9.7.
fixes CVE-2020-1733 CVE-2020-1735 CVE-2020-1740 CVE-2020-1746 CVE-2020-1753 CVE-2020-10684 CVE-2020-10685 CVE-2020-10691
Drop the -s from the shebang to allow ansible to use locally installed modules.
2020-04-17 19:47:06 -07:00
Kevin Fenzi
caaa954078 Update to 2.9.6. Fixes bug #1810373
fixes for CVE-2020-1737, CVE-2020-1739
2020-03-06 15:04:11 -08:00
Kevin Fenzi
04f6096821 Update to 2.9.5. Fixes bug #1802725 2020-02-13 13:50:40 -08:00
Fedora Release Engineering
795f49748e - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 11:36:31 +00:00
Kevin Fenzi
15659973b4 Update to 2.9.4 with one bugfix. 2020-01-21 17:17:18 -08:00
Kevin Fenzi
f3a4fa4568 Update to 2.9.3. 2020-01-19 19:05:29 -08:00
Kevin Fenzi
bc604ab062 Update to 2.9.2. 2019-12-08 12:35:00 -08:00
Kevin Fenzi
2ffc66d64f Update to 2.9.1. 2019-11-13 18:21:30 -08:00
Kevin Fenzi
8b64ada50b Supress pwsh requires added by rpm. 2019-11-08 16:54:46 -08:00
Kevin Fenzi
385af9b086 Update to 2.9.0. 2019-11-08 13:25:01 -08:00
Kevin Fenzi
88ed9f1219 Update to 2.8.6.
Rework spec file to drop old conditionals.
2019-10-19 13:20:08 -07:00
14 changed files with 713 additions and 594 deletions

View file

@ -1,24 +0,0 @@
# This configuration file is used for manual execution of coverage
# as well as for tests run through ansible-test.
[run]
branch = True
# Enable concurrency. This also enables parallel mode, which results in
# multiple coverage files being created. Concurrency allows us to collect
# results from multiple tests simultaneously, as well as supporting multiple
# test runs, such as from integration tests.
concurrency = multiprocessing
parallel = True
# When running tests through ansible-test, this option is overridden by
# the COVERAGE_FILE environment variable. This option is present for
# convenience when running coverage manually from this directory.
data_file = test/results/coverage/coverage
# Don't collect or report code coverage from files matching these patterns.
omit =
*/python*/dist-packages/*
*/python*/site-packages/*
*/python*/distutils
*/pytest

1
.fmf/version Normal file
View file

@ -0,0 +1 @@
1

88
.gitignore vendored
View file

@ -1,86 +1,2 @@
/ansible-1.5.3.tar.gz
/ansible-1.5.4.tar.gz
/ansible-1.5.5.tar.gz
/ansible-1.6.tar.gz
/ansible-1.6.1.tar.gz
/ansible-1.6.2.tar.gz
/ansible-1.6.3.tar.gz
/ansible-1.6.4.tar.gz
/ansible-1.6.5.tar.gz
/ansible-1.6.6.tar.gz
/ansible-1.6.7.tar.gz
/ansible-1.6.8.tar.gz
/ansible-1.6.9.tar.gz
/ansible-1.6.10.tar.gz
/ansible-1.7.tar.gz
/ansible-1.7.1.tar.gz
/ansible-1.7.2.tar.gz
/ansible-1.8.tar.gz
/ansible-1.8.1.tar.gz
/ansible-1.8.2.tar.gz
/ansible-1.8.3.tar.gz
/ansible-1.8.4.tar.gz
/ansible-1.9.0.tar.gz
/ansible-1.9.0.1.tar.gz
/ansible-1.9.1.tar.gz
/ansible-1.9.2.tar.gz
/ansible-1.9.3.tar.gz
/ansible-1.9.4.tar.gz
/ansible-2.0.0.1.tar.gz
/ansible-unittests.tar.xz
/ansible-2.0.0.2.tar.gz
/ansible-2.0.1.0.tar.gz
/ansible-unittests-2.0.1.0.tar.xz
/ansible-unittests-2.0.2.0.tar.xz
/ansible-2.0.2.0.tar.gz
/ansible-unittests-2.1.0.0.tar.xz
/ansible-2.1.0.0.tar.gz
/ansible-unittests-2.1.1.0.tar.xz
/ansible-2.1.1.0.tar.gz
/ansible-2.1.2.0.tar.gz
/ansible-unittests-2.1.2.0.tar.xz
/ansible-unittests-2.2.0.0.tar.xz
/ansible-2.2.0.0.tar.gz
/ansible-unittests-2.2.1.0.tar.xz
/ansible-2.2.1.0.tar.gz
/ansible-2.2.2.0-0.1.rc1.tar.gz
/ansible-unittests-2.2.2.0.tar.xz
/ansible-2.2.2.0.tar.gz
/ansible-2.3.0.0.tar.gz
/ansible-2.3.1.0.tar.gz
/ansible-2.3.2.0.tar.gz
/ansible-2.4.0.0.tar.gz
/ansible-2.4.1.0.tar.gz
/ansible-2.4.2.0.tar.gz
/ansible-2.4.3.0.tar.gz
/ansible-2.5.0.tar.gz
/ansible-2.5.1.tar.gz
/ansible-2.5.2.tar.gz
/ansible-2.5.3.tar.gz
/ansible-2.5.5.tar.gz
/ansible-2.6.0.tar.gz
/ansible-2.6.1.tar.gz
/ansible-2.6.2.tar.gz
/ansible-2.6.3.tar.gz
/ansible-2.6.4.tar.gz
/ansible-2.6.5.tar.gz
/ansible-2.7.0.tar.gz
/ansible-2.7.1.tar.gz
/ansible-2.7.2.tar.gz
/ansible-2.7.3.tar.gz
/ansible-2.7.4.tar.gz
/ansible-2.7.5.tar.gz
/ansible-2.7.6.tar.gz
/ansible-2.7.7.tar.gz
/ansible-2.7.8.tar.gz
/ansible-2.7.9.tar.gz
/ansible-2.7.10.tar.gz
/ansible-2.8.0b1.tar.gz
/ansible-2.8.0rc1.tar.gz
/ansible-2.8.0rc3.tar.gz
/ansible-2.8.0.tar.gz
/ansible-2.8.1.tar.gz
/ansible-2.8.2.tar.gz
/ansible-2.8.3.tar.gz
/ansible-2.8.4.tar.gz
/ansible-2.8.5.tar.gz
/ansible-*.tar.gz
/ansible-*/

33
.packit.yaml Normal file
View file

@ -0,0 +1,33 @@
# See the documentation for more information:
# https://packit.dev/docs/configuration/
upstream_project_url: https://github.com/ansible-community/ansible-build-data
issue_repository: https://pagure.io/ansible-packit-issues
create_sync_note: false
upstream_tag_include: "11"
jobs:
- job: pull_from_upstream
trigger: release
dist_git_branches:
rawhide:
fast_forward_merge_into:
- fedora-43
- fedora-42
- job: koji_build
trigger: commit
dist_git_branches:
- rawhide
- fedora-43
- fedora-42
sidetag_group: "ansible"
dependencies:
- ansible-core
- job: bodhi_update
trigger: commit
dist_git_branches:
- rawhide
- fedora-43
- fedora-42
dependencies:
- ansible-core
sidetag_group: "ansible"

View file

@ -1,50 +0,0 @@
From 702e044b90fd0a0524fa4574648fe7dae4d4f2fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
Date: Wed, 22 May 2019 21:31:22 +0200
Subject: [PATCH] Don't change dictionary keys during iteration
With Python 3.8.0a4+, we get the following RuntimeError in Fedora:
PYTHONPATH=../../lib ../bin/dump_keywords.py --template-dir=../templates --output-dir=rst/reference_appendices/ -d ./keyword_desc.yml
Traceback (most recent call last):
File "../bin/dump_keywords.py", line 49, in <module>
for a in oblist[name]:
RuntimeError: dictionary keys changed during iteration
And:
def populate(self):
super(Interfaces, self).populate()
self.facts['all_ipv4_addresses'] = list()
self.facts['all_ipv6_addresses'] = list()
data = self.responses[0]
interfaces = self.parse_interfaces(data)
> for key in interfaces.keys():
E RuntimeError: dictionary keys changed during iteration
In TestDellos9Facts.test_dellos9_facts_gather_subset_default
and TestDellos9Facts.test_dellos9_facts_gather_subset_interfaces.
Python change: https://github.com/python/cpython/pull/12596
Downstream bug: https://bugzilla.redhat.com/show_bug.cgi?id=1712531
---
docs/bin/dump_keywords.py | 2 +-
lib/ansible/modules/network/dellos9/dellos9_facts.py | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/bin/dump_keywords.py b/docs/bin/dump_keywords.py
index 30056a6fc8cc..e25171126576 100755
--- a/docs/bin/dump_keywords.py
+++ b/docs/bin/dump_keywords.py
@@ -46,7 +46,7 @@
oblist[name] = dict((x, aobj.__dict__['_attributes'][x]) for x in aobj.__dict__['_attributes'] if 'private' not in x or not x.private)
# pick up docs if they exist
- for a in oblist[name]:
+ for a in list(oblist[name]):
if a in docs:
oblist[name][a] = docs[a]
else:

46
ansible-install-licenses.sh Executable file
View file

@ -0,0 +1,46 @@
#!/usr/bin/bash -x
# SPDX-License-Identifier: MIT
# Copyright (C) Fedora Project Authors
# License Text: https://spdx.org/licenses/MIT.txt
set -euo pipefail
ansible_licensedir="${1}"
ansible_docdir="${2}"
# Install docs and licenses
mkdir -p "${ansible_licensedir}" "${ansible_docdir}"
# This finds the license file for each collection and moves it to
# `${ansible_licensedir}`
for f in $(find -mindepth 3 -iname 'LICENSES' -type d -printf '%P\n')
do
dirname="$(dirname "${ansible_licensedir}/${f}")"
mkdir -p "${dirname}"
mv "${f}" "${ansible_licensedir}/${f}"
done
for f in $(
find . -mindepth 3 -type f \
\( -iname '*LICENSE*' -o -iname '*COPYING*' \) \
-not -name '*.py' -not -name '*.pyc' \
-not -name '*.license' -not -name '*.yaml' -not -name '*.yml' \
-not -name '*.json' \
-printf '%P\n' \
| grep -vE '/docs/[^/]+_module\.rst$'
)
do
dirname="$(dirname "${ansible_licensedir}/${f}")"
mkdir -p "${dirname}"
mv "${f}" "${dirname}"
done
# This does the same thing, but for READMEs.
for f in $(find . -mindepth 3 -type f -name 'README*' -printf '%P\n')
do
dirname="$(dirname "${ansible_docdir}/${f}")"
mkdir -p "${dirname}"
mv "${f}" "${dirname}"
done

View file

@ -1,14 +0,0 @@
diff -Nur ansible-2.4.1.0.orig/requirements.txt ansible-2.4.1.0/requirements.txt
--- ansible-2.4.1.0.orig/requirements.txt 2017-10-25 16:05:04.000000000 -0700
+++ ansible-2.4.1.0/requirements.txt 2017-10-30 14:41:31.202896847 -0700
@@ -3,8 +3,8 @@
# packages. Thus, this should be the loosest set possible (only required
# packages, not optional ones, and with the widest range of versions that could
# be suitable)
-jinja2
+jinja2 >= 2.6
PyYAML
paramiko
-cryptography
+pycrypto >= 2.6
setuptools

69
ansible-prep.sh Executable file
View file

@ -0,0 +1,69 @@
#!/usr/bin/bash -x
# SPDX-License-Identifier: MIT
# Copyright (C) Fedora Project Authors
# License Text: https://spdx.org/licenses/MIT.txt
set -euo pipefail
# Fix wrong-script-end-of-line-encoding in azure.azcollection
find ansible_collections/azure/azcollection -type f -print -exec dos2unix -k '{}' \;
# Remove unnecessary files and directories included in the Ansible collection release tarballs
# Tracked upstream in part by: https://github.com/ansible-community/community-topics/issues/29
echo "[START] Delete unnecessary files and directories"
# Collection tarballs contain a lot of hidden files and directories
hidden_pattern=".*\.(DS_Store|all-contributorsrc|ansible-lint|azure-pipelines|circleci|codeclimate.yml|flake8|galaxy_install_info|gitattributes|github|gitignore|gitkeep|gitlab-ci.yml|idea|keep|mypy_cache|nojekyll|orig|plugin-cache.yaml|pre-commit-config.yaml|project|pydevproject|pytest_cache|pytest_cache|readthedocs.yml|settings|swp|travis.yml|vscode|yamllint|yamllint.yaml|zuul.d|zuul.yaml|rstcheck.cfg|placeholder)$"
find ansible_collections -depth -regextype posix-egrep -regex "${hidden_pattern}" -print -exec rm -r {} \;
# Not needed for runtime
rm -rv ansible_collections/cisco/meraki/scripts/
rm -rv ansible_collections/community/grafana/hacking/
rm -rv ansible_collections/community/okd/ci/
rm -rv ansible_collections/community/vmware/tools/
rm -rv ansible_collections/cyberark/conjur/roles/conjur_host_identity/tests/
rm -rv ansible_collections/google/cloud/scripts/
rm -rv ansible_collections/google/cloud/test-fixtures/
rm -rv ansible_collections/grafana/grafana/tools/
rm -rv ansible_collections/hetzner/hcloud/scripts/
rm -rv ansible_collections/netbox/netbox/hacking/
rm -v ansible_collections/community/mysql/run_all_tests.py
rm -v ansible_collections/dellemc/enterprise_sonic/rebuild.sh
rm -v ansible_collections/ovirt/ovirt/build.sh
# rpmlint W: pem-certificate
find ansible_collections/cyberark/conjur -type f -name "*.pem" -print -delete
# rpmlint E: zero-length
find -type f -name "*requirements.txt" -size 0 -print -delete
rm -v ansible_collections/community/zabbix/roles/zabbix_agent/files/win_sample/doSomething.ps1
rm -v ansible_collections/community/docker/meta/ee-bindep.txt
echo "[END] Delete unnecessary files and directories"
###
# Fix various shebang related issues to appease brp-managle-shebangs
###
find ansible_collections/community/mongodb/roles/*/{files,templates} -type f '!' -executable -name '*.sh*' \
-print -exec chmod a+x '{}' \;
# ansible_collections/lowlydba/sqlserver thought it was a good idea to make
# *every* single file, in its repository executable, including .md, .yml, and
# .rst. :facepalm:
#
# TODO: File issue upstream
find ansible_collections/lowlydba/sqlserver/ -executable -type f -print -exec chmod a-x '{}' \;
# Remove shebangs instead of hardocding to %%__python3 to avoid unexpected issues
# from https://github.com/ansible/ansible/commit/9142be2f6cabbe6597c9254c5bb9186d17036d55.
# Upstream, ansible-core has also removed shebangs from its modules.
#
# XXX: Print out the files before they're replaced
find ansible_collections -type f ! -executable -name '*.py' | tee non_exec
echo ansible_collections/community/sap_libs/plugins/module_utils/swpm2_parameters_inifile_generate.py >> non_exec
# xargs is noticably faster than find -exec, because it spawns one sed process
# instead of ~13 thousand!
xargs -a non_exec -d'\n' sed -i -e '1{\@^#!.*@d}'

9
ansible.rpmlintrc Normal file
View file

@ -0,0 +1,9 @@
addFilter("W: files-duplicate")
addFilter("E: files-duplicated-waste")
addFilter("W: name-repeated-in-summary")
addFilter("W: cross-directory-hard-link")
# Roles' files and templates should not be mangled
addFilter(r"E: env-script-interpreter.*ansible_collections/[^/]+/[^/]+/roles/[^/]+/(files|templates)/")
addFilter(r"E: non-executable-script.*ansible_collections/[^/]+/[^/]+/roles/[^/]+/(files|templates)/")
addFilter("W: no-manual-page-for-binary ansible-community")
addFilter(r"E: zero-length")

File diff suppressed because it is too large Load diff

13
gating.yaml Normal file
View file

@ -0,0 +1,13 @@
# Copyright (C) 2023 Maxwell G <maxwell@gtmx.me>
# SPDX-License-Identifier: MIT
--- !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}
...

View file

@ -1 +1 @@
SHA512 (ansible-2.8.5.tar.gz) = 6555b9a3d3d8298410e54f7116d92fc1978bef185a5136cfb809c1942b08b96c562af9e0d6d1a25eee5a4024d309b6713ce27836857b428a7c362e26efb53777
SHA512 (ansible-13.1.0.tar.gz) = 2e7abd85b44d48ea756c65906811c9fa5519ce5d9ecaca71c718446a52dfc3dff97597d048f071ca820ea606ee2de670e8a0746717f95e2ce636db06273b3544

17
tests/smoke.fmf Normal file
View file

@ -0,0 +1,17 @@
# Copyright (C) 2023 Maxwell G <maxwell@gtmx.me>
# SPDX-License-Identifier: MIT
summary: Run ansible-core smoke tests with ansible bundle installed
discover:
- name: Smoke tests with ansible
how: shell
tests:
- name: Run tests/smoke.sh
test: tests/smoke.sh
require:
- python3-dnf
- dnf-plugins-core
- ansible-core
- ansible
execute:
how: tmt

7
tests/smoke.sh Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/bash -x
# Copyright (C) 2023 Maxwell G <maxwell@gtmx.me>
# SPDX-License-Identifier: MIT
set -euo pipefail
curl -L https://src.fedoraproject.org/rpms/ansible-core/raw/rawhide/f/tests/smoke.sh | bash -x