Commit Graph

53381 Commits (efa49d745bc2ea63eac201b72596b2e9b718dd71)
 

Author SHA1 Message Date
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>
2 years 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)
2 years ago
Matt Clay 5800d3bf04
[stable-2.14] Use build instead of pep517 for integration test (#83641)
(cherry picked from commit f261a6142f)
2 years 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)
2 years 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)
2 years ago
Matt Clay 57fad4be34
[stable-2.14] ansible-test - Update PyPI test container to 3.1.0 (#83432). (#83443)
(cherry picked from commit 5af5b4b6c8)
2 years ago
Matt Clay 6a89f9b0b2
Update azure-pipelines-test-container (#83378) 2 years ago
Matt Clay a8ceb44a52
ansible-test - Drop Windows 2012/2012-R2 support (#83380) 2 years ago
Sviatoslav Sydorenko (Святослав Сидоренко) d00a739ed9
[stable-2.14] Drop Alpine 3 docker jobs from CI (#83382) 2 years ago
Matt Martz d0c4223a0c
Update Ansible release version to v2.14.17.post0. (#83281) 2 years ago
Matt Martz 896eab43ca
New release v2.14.17 (#83276) 2 years ago
Matt Martz 7f35a92c80
Update Ansible release version to v2.14.17rc1.post0. (#83243) 2 years ago
Matt Martz 5997075665
New release v2.14.17rc1 (#83239) 2 years ago
Matt Clay 63df21e9cb
[stable-2.14] ansible-test - Use PyPI proxy for centos7 (#83226) (#83229)
(cherry picked from commit c0f7e9cc2c)
2 years 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)
2 years ago
Matt Martz a12c3b24a0
[stable-2.14] Don't hardcode the dnf module, dynamically select one (#83183). (#83187)
(cherry picked from commit dc6b77beca)
2 years ago
Matt Martz 125d4d569b
Update Ansible release version to v2.14.16.post0. (#83120) 2 years ago
Matt Martz 3fba71e550
New release v2.14.16 (#83119) 2 years ago
Matt Davis e33f973b26
Update Ansible release version to v2.14.16rc1.post0. (#83065) 2 years ago
Matt Davis f602f868cf
New release v2.14.16rc1 (#83062) 2 years 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>
2 years 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.
2 years ago
Matt Davis e2c6e6511b
New release v2.14.16 (#83043) 2 years ago
Felix Fontein 10460de6e6
Do not mangle plugin names in collections that start with an underscore. (#82574) (#82887)
(cherry picked from commit c0821346fc)
2 years 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)
2 years ago
Matt Martz 78615d0317
Update Ansible release version to v2.14.15.post0. (#82908) 2 years ago
Matt Martz 43bd7f6b44
New release v2.14.15 (#82905) 2 years 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`
2 years ago
Matt Martz eef7bf7e4b
Update Ansible release version to v2.14.15rc1.post0. (#82841) 2 years ago
Matt Martz a8e3306e9e
New release v2.14.15rc1 (#82837) 2 years ago
Jordan Borean fa58e635bc
Re-enable psrp tests that were disabled (#82785) (#82786)
(cherry picked from commit bb030db546)
2 years ago
Martin Krizek 3d263f8330
Prevent failures due to unsafe plugin name (#82759) (#82791)
(cherry picked from commit 56f31126ad)
2 years ago
Matt Martz cb82ddec02
[stable-2.14] Install crun from Alpine 3.19 for known musl compatibility (#82812). (#82816)
(cherry picked from commit 86f48a526a)
2 years 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)
2 years ago
Matt Martz 93a5f75ae3
[stable-2.14] Disable ansible-test podman container tests on Ubuntu 22.04 (#82748) (#82754)
(cherry picked from commit 9a8be1e)
2 years ago
Matt Martz 6bc377e3f0
Update Ansible release version to v2.14.14.post0. (#82620) 2 years ago
Matt Martz 8416f4584d
New release v2.14.14 (#82617) 2 years ago
Matt Martz e53aefddaa
Update Ansible release version to v2.14.14rc1.post0. (#82589) 2 years ago
Matt Martz b4bd9a6761
New release v2.14.14rc1 (#82585) 2 years 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>
2 years ago
Matt Martz beb04bc264
[stable-2.14] Ensure ANSIBLE_NO_LOG is respected (CVE-2024-0690) (#82565) (#82568)
(cherry picked from commit 6935c8e)
2 years 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)
2 years ago
Felix Fontein 249f88db80
Fix broken docs RST reference. (#82286) (#82299)
(cherry picked from commit 479949aad2)
2 years 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)
2 years 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)
2 years ago
Matt Martz a3ded0e8e3
Update Ansible release version to v2.14.13.post0. (#82402) 2 years ago
Matt Martz d921f2206c
New release v2.14.13 (#82401) 2 years 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)
2 years ago
Sviatoslav Sydorenko (Святослав Сидоренко) 01b7d928aa
[backport-2.14] Replace FreeBSD 13.1 with 13.2 in CI and ansible-test (#82398)
* [backport-2.14] Add FreeBSD 13.2 to ansible-test (#80698)

(cherry picked from commit d12aa7f69c)

* [backport-2.14] remove Freebsd 13.1 from test matrix (#81058)

* remove Freebsd 13.1 from test matrix

fixes #80416

Co-authored-by: Matt Clay <matt@mystile.com>
(cherry picked from commit 534f688a53)

* Revert to the original Python versions for the branch

Co-authored-by: Matt Martz <matt@sivel.net>

---------

Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>
Co-authored-by: Matt Martz <matt@sivel.net>
2 years ago
Sviatoslav Sydorenko cf15cd7d44
[backport][stable-2.14] 🧪 Replace GitHub SVN integration test with local TLS (#82370)
* [backport][stable-2.14] 🧪 Replace GitHub SVN integration test with local TLS

PR #82334

* Run svn integration test locally with TLS

This patch uses a `trustme` to make an ephemeral CA, and server, and
client TLS artifacts for testing. These are integrated into the Apache
web server via it's `mod_ssl`.

Resolves #82207

* Replace GitHub SVN HTTPS URL w/ localhost over TLS

This change gets rid of the need to use GitHub, which is just about to
drop support for SVN [[1]]. Moreover, it eliminates the need to use
external network for any SVN commands in the test.

[1]: https://github.blog/2023-01-20-sunsetting-subversion-support/

(cherry picked from commit dd0138ba21)

* Implement compat w/ opensuse15, centos7 & rhel7/8
2 years ago