Commit Graph

53383 Commits (cdd36b908d2c34bd72f9c6f13656df2ecc59c8f9)
 

Author SHA1 Message Date
Matt Clay cdd36b908d
Reduce CI test matrix (#84003) 2 months ago
Matt Clay dbd928cad9
[stable-2.14] release.py - Auto-update setuptools upper bound (#83713) (#83745)
* [stable-2.14] release.py - Auto-update setuptools upper bound (#83713)

When releases are prepared, the upper bound on setuptools in pyproject.toml will be automatically updated
to the latest version available on PyPI. This version will then be tested by the package-data sanity test
during the release process and will be used to build the release.

This change ensures that a released version of ansible-core can be built in the future if a new setuptools
release includes breaking changes that would prevent building a functional package. If a downstream package
maintainer requires a newer setuptools version than the upper bound permits, they can patch pyproject.toml
as needed. Since ansible-core releases support specific Python versions, lack of support for new setuptools
releases will have no effect on support for future Python versions.

(cherry picked from commit 4e69d83fac)

* release.py - Add missing setuptools arg to prepare (#83887)

* release.py - Add missing setuptools arg to prepare

This allows the prepare command to accept the `--no-setuptools` argument.

It also fixes a traceback when using the `prepare` command.

* Use a more accurate type hint

(cherry picked from commit b544ac13ec)

* release.py - Include pyproject.toml in git add (#83892)

(cherry picked from commit e3ccdaaa2e)
2 months ago
Matt Clay efa49d745b
[stable-2.14] tests: use keyserver with keyid while using apt_key (#83694) (#83704)
(cherry picked from commit 3daf01e270)

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
4 months ago
Matt Clay 3566e742de
[stable-2.14] ansible-test - Remove VyOS tests and support files (#83650) (#83654)
The VyOS remote image required for running the tests is no longer functional.
(cherry picked from commit 79f819dc54)
4 months ago
Matt Clay 5800d3bf04
[stable-2.14] Use build instead of pep517 for integration test (#83641)
(cherry picked from commit f261a6142f)
4 months ago
Matt Clay 575a3c3004
[stable-2.14] Quality-of-life improvements for release tool (#83551) (#83561)
* Quality-of-life improvements for release tool

- Default devel releases to b1
- Default non-devel releases to rc1
- Default to release announcement to console
- Avoid auto-links in GH release annoucements for file sizes

(cherry picked from commit 20a815b03f)
5 months ago
Sviatoslav Sydorenko (Святослав Сидоренко) 9bc9f083c8
[2.14] 🧪 Switch CentOS 7 yum repo mirrors to the vault (#83526)
The distro itself reached EoL on June 30, 2024, but these repository
archives live on and should remain usable for testing.

Refs:
* https://www.redhat.com/en/topics/linux/centos-linux-eol
* https://github.com/ansible/pylibssh/commit/01d3442f
* https://gist.github.com/hkneptune/4961532c2df691db79a1c6b72c251b25
* https://vault.centos.org/7.9.2009/

(cherry picked from commit c8c45cdfb4)

(PR #83523)
5 months ago
Matt Clay 57fad4be34
[stable-2.14] ansible-test - Update PyPI test container to 3.1.0 (#83432). (#83443)
(cherry picked from commit 5af5b4b6c8)
6 months ago
Matt Clay 6a89f9b0b2
Update azure-pipelines-test-container (#83378) 6 months ago
Matt Clay a8ceb44a52
ansible-test - Drop Windows 2012/2012-R2 support (#83380) 6 months ago
Sviatoslav Sydorenko (Святослав Сидоренко) d00a739ed9
[stable-2.14] Drop Alpine 3 docker jobs from CI (#83382) 6 months ago
Matt Martz d0c4223a0c
Update Ansible release version to v2.14.17.post0. (#83281) 6 months ago
Matt Martz 896eab43ca
New release v2.14.17 (#83276) 6 months ago
Matt Martz 7f35a92c80
Update Ansible release version to v2.14.17rc1.post0. (#83243) 7 months ago
Matt Martz 5997075665
New release v2.14.17rc1 (#83239) 7 months ago
Matt Clay 63df21e9cb
[stable-2.14] ansible-test - Use PyPI proxy for centos7 (#83226) (#83229)
(cherry picked from commit c0f7e9cc2c)
7 months ago
Sloane Hertel c96341e8e6
Fix installing roles containing symlinks (#82911) (#83139)
* Fix installing roles containing symlinks

Fix sanitizing tarfile symlinks relative to the link directory instead of the archive

For example:

role
├── handlers
│   └── utils.yml -> ../tasks/utils/suite.yml

The link ../tasks/utils/suite.yml will resolve to a path outside of the link's directory, but within the role

role/handlers/../tasks/utils/suite.yml

the resolved path relative to the role is tasks/utils/suite.yml, but if the symlink is set to that value, tarfile would extract it from role/handlers/tasks/utils/suite.yml

* Replace overly forgiving test case with tests for a symlink in a subdirectory of the archive and a symlink in the archive dir when these are not equivalent.

* Build test case from role files to make it easier to add test cases

Fixes #82702
Fixes #81965
Fixes #82051

(cherry picked from commit e84240db84)
7 months ago
Matt Martz a12c3b24a0
[stable-2.14] Don't hardcode the dnf module, dynamically select one (#83183). (#83187)
(cherry picked from commit dc6b77beca)
7 months ago
Matt Martz 125d4d569b
Update Ansible release version to v2.14.16.post0. (#83120) 7 months ago
Matt Martz 3fba71e550
New release v2.14.16 (#83119) 7 months ago
Matt Davis e33f973b26
Update Ansible release version to v2.14.16rc1.post0. (#83065) 7 months ago
Matt Davis f602f868cf
New release v2.14.16rc1 (#83062) 7 months ago
Matt Clay 8bcb70f56a [stable-2.14] Update sdist path in release tool
The latest setuptools package uses a normalized package name for the sdist.
(cherry picked from commit 8bc0d809a6)

Co-authored-by: Matt Clay <matt@mystile.com>
7 months ago
Matt Davis aa035e05a9
Revert "New release v2.14.16 (#83043)" (#83056)
Should've been an rc1- reverting to use normal release process.

This reverts commit e2c6e6511b.
7 months ago
Matt Davis e2c6e6511b
New release v2.14.16 (#83043) 7 months ago
Felix Fontein 10460de6e6
Do not mangle plugin names in collections that start with an underscore. (#82574) (#82887)
(cherry picked from commit c0821346fc)
7 months ago
Jordan Borean 10005e883e
winrm - Handle task timeout (#82784) (#82862)
When using winrm over HTTP with message encryption enabled and a task
has timed out the connection plugin will fail to cleanup the WinRM
command. This will change that exception into a warning as a timeout is
already an exception event and a failure to clean the operation should
not override the timeout error shown.

(cherry picked from commit 8aecd1f9b2)
7 months ago
Matt Martz 78615d0317
Update Ansible release version to v2.14.15.post0. (#82908) 8 months ago
Matt Martz 43bd7f6b44
New release v2.14.15 (#82905) 8 months ago
Matt Clay 4a99568fa3
[stable-2.14] ansible-test - Fix Alpine libexpat bootstrapping (#82898)
* [stable-2.14] ansible-test - Fix Alpine libexpat bootstrapping

(cherry picked from commit ca168eb367)

Co-authored-by: Matt Clay <matt@mystile.com>

* Alpine 3.16 has `expat` instead of `libexpat`
8 months ago
Matt Martz eef7bf7e4b
Update Ansible release version to v2.14.15rc1.post0. (#82841) 8 months ago
Matt Martz a8e3306e9e
New release v2.14.15rc1 (#82837) 8 months ago
Jordan Borean fa58e635bc
Re-enable psrp tests that were disabled (#82785) (#82786)
(cherry picked from commit bb030db546)
9 months ago
Martin Krizek 3d263f8330
Prevent failures due to unsafe plugin name (#82759) (#82791)
(cherry picked from commit 56f31126ad)
9 months ago
Matt Martz cb82ddec02
[stable-2.14] Install crun from Alpine 3.19 for known musl compatibility (#82812). (#82816)
(cherry picked from commit 86f48a526a)
9 months ago
Matt Clay 9e1fd8f2f0
[stable-2.14] ansible-test - Add work-around for pytest>=8 errors (#82723) (#82729)
* ansible-test - Add work-around for pytest>=8 errors
* Update changelogs/fragments/ansible-test-pytest-8.yml

(cherry picked from commit a1edb61ce7)
9 months ago
Matt Martz 93a5f75ae3
[stable-2.14] Disable ansible-test podman container tests on Ubuntu 22.04 (#82748) (#82754)
(cherry picked from commit 9a8be1e)
9 months ago
Matt Martz 6bc377e3f0
Update Ansible release version to v2.14.14.post0. (#82620) 10 months ago
Matt Martz 8416f4584d
New release v2.14.14 (#82617) 10 months ago
Matt Martz e53aefddaa
Update Ansible release version to v2.14.14rc1.post0. (#82589) 10 months ago
Matt Martz b4bd9a6761
New release v2.14.14rc1 (#82585) 10 months ago
Nilashish Chakraborty aa37f3cf25
[backport][stable-2.14] Support `action_plugin` in plugin_routing_schema (#82562) (#82583)
* Support `action_plugin` in plugin_routing_schema (#82562)

now validation schema matches reality

Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
Co-authored-by: s-hertel <19572925+s-hertel@users.noreply.github.com>
(cherry picked from commit b01f1f207c)

* Module redirects should be FQCR

Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>

* pep8 fixes

Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>

---------

Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
10 months ago
Matt Martz beb04bc264
[stable-2.14] Ensure ANSIBLE_NO_LOG is respected (CVE-2024-0690) (#82565) (#82568)
(cherry picked from commit 6935c8e)
10 months ago
Sloane Hertel 080c3ce90c
Targeted fix for installing roles with symlinks containing '..' (#82165) (#82325)
Set the tarfile attribute to a normalized value from unfrackpath instead
of validating path parts and omiting potentially invald parts

Allow tarfile paths/links containing '..', '$', '~' as long as the
normalized realpath is in the tarfile's role directory

(cherry picked from commit 3a42a00368)
10 months ago
Felix Fontein 249f88db80
Fix broken docs RST reference. (#82286) (#82299)
(cherry picked from commit 479949aad2)
10 months ago
Matt Martz 14c0916f0a
Enable directly using `AnsibleUnsafeText` with Python `pathlib` (#82510) (#82564)
* Enable directly using `AnsibleUnsafeText` with Python `pathlib`. Fixes #82414.
(cherry picked from commit c6a652c081)
10 months ago
Abhijeet Kasurde 69d08cf8de [backport-2.14] CI: remove FreeBSD 12.4 from test matrix (#81315)
Fixes: #80417

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit 11e261b54f)
11 months ago
Matt Martz a3ded0e8e3
Update Ansible release version to v2.14.13.post0. (#82402) 12 months ago
Matt Martz d921f2206c
New release v2.14.13 (#82401) 12 months ago
Matt Martz 49c05da2d2
[stable-2.14] Additional Unsafe fixes (#82376) (#82381)
* Allow older pickle protocols to pickle unsafe classes. Fixes #82356

* Address issues when iterating or getting single index from AnsibleUnsafeBytes. Fixes #82375

* clog frag
(cherry picked from commit afe3fc1)
12 months ago