summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update Ansible release version to v2.13.10rc1.post0. (#80802)stable-2.13Matt Martz2023-05-151-1/+1
|
* New release v2.13.10rc1 (#80797)v2.13.10rc1Matt Martz2023-05-154-1/+66
|
* [stable-2.13] ansible-test - Fix handling of long timeouts (#80769) (#80774)Matt Clay2023-05-102-1/+3
| | | (cherry picked from commit aacab0633a963e7a89fc1e6ac71cdf06553f96ab)
* [stable-2.13] ansible-test - Fix timeout handling (#80764). (#80767)Matt Clay2023-05-107-36/+83
| | | (cherry picked from commit 4c6aa70662e6f2804686a32bea611a8aa870b363)
* [stable-2.13] ansible-test - Avoid use of deprecated utcnow (#80750) (#80759)Matt Clay2023-05-107-12/+16
| | | | | The timestamps are only used by ansible-test, not the junit callback, so this change only impacts ansible-test. (cherry picked from commit fd341265d001d4e6545ffb2b7d154340cb1f1931)
* ansible-test - Relax pylint config for backports (#80770)Matt Clay2023-05-101-1/+1
|
* [stable-2.13] pep517 backend - Copy symlinks when copying source (#80690) ↵Matt Clay2023-05-092-1/+4
| | | | | (#80702) (cherry picked from commit 54576cd794530768a67bddba2f7450b614611e92)
* [ansible-galaxy] Fix installing signed collections (#80661) (#80667)Sloane Hertel2023-05-094-32/+12
| | | | | | | | | | | * 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 d5e2e7a0a8ca9017a091922648430374539f878b)
* [stable-2.13] Release tool improvements (#80641) (#80681)Matt Clay2023-05-011-1/+50
| | | | | | | * Provide reproducible sdist builds. * Use reproducible wheel builds. * Add PyPI artifact checks. (cherry picked from commit d37678c5ff221ada71afc0cad3ff7b70e0a0ec2f)
* Disable failing incidental_inventory_docker_swarm (#80659)Matt Clay2023-05-012-13/+1
| | | Also remove remote incidental tests from the test matrix, as this was the last one.
* [stable-2.13] ansible-test - Use FreeBSD packaged setuptools (#80615) (#80618)Matt Clay2023-04-242-0/+3
| | | | | This will avoid issues during bootstrapping caused by breaking changes in setuptools. (cherry picked from commit abc58c026b2e91af4a2bb57f7bfe21c609bd3de9)
* Update Ansible release version to v2.13.9.post0. (#80613)Matt Martz2023-04-241-1/+1
|
* New release v2.13.9 (#80610)v2.13.9Matt Martz2023-04-244-4/+18
|
* Update Ansible release version to v2.13.9rc1.post0. (#80538)Matt Martz2023-04-171-1/+1
|
* New release v2.13.9rc1 (#80535)v2.13.9rc1Matt Martz2023-04-174-1/+125
|
* password lookup, handle ident properly when saved (#80251) (#80312)Brian Coca2023-04-174-48/+104
| | | | | | | | | | | | | | | | * 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 0fd88717c953b92ed8a50495d55e630eb5d59166) * fix try indent * clog * fix bad merge indentation
* Ansible.Basic - Improve temporary file cleanup process (#80293) (#80325)Jordan Borean2023-04-143-6/+433
| | | | | | | * Ansible.Basic - Improve temporary file cleanup process * Add comment on struct value used (cherry picked from commit ba4505f5cb2fb52cda450a06679ddea3599e3e70)
* Improve Ansible.Basic.cs tempdir uniqueness (#80328) (#80330)Jordan Borean2023-04-142-1/+4
| | | | | | | | | | | | | * 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 fb6b90fe4255e9995706905e2a9cde205648c0d2)
* Fetch signatures from galaxy after the dependency resolver runs (#80334) ↵Sloane Hertel2023-04-146-5/+19
| | | | | | | | | | (#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 460abe0ceffc5ca99b3cc2f2e3ef07aa2cb225dc)
* [stable-2.13] ansible-galaxy collection install retry improvements (#80180) ↵Matt Martz2023-04-124-26/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#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 2ae013667ef226635fe521be886efd1bf58cd46f)
* [stable-2.13] pep517 backend - Use correct import_module import (#80480) ↵Matt Clay2023-04-122-1/+3
| | | | | (#80503) (cherry picked from commit e87802cf2c75c5f2578e58ed2edb3e033623cc78)
* [stable-2.13] ansible-test - Add support for argcomplete 3 (#80482) (#80486)Matt Clay2023-04-113-5/+25
| | | (cherry picked from commit 0371ea08d6de55635ffcbf94da5ddec0cd809495)
* [stable-2.13] ansible-test - Fix packaging change classification (#80360). ↵Matt Clay2023-03-293-5/+15
| | | | | (#80362) (cherry picked from commit 5d64024f1ab1283750f2211692970dfa1b351ed5)
* Fix `entry_points` integration test for PEP 517 (#80357)Sviatoslav Sydorenko2023-03-291-1/+10
| | | | | | 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.
* [backport-2.13] 📦 Integrate manpage builds into PEP 517 build backend ↵Sviatoslav Sydorenko2023-03-289-1/+673
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#80130) This change includes backports of the PRs #79606, #80098, #80253, #80255 and #80262, with a number of backward compatibility changes that make it work and be testable in older CI environments. This patch creates a thin wrapper around the `setuptools`' PEP 517 build backend in-tree. It features an ability to request generating the manpage files in-memory, in the process of building a source distribution. The build is happening in an isolated temporary directory. This toggle is implemented using the `config_settings` mechanism of PEP 517. One must explicitly pass it a CLI option to the build front-end to trigger said behavior. The packagers are expected to use the following call: python -m build --config-setting=--build-manpages This option has no effect on building wheels. 🧪 The change includes integration tests This test runs building and re-building sdists and wheels with and without the `--build-manpages` config setting under the oldest-supported and new `setuptools` pinned. It is intended to preserve the interoperability of the packaging setup across Python runtimes. An extra smoke test also verifies that non PEP 517 interfaces remain functional. 📦 The sdist build-system is switched to pure setuptools upon the first build from Git checkout This patch modifies the in-tree build backend to build sdists that swap out pointers to it in the `pyproject.toml`'s `[build-system]` section. The effect of this is that the first build from source (for example, from a Git checkout) uses our PEP 517 in-tree build backend. But the produced tarball has `build-backend` set to `setuptools.build_meta` which is the native build backend of `setuptools`. So any following builds from that sdist will skip using the in-tree build backend, calling the setuptools' one. The good news is that if the first build generated the manpages, they will be included and won't go anywhere even though, a different build system is in place. Combined with #80253, this makes sure not to modify the current source checkout on that first build. Co-Authored-By: Matt Clay <matt@mystile.com> Co-Authored-By: Matt Davis <6775756+nitzmahone@users.noreply.github.com> (cherry picked from commit 56036013cd09db0f1b20402a69be44345ddafb22) (cherry picked from commit 67bafafbc0d61751d2ec10b0aeccb6b01482a074) (cherry picked from commit 888abf5d6e13880ba82d02c5f8a57ca1f90a992f) (cherry picked from commit 7097df3eed979446830fc579613ffb9b7e7c19bf) (cherry picked from commit eebfd71a6da396b011e664604c9991543205d780)
* [2.13] ansible-doc: fix broken seealso links in text output (#80286)Felix Fontein2023-03-287-6/+85
| | | | | | | | | | | | | * ansible-doc: fix broken seealso links in text output (#80280) * Fix broken URLs. * Also remove auto-generated description for modules outside ansible.builtin. (cherry picked from commit fafb23094e77a619066a92a7fa99a7045292e473) * Fix URL processing. (#80295) (cherry picked from commit 086ae4220957cdb66eee8aa060c151a071f3b9bd)
* [stable-2.13] New upstream release tool (#80179) (#80322)Matt Clay2023-03-271-0/+1420
| | | (cherry picked from commit a6bfa82bd061d1d66e7d67064f2e78774a103b54)
* [stable-2.13] Use variable instead of container resource in AZP (#80299) ↵Matt Clay2023-03-273-7/+4
| | | | | (#80317) (cherry picked from commit 93d0253292dc2e66432d96f047b66200a2d2e35b)
* [stable-2.13] Fix url lookup test to use test container (#80284) (#80288)Matt Clay2023-03-231-2/+2
| | | (cherry picked from commit 054aa9215857f376ee4d387339e6b82bcc14b437)
* [stable-2.13] ansible-test - Update git diff handling (#80202)Matt Clay2023-03-1514-188/+198
| | | | | | | | This change allows ansible-test to work with newer versions of git on AZP. (cherry picked from commit bad8843124a50493141a3e3d7920353239021389) Co-authored-by: Matt Clay <matt@mystile.com>
* [stable-2.13] Relocate the AZP entry point scripts (#80114)Matt Clay2023-03-1430-44/+41
| | | | | | | Scripts previously under `test/utils/shippable/` are now under `.azure-pipelines/commands/` instead.. (cherry picked from commit f47bc03599eedc48753d2cd5e1bea177f35e6133) Co-authored-by: Matt Clay <matt@mystile.com>
* [stable-2.13] ansible-test - Remove pointless comparison (#80168)Matt Clay2023-03-142-1/+3
| | | | | | (cherry picked from commit 31658031ed40f3db002b690b436b793634c2b5e7) Co-authored-by: Matt Clay <matt@mystile.com>
* [stable-2.13] ansible-test - Fix vendoring support (#80074)Matt Clay2023-03-146-0/+70
| | | | | | | | - Support loading of vendored Python packages. - Exclude vendored Python packages from payloads. (cherry picked from commit 6bfe6b899a4881ebc065834a43a26e123d7fdab3) Co-authored-by: Matt Clay <matt@mystile.com>
* [stable-2.13] ansible-test - Show Python version before install (#80022)Matt Clay2023-03-142-0/+18
| | | | | | | Always indicate the Python version being used before installing requirements. (cherry picked from commit 5e3db6e44169aa88cd027f469eea96f1f17fea95) Co-authored-by: Matt Clay <matt@mystile.com>
* [stable-2.13] ansible-test - Allow target prefixes to use `_` (#80021)Matt Clay2023-03-146-7/+21
| | | | | | | Integration test target prefixes defined in a `tests/integration/target-prefixes.{group}` file can now contain an underscore (`_`) character. (cherry picked from commit e6cffce0eb58ba54c097f4ce7111bb97e6805051) Co-authored-by: Matt Clay <matt@mystile.com>
* [stable-2.13] ansible-test - Fix file permissions for delegation (#80204)Matt Clay2023-03-149-17/+115
| | | | | | | | | | | | | | | | | | | | | | * [stable-2.13] ansible-test - Fix file permissions for delegation (#79932) * ansible-test - Fix file permissions for delegation * Set more restrictive permissions for SSH key * Check all execute bits, not just owner * Add a breaking_changes changelog entry. (cherry picked from commit c8c1402ff66cf971469b7d49ada9fde894dabe0d) Co-authored-by: Matt Clay <matt@mystile.com> * ansible-test - Fix collection delegation (#79947) (cherry picked from commit 079383384790310dd6722b08ac18990e2a4d0ed9) --------- Co-authored-by: Felix Fontein <felix@fontein.de>
* [stable-2.13] ansible-test - Fix pylint error with old home dir (#80151) ↵Matt Clay2023-03-072-0/+13
| | | | | | | | | | | | (#80153) * [stable-2.13] ansible-test - Fix pylint error with old home dir (#80151) (cherry picked from commit 27287b40c0605e583145538ac072260095c139d7) Co-authored-by: Matt Clay <matt@mystile.com> * ansible-test - Fix error with missing pylint home (#80155) (cherry picked from commit 367d45facd3af9bbc8159e4371d94e95629bed6d)
* [stable-2.13] Fix MANIFEST.in includes (#80147) (#80149)Matt Clay2023-03-063-3/+5
| | | (cherry picked from commit 7c62cdeecd4834a1ca38a01e42ea07e33044de19)
* [stable-2.13] Do not use hardcoded httpbin.org in uri tests (#80101) (#80103)Matt Martz2023-02-281-2/+2
| | | (cherry picked from commit 060a27f)
* Update Ansible release version to v2.13.8.post0. (#80099)jamesmarshall242023-02-271-1/+1
|
* New release v2.13.8 (#80082)v2.13.8jamesmarshall242023-02-274-4/+18
|
* Update Ansible release version to v2.13.8rc1.post0. (#80042)jamesmarshall242023-02-201-1/+1
|
* New release v2.13.8rc1 (#80028)v2.13.8rc1jamesmarshall242023-02-204-1/+264
|
* [2.13] don't ignore templated _raw_params that k=v parser failed to parse ↵Matt Davis2023-02-155-4/+29
| | | | | | | | | (#79913) (#79965) * don't ignore templated _raw_params that k=v parser failed to parse (#79913) fixes #79862 * backport test changes
* [stable-2.13] ansible-test - Support Podman 4.4.0+Matt Clay2023-02-142-0/+9
| | | | | | (cherry picked from commit 67d49734f732f543c0b8d7713466c0aa3b8f484f) Co-authored-by: Matt Clay <matt@mystile.com>
* Bump acme test container. (#79783) (#79815)Felix Fontein2023-02-102-1/+3
| | | (cherry picked from commit 5fb8bc3ddb40c3f09f76d2237951c7754ba27add)
* [stable-2.13] ansible-test - Specify config path in plugin error (#79881) ↵Matt Clay2023-02-102-4/+7
| | | | | (#79978) (cherry picked from commit d48d1c23df171074e799717e824a8c5ace470643)
* [stable-2.13] ansible-test - fix warning to include image name (#79560) (#79974)Matt Clay2023-02-102-1/+3
| | | | | (cherry picked from commit 0a12d8a5bc820e5d12805af41b80351d0b635e63) Co-authored-by: Martin Krizek <martin.krizek@gmail.com>
* [stable-2.13] Ansible.Basic.cs - Fix compile error on PS 7.3.x (#79848) (#79851)Matt Clay2023-02-022-0/+6
| | | (cherry picked from commit 83fe75db07cb55dc2efeb437ce20b9d4462860c3)
* [stable-2.13] Remove outdated note on relative imports in docs (#79873) (#79876)Matt Clay2023-02-021-6/+0
| | | (cherry picked from commit 58461bc20408955a0efc37be8bce97efb387bcd5)