Commit Graph

52755 Commits (c3dd88e7700a96ef145c72aef37c10234ecc86a3)
 

Author SHA1 Message Date
Matt Clay c3dd88e770
[stable-2.13] Fix missing command descriptions in manpages/docs (#81366). (#81372)
(cherry picked from commit 32b388b4ca)
2 years ago
Matt Clay e58f1b47b7
[stable-2.13] Fix command doc lookup in man page generation (#81365) (#81367)
(cherry picked from commit f9d674fcfd)
2 years ago
Matt Clay 94281e77f0
[stable-2.13] Exclude internal options from man pages and docs (#81360) (#81363)
(cherry picked from commit fead654671)
2 years ago
Matt Clay 66f04c276a
[stable-2.13] ansible-test - update module_utils/urls.py unit test to support cryptography >= 41.0.0 (#81296) (#81318)
(cherry picked from commit d20a0c02cc)

Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
3 years ago
Matt Clay b203e0a285
[stable-2.13] Convert non-docs *.rst files to *.md (#81217) (#81224)
* [stable-2.13] Convert non-docs *.rst files to *.md (#81217)

* Rename README.rst to README.md

* Change README format from reStructuredText to Markdown

* Fix whitespace in README.md

* Update setup.cfg to use README.md

* Replace changelog placeholder with README.md

* Update package-data sanity test
(cherry picked from commit 38e50c9f81)

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

* Remove README.rst from MANIFEST.in
3 years ago
Matt Clay bbf1aacf16
[stable-2.13] Add missing skip entries for selinux module_util (#81305) (#81309)
(cherry picked from commit 18cbfc688b)
3 years ago
Matt Clay 191cdf5ae5
[stable-2.13] ansible-test - Pre-build PyYAML wheels (#81300) (#81311)
* [stable-2.13] ansible-test - Pre-build PyYAML wheels (#81300)

This works around Cython failures when attempting to install PyYAML >= 5.4 <= 6.0..
(cherry picked from commit e964078a83)

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

* Skip PEP 517 tests on FreeBSD
3 years ago
Matt Clay 3ad838b86c
[stable-2.13] Disable cron integration test on Alpine (#81301) (#81304)
The tests are now failing due to the lack of `libfaketime` in the Alpine repos.
(cherry picked from commit 261a12b8a9)
3 years ago
Matt Clay 0951694932
Update Ansible release version to v2.13.11.post0. (#81288) 3 years ago
Matt Clay a1bad8755a
New release v2.13.11 (#81285) 3 years ago
Sviatoslav Sydorenko d03bf6430c
Replace `reboot_command` integration test with unit tests (#78956) (#81268)
Co-authored-by: Matt Clay <matt@mystile.com>

(cherry picked from commit b6ebb9d41a)
3 years ago
Matt Clay c8b5d96ee0
[stable-2.13] Use *.md instead of *.rst for test READMEs (#81009). (#81231)
(cherry picked from commit 6ac0ea3567)
3 years ago
Matt Clay 4589e30b02
[stable-2.13] Reorganize CI sanity test matrix (#81004) (#81227)
(cherry picked from commit ff359fa8e1)
3 years ago
Matt Davis 3bce7bc1c5
Update Ansible release version to v2.13.11rc1.post0. (#81211) 3 years ago
Matt Davis dc54ab1ad9
New release v2.13.11rc1 (#81206) 3 years ago
Martin Krizek 58ae119ccf
Re-introduce RHEL 9 modularity testing in CI (#81160) (#81194)
(cherry picked from commit 7b2647f3b2)
3 years ago
Matt Davis b2114ef794
[stable-2.13] define code owners to support branch-protection rules on docs (#81041) (#81045)
* during interim docs/ (and related dirs) split to separate repo, prevent merges that might require a rebase of the target repo
(cherry picked from commit 9117762358)
3 years ago
Sviatoslav Sydorenko c745853d4c
Bump azure-pipelines-test-container to v4.0.1 @ CI (#80939)
This patch updates the test container used in CI to the new v4 that
defaults to using Python 3.10 and is based on Ubuntu 22.04 Jammy[[1]].

[1]: https://github.com/ansible/azure-pipelines-test-container/pull/17
3 years ago
Matt Clay ffee15678d
[stable-2.13] Remove hacking dir dependency from build backend (#81027)
* Copy man generation files into build backend

* Use copied files in build backend
3 years ago
Matt Clay be6a990a89
[stable-2.13] Remove docs dir dependency from man page build (#81003) (#81024)
* [stable-2.13] Remove docs dir dependency from man page build (#81003)
(cherry picked from commit b3f1290bcd)

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

* Update path in Makefile
3 years ago
Matt Davis 2765ab6f28
Remove straight.plugin dependency (#80084) (#81020)
(cherry picked from commit f587856)
3 years ago
Matt Clay bf09febd98
[stable-2.13] ansible-test - local change detection without --fork-point (#79734) (#80901)
(cherry picked from commit a5bb4c7dee)

Co-authored-by: Felix Fontein <felix@fontein.de>
3 years ago
Don Naro c55729d3cd
update version switcher for 2.15 (#80792)
Co-authored-by: Sandra McCann <samccann@redhat.com>
3 years ago
Matt Clay 2babffb5c5
[stable-2.13] ansible-test - Fix traceback when mixing sources (#80801) (#80830)
* ansible-test - Fix traceback when mixing sources

* ansible-test - Refactor layout error handling.

(cherry picked from commit b16041f1a9)
3 years ago
Matt Martz 44605cae72
Update Ansible release version to v2.13.10.post0. (#80864) 3 years ago
Matt Martz d4f0771c9b
New release v2.13.10 (#80859) 3 years ago
Matt Martz 4d01ecb865
Update Ansible release version to v2.13.10rc1.post0. (#80802) 3 years ago
Matt Martz e69ca3420c
New release v2.13.10rc1 (#80797) 3 years ago
Matt Clay 1141376de5
[stable-2.13] ansible-test - Fix handling of long timeouts (#80769) (#80774)
(cherry picked from commit aacab0633a)
3 years ago
Matt Clay 9ce8eb56be
[stable-2.13] ansible-test - Fix timeout handling (#80764). (#80767)
(cherry picked from commit 4c6aa70662)
3 years ago
Matt Clay 8f07fda2b5
[stable-2.13] ansible-test - Avoid use of deprecated utcnow (#80750) (#80759)
The timestamps are only used by ansible-test, not the junit callback, so this change only impacts ansible-test.

(cherry picked from commit fd341265d0)
3 years ago
Matt Clay ab220107d5
ansible-test - Relax pylint config for backports (#80770) 3 years ago
Matt Clay 339d42332c
[stable-2.13] pep517 backend - Copy symlinks when copying source (#80690) (#80702)
(cherry picked from commit 54576cd794)
3 years ago
Sloane Hertel 7aefdb493b
[ansible-galaxy] Fix installing signed collections (#80661) (#80667)
* Fix installing signed collections by using the fqcn, version, source, and type as a unique identifier.

Define __hash__ and __eq__ methods to handle Candidate/Requirement comparison excluding signatures which aren't fully populated until install time.

* Remove PinnedCandidateRequests since it is redundant now.

* Fix verifying against a signed remote when the keyring isn't configured

(cherry picked from commit d5e2e7a0a8)
3 years ago
Matt Clay 8bf75b6686
[stable-2.13] Release tool improvements (#80641) (#80681)
* Provide reproducible sdist builds.
* Use reproducible wheel builds.
* Add PyPI artifact checks.

(cherry picked from commit d37678c5ff)
3 years ago
Matt Clay 4aa5de7a8b
Disable failing incidental_inventory_docker_swarm (#80659)
Also remove remote incidental tests from the test matrix, as this was the last one.
3 years ago
Matt Clay 8fb7c10498
[stable-2.13] ansible-test - Use FreeBSD packaged setuptools (#80615) (#80618)
This will avoid issues during bootstrapping caused by breaking changes in setuptools.

(cherry picked from commit abc58c026b)
3 years ago
Matt Martz 80c7cff394
Update Ansible release version to v2.13.9.post0. (#80613) 3 years ago
Matt Martz 1e80e4319f
New release v2.13.9 (#80610) 3 years ago
Matt Martz 67a0cf505f
Update Ansible release version to v2.13.9rc1.post0. (#80538) 3 years ago
Matt Martz 2449b9a09e
New release v2.13.9rc1 (#80535) 3 years ago
Brian Coca ae02b5353d
password lookup, handle ident properly when saved (#80251) (#80312)
* password lookup, handle ident properly when saved (#80251)

* password lookup, handle ident properly when saved

  Currently we format and save ident when present but we didn't account for this when reading the saved file
  Also added some more robust error handling.

(cherry picked from commit 0fd88717c9)

* fix try indent

* clog

* fix bad merge indentation
3 years ago
Jordan Borean 261e5b74cc
Ansible.Basic - Improve temporary file cleanup process (#80293) (#80325)
* Ansible.Basic - Improve temporary file cleanup process

* Add comment on struct value used

(cherry picked from commit ba4505f5cb)
3 years ago
Jordan Borean e267230a6b
Improve Ansible.Basic.cs tempdir uniqueness (#80328) (#80330)
* Improve Ansible.Basic.cs tempdir uniqueness

The current tempdir naming scheme can result in the same name if the
remote worker starts at the same time as another. By using the process
id it should add enough uniqueness to avoid this situation.

* Fix sanity issues

* Fix up compile issue on older hosts

(cherry picked from commit fb6b90fe42)
3 years ago
Sloane Hertel 25e77b7c98
Fetch signatures from galaxy after the dependency resolver runs (#80334) (#80399)
Reduce the number of Galaxy API calls made during dependency resolution by fetching remote signatures afterwards, since these are not used in backtracking.

Reduce the verbosity to `-vvvv` (to match other Galaxy API calls) to see this activity.

Co-authored-by: Sviatoslav Sydorenko <webknjaz@redhat.com>
(cherry picked from commit 460abe0cef)
3 years ago
Matt Martz dab3640527
[stable-2.13] ansible-galaxy collection install retry improvements (#80180) (#80275)
* clog frag

* Fix retries so that each explicit call to _call_galaxy is retried for the correct number of attempts. Fixes #80174

* Extend retry logic to common URL related connection errors. Fixes #80170

* Extend retries to downloading artifacts

* Extend param docs for change

* Rework the exception handling

* Don't be overly broad, reduce to TimeoutError, and BadStatusLine for now

* _download_file needs to raise AnsibleError.orig_exc

* Remove unused import

* Add IncompleteRead

* Add socket.timeout for py39

* Add 502 to retry codes

* Move http error code checking first

* Use itertools.tee to replay the backoff_iterator instead of using a callable

* Actually set a CLI default of 60s for timeout, to prevent implicit galaxy from using 10s as default from Request.open

* Import typing

* fix type hints

* Use http.HTTPStatus instead of int HTTP error codes where feasible

* Split exception handling



* Add missing import

---------

.
(cherry picked from commit 2ae013667e)
3 years ago
Matt Clay 2e50a9e482
[stable-2.13] pep517 backend - Use correct import_module import (#80480) (#80503)
(cherry picked from commit e87802cf2c)
3 years ago
Matt Clay af1cbc9bb6
[stable-2.13] ansible-test - Add support for argcomplete 3 (#80482) (#80486)
(cherry picked from commit 0371ea08d6)
3 years ago
Matt Clay ef0924883b
[stable-2.13] ansible-test - Fix packaging change classification (#80360). (#80362)
(cherry picked from commit 5d64024f1a)
3 years ago
Sviatoslav Sydorenko 18d6ae1e1f
Fix `entry_points` integration test for PEP 517 (#80357)
This patch pre-builds the sdist via build using the self-eliminating
in-tree build backend and then, feeds the result to a pottentially
outdated pip (below v20) so that it uses the setuptools' native
PEP 517 build backend to build a wheel on install.
3 years ago