Age | Commit message (Collapse) | Author |
|
* [backport-2.14] Add FreeBSD 13.2 to ansible-test (#80698)
(cherry picked from commit d12aa7f69cefddf8b849a93186d4afd8e6615bc5)
* [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 534f688a53f076691f93041726931e4b218e9769)
* 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>
|
|
FreeBSD 12.3 bootstrap packages stopped being available.
|
|
* Remove straight.plugin dependency (#80084)
(cherry picked from commit f587856beb4afa11040418ecf83b0bfd3d528ab6)
* Update package-data sanity test (#80344)
The test no longer relies on the Makefile.
(cherry picked from commit 46362bbd2783d25ddc1edaaf4db7d00627ad7e88)
* Remove obsolete release bits (#80347)
Releases are now built using the `packaging/release.py` tool.
This makes the `Makefile` and associated files in `packaging/release/` and `packaging/sdist/` obsolete.
* Use --no-isolation for package-data sanity test (#80377)
The dependencies are already in the sanity test venv. This avoids use of unpinned dependencies and a dependency on a network connection.
(cherry picked from commit 7fcb9960e65591b42c1b46811dd529bae52ddf85)
* Set the minimum setuptools to 45.2.0 (#80649)
Also update the package-data sanity test to use the minimum setuptools version.
(cherry picked from commit 4d25e3d54f7de316c4f1d1575d2cf1ffa46b632c)
* Use package_data instead of include_package_data (#80652)
This resolves warnings generated by setuptools such as the following:
_Warning: Package 'ansible.galaxy.data' is absent from the `packages` configuration.
(cherry picked from commit 5ac292e12d5e1515beb34028346d76bb68398fc8)
* Fix os.walk issues in package-data sanity test (#80703)
* Remove `docs` and `examples` directories (#81011)
* Remove docs dir
* Updates to reflect docs removal
* Fix integration test
* Remove examples dir
* Updates to reflect examples removal
* Remove build_library and build-ansible.py
* Remove refs to build_library and build-ansible.py
* Remove obsolete template
* Remove obsolete template reference
* Remove the now obsolete rstcheck sanity test
(cherry picked from commit 72e038e8234051b54552d794a22ebef9681ae3ae)
* Omit pre-built man pages from sdist (#81395)
Since man pages aren't accessible to users after a `pip install`, there's no need to include them in the sdist.
This change makes it trivial to build man pages from source, which makes them much easier to iterate on.
It also simplifies creation and testing of the sdist, since it no longer requires building man pages.
The new `packaging/cli-doc/build.py` script can generate both man pages and RST documentation.
This supports inclusion on the docs site without a dependency on `ansible-core` internals.
Having a single implementation for both simplifies keeping the two formats in sync.
(cherry picked from commit 691c8e86034f1fe099e4ef54880e633b34f0bc7a)
|
|
(cherry picked from commit ff359fa8e11c7b84a67e286e95c606c06b02152f)
|
|
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
|
|
(#80316)
(cherry picked from commit 93d0253292dc2e66432d96f047b66200a2d2e35b)
|
|
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>
|
|
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.14] ansible-test - Improve container management. (#78550)
See changelogs/fragments/ansible-test-container-management.yml for details..
(cherry picked from commit cda16cc5e9aa8703fb4e1ac0a0be6b631d9076cc)
Co-authored-by: Matt Clay <matt@mystile.com>
* ansible-test - Fix container detection. (#79530)
(cherry picked from commit 80d2f8da02052f64396da6b8caaf820eedbf18e2)
|
|
|
|
* `context/target` tests must be in groups 1 - 2.
* `context/controller` tests must be in groups 3 - 5.
This makes it easier to efficiently organize groups and balance test runtimes.
|
|
|
|
ci_coverage
ci_complete
|
|
|
|
* Remove aws/2.7 and aws/3.6 from incidental test matrix entries
* Remove aws.sh symlink
|
|
ci_complete
ci_coverage
|
|
* Add RHEL 9.0 to CI.
* Restrict network manager inspection to RHEL8
* Skip module tests when astream_name is undefined, undefine it for RHEL9 until 9.1
* Remove redundant test.
Co-authored-by: Matt Martz <matt@sivel.net>
|
|
|
|
* ansible-test - Add a Ubuntu 22.04 container.
* ansible-test - Add a Fedora 36 container.
* ansible-test - Update distro containers.
* Fix dnf test on Fedora 36.
* Work around scp test issues.
|
|
ci_complete
ci_coverage
|
|
|
|
|
|
AppStream modules are currently missing.
|
|
The use of `--venv-system-site-packages` was an optimization to use the `coverage` package pre-installed in the AZP test container.
However, now that the venv is bootstrapped by ansible-test that optimization no longer makes sense, since other downloads are already taking place.
ci_coverage
ci_complete
|
|
This reverts commit a5eadaf3fd5496bd1f100ff14badf5c4947185a2.
|
|
Installation of `gcc` is failing while trying to install dependencies:
```
[MIRROR] libxcrypt-devel-4.4.18-3.el9.x86_64.rpm: Interrupted by header callback: Server reports Content-Length: 32565 but expected size is: 33101
```
|
|
ci_complete
ci_coverage
|
|
Azure Pipelines only supports publishing a single code coverage file.
This limits us to reporting on either Python or PowerShell.
It also prevents us from reporting coverage per test command without further aggregation.
Most of our users are only aware of the reports published to codecov.io.
|
|
* ansible-test - Add support for FreeBSD 12.3.
* Use OS package for yaml if available with CLoader.
* Make sure libyaml is available.
|
|
The removed matrix entries no longer run any tests.
|
|
* Disable lookup_url test of macOS 12
|
|
* ansible-test - Add support for RHEL 8.5 instances.
* Clear libdnf checksum cache from unsigned package in dnf integration test.
Co-authored-by: Matt Martz <matt@sivel.net>
|
|
* Use new codecov uploader
* Rewrite coverage uploader in Python
|
|
* ansible-test - Add Fedora 35 test container.
* Added Fedora 35 to CI and removed Fedora 33 from CI.
* Fix dnf integration test.
* Fix connection_paramiko_ssh test.
|
|
* Move RHEL pip package install into function.
* Add RHEL 9 support to bootstrap script.
* ansible-test - Add RHEL 9 support.
* Add install and uninstall instructions for RHEL9 to paramiko tests
* Skip incidental_inventory_docker_swarm on RHEL 9.
* Update dnf tests for rhel9
* Fix prepare_http_tests on RHEL 9.
* fix RHEL9 Python discovery tests to match distro map
* Skip subversion test on RHEL 9.0b.
Co-authored-by: Matt Martz <matt@sivel.net>
Co-authored-by: Matt Davis <mrd@redhat.com>
|
|
|
|
Deferring removal of obsolete constraints until container updates are required.
|
|
ci_complete
|
|
|
|
|
|
This should allow the same script to be used for two different scenarios:
- ansible-core across multiple versions (not all of which support `--docker` for coverage reports)
- collections (which should always use the `devel` branch for coverage reports)
|
|
This is needed to provide `pwsh` for generating PowerShell coverage stubs.
ci_complete
ci_coverage
|
|
* Update Python versions for controller-only tests.
Both `ansible-galaxy` and `ansible-test` integration tests only run on the controller.
* Use a venv to make requirements available.
|
|
|
|
|
|
* Switch incidental OS X tests to macOS.
* Rename incidental osx.sh to macos.sh.
|
|
Change:
- Added Fedora 34 container image to docker.txt
- Dropped Fedora 32 from CI
- Added Fedora 34 to CI
- Updated Fedora 32 and 33 containers for ssh-related fixes
- Move cron fix from 698eae3f3d5e3a1ad0931def5078823d2da16803 into
cron_setup and make it more generic; it can affect modern distros too.
Test Plan:
- ci_complete
Signed-off-by: Rick Elrod <rick@elrod.me>
|
|
Due to the recent security incident, use our own copy hosted in S3
to mitigate future risk from running an arbitrary script downloaded from a
remote and untrtusted server.
|
|
* Update ansible-test default test container.
* Switch generic Python tests from 3.6 to 3.9.
|
|
Change:
- FreeBSD 13.0 was released on the 13th, add it to ansible-test.
Test Plan:
- ci_complete
Signed-off-by: Rick Elrod <rick@elrod.me>
|