Compare commits
177 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3fe81f9f48 | ||
|
|
f5d5058b89 |
||
|
|
8ccfa15caf |
||
|
|
bab3b123d8 |
||
|
|
9af08281c8 |
||
|
|
d3e4d724a9 | ||
|
|
fb25488b11 | ||
|
|
0d4e415b59 | ||
|
|
ae9ed89dc4 |
||
|
|
78b689b64f | ||
|
|
ebd6903521 | ||
|
|
80f1c81555 | ||
|
|
5a428675a8 |
||
|
|
f9a83db4cf | ||
|
|
e7b510f109 |
||
|
|
4cf3fd7e86 | ||
|
|
dc2bab8df8 | ||
|
|
b79d47f109 |
||
|
|
ae4659d82e | ||
|
|
36554cbe7e |
||
|
|
f4bc470894 | ||
|
|
3527e7f950 |
||
|
|
3aa96e9369 | ||
|
|
8845afc540 | ||
|
|
18a1a42a59 |
||
|
|
8dcd916018 |
||
|
|
14070d64b6 |
||
|
|
42be9da716 | ||
|
|
9c28385cde | ||
|
|
a6d0aee32b |
||
|
|
b5e6ba8f9e | ||
|
|
e8ad128252 | ||
|
|
706a563eb7 | ||
|
|
f89fa3bf85 |
||
|
|
fba9f24c2a |
||
|
|
6a44275fd9 |
||
|
|
3b956072fa |
||
|
|
cc8d986d85 |
||
|
|
73c3761906 |
||
|
|
cd408233d6 |
||
|
|
3eea4a5b63 |
||
|
|
03969f6894 |
||
|
|
9fc79dd892 |
||
|
|
f6be2d66d0 | ||
|
|
b3c98a1168 | ||
|
|
2e72b45364 |
||
|
|
a4ef454793 |
||
|
|
d7639d3f60 |
||
|
|
2c7d8baf8e |
||
|
|
b9879dbfe8 |
||
|
|
27ce592279 |
||
|
|
46761eba56 |
||
|
|
08bc5068fe | ||
|
|
0321735d7f |
||
|
|
fb34c87373 |
||
|
|
8ae37334e1 | ||
|
|
1e8d0b7bf4 |
||
|
|
4c40dd8a0c |
||
|
|
021c6e7683 |
||
|
|
2d214aeabb |
||
|
|
030afe947d |
||
|
|
b3fea49291 |
||
|
|
5abfdcb89d |
||
|
|
9e268c07b6 |
||
|
|
81b557b379 |
||
|
|
935fbf09a0 |
||
|
|
1689b29d87 |
||
|
|
0ad6f9b8eb |
||
|
|
cd327caae8 |
||
|
|
e0f79820af |
||
|
|
38ecce6780 |
||
|
|
de97f8a9a3 |
||
|
|
fdb05b5cc1 |
||
|
|
ac18b94e68 |
||
|
|
2d5e2eff8d |
||
|
|
2b8666fab0 |
||
|
|
93d8d9318f | ||
|
|
89056a9cea |
||
|
|
58137fda70 |
||
|
|
40724bcc7b |
||
|
|
a4066fae5c |
||
|
|
1bf2be2a3d |
||
|
|
3479c26f99 |
||
|
|
e9de674184 |
||
|
|
549dd469e9 |
||
|
|
97dd8c8d95 |
||
|
|
97d2539941 |
||
|
|
b20511418f |
||
|
|
481b80c79a |
||
|
|
ff17785704 |
||
|
|
23d7aa9e3a |
||
|
|
31ccbd4afe | ||
|
|
4f6358bd70 |
||
|
|
10415a99d1 |
||
|
|
ff7cd6026a |
||
|
|
fddebdc7e6 |
||
|
|
9bec653d4a |
||
|
|
9ecd995a5e |
||
|
|
7482ca2420 |
||
|
|
08fbf34e09 | ||
|
|
9f7b7074c2 | ||
|
|
28390405d0 |
||
|
|
495495e878 |
||
|
|
9b3fbb312d |
||
|
|
04c5dbb612 |
||
|
|
13374b7f43 |
||
|
|
2310ea2562 |
||
|
|
b453756f28 |
||
|
|
cb4308a842 |
||
|
|
07ee1632ef |
||
|
|
06d0178dbf |
||
|
|
df3a657cd3 |
||
|
|
0d952dd461 | ||
|
|
ee8c7d6028 |
||
|
|
be43570d9f |
||
|
|
50081c1e6d |
||
|
|
3e43429612 |
||
|
|
3f8e37cb01 |
||
|
|
e58d6b2c8c |
||
|
|
95b3b7da3d | ||
|
|
363f30667f |
||
|
|
dca8a3ec4f |
||
|
|
352083697e |
||
|
|
a458d3d22c |
||
|
|
87ec6462d3 | ||
|
|
08f34bbfe1 |
||
|
|
c947a30f28 |
||
|
|
e6326587dc | ||
|
|
2beba00ac1 |
||
|
|
7369bf12b2 |
||
|
|
663b08d497 | ||
|
|
120cc50587 | ||
|
|
cd1958dd9e | ||
|
|
19c10f98f2 | ||
|
|
2b5eb14c84 | ||
|
|
33bccbcfc9 | ||
|
|
c54581f472 | ||
|
|
f2669e1290 | ||
|
|
b777386fb3 | ||
|
|
6a181e3742 | ||
|
|
a2465762f1 | ||
|
|
f72cb6d5b7 | ||
|
|
d1181c4610 | ||
|
|
0622d766bd | ||
|
|
e89035e0fb | ||
|
|
a1fd4ae0fa | ||
|
|
3388b91d6e | ||
|
|
275e4f0b37 | ||
|
|
c962634ee0 | ||
|
|
76106f507e | ||
|
|
127420a190 | ||
|
|
936d8030cd | ||
|
|
34e5efc699 | ||
|
|
7df9e3edef |
||
|
|
250a3086bc |
||
|
|
e1457c05cd |
||
|
|
75289c7289 | ||
|
|
a200d48509 | ||
|
|
9425f2bcc8 | ||
|
|
4e4f90cd41 | ||
|
|
5ce32992e7 | ||
|
|
7ce937e2a3 | ||
|
|
6f73240689 | ||
|
|
4c3c4174f4 |
||
|
|
db3f8ce6dc |
||
|
|
8b36136ff8 | ||
|
|
fb103893f4 | ||
|
|
caaa954078 | ||
|
|
04f6096821 | ||
|
|
795f49748e | ||
|
|
15659973b4 | ||
|
|
f3a4fa4568 | ||
|
|
bc604ab062 | ||
|
|
2ffc66d64f | ||
|
|
8b64ada50b | ||
|
|
385af9b086 | ||
|
|
88ed9f1219 |
14 changed files with 713 additions and 594 deletions
24
.coveragerc
24
.coveragerc
|
|
@ -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
1
.fmf/version
Normal file
|
|
@ -0,0 +1 @@
|
|||
1
|
||||
88
.gitignore
vendored
88
.gitignore
vendored
|
|
@ -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
33
.packit.yaml
Normal 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"
|
||||
50
56806.patch
50
56806.patch
|
|
@ -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
46
ansible-install-licenses.sh
Executable 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
|
||||
|
|
@ -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
69
ansible-prep.sh
Executable 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
9
ansible.rpmlintrc
Normal 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")
|
||||
934
ansible.spec
934
ansible.spec
File diff suppressed because it is too large
Load diff
13
gating.yaml
Normal file
13
gating.yaml
Normal 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}
|
||||
...
|
||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (ansible-2.8.5.tar.gz) = 6555b9a3d3d8298410e54f7116d92fc1978bef185a5136cfb809c1942b08b96c562af9e0d6d1a25eee5a4024d309b6713ce27836857b428a7c362e26efb53777
|
||||
SHA512 (ansible-13.1.0.tar.gz) = 2e7abd85b44d48ea756c65906811c9fa5519ce5d9ecaca71c718446a52dfc3dff97597d048f071ca820ea606ee2de670e8a0746717f95e2ce636db06273b3544
|
||||
|
|
|
|||
17
tests/smoke.fmf
Normal file
17
tests/smoke.fmf
Normal 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
7
tests/smoke.sh
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue