summaryrefslogtreecommitdiff
path: root/.azure-pipelines
AgeCommit message (Collapse)Author
2023-12-11[backport-2.14] Replace FreeBSD 13.1 with 13.2 in CI and ansible-test (#82398)Sviatoslav Sydorenko (Святослав Сидоренко)
* [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>
2023-08-14Replace FreeBSD 12.3 w/ 12.4 in CI & ansible-test (#81497)Sviatoslav Sydorenko
FreeBSD 12.3 bootstrap packages stopped being available.
2023-08-02[stable-2.14] Docs removal and other backports (#81407)Matt Clay
* 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)
2023-07-11[stable-2.14] Reorganize CI sanity test matrix (#81004) (#81226)Matt Clay
(cherry picked from commit ff359fa8e11c7b84a67e286e95c606c06b02152f)
2023-06-12Bump azure-pipelines-test-container to v4.0.1 @ CI (#80938)Sviatoslav Sydorenko
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
2023-03-27[stable-2.14] Use variable instead of container resource in AZP (#80299) ↵Matt Clay
(#80316) (cherry picked from commit 93d0253292dc2e66432d96f047b66200a2d2e35b)
2023-03-15[stable-2.14] ansible-test - Update git diff handling (#80202)Matt Clay
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>
2023-03-14[stable-2.14] Relocate the AZP entry point scripts (#80114)Matt Clay
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>
2022-12-06[stable-2.14] ansible-test - Improve container management. (#78550) (#79507)Matt Clay
* [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)
2022-09-06ansible-test - Remove Fedora 35 support. (#78720)Matt Clay
2022-08-04Re-organize CI test groups for POSIX tests. (#77420)Matt Clay
* `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.
2022-07-19ansible-test - Drop Python 3.8 controller support. (#78237)Matt Clay
2022-06-09Update AZP test container to 3.0.0.Matt Clay
ci_coverage ci_complete
2022-06-08Remove incidental_inventory_foreman test.Matt Clay
2022-05-31Remove incidental_inventory_aws_ec2 and supporting plugins (#77877)Sloane Hertel
* Remove aws/2.7 and aws/3.6 from incidental test matrix entries * Remove aws.sh symlink
2022-05-26Remove incidental_inventory_docker_swarm tests. (#77924)Matt Clay
ci_complete ci_coverage
2022-05-26Add RHEL 9.0 to CI. (#77853)Matt Clay
* 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>
2022-05-18Switch CI from FreeBSD 13.0 to 13.1. (#77852)Matt Clay
2022-05-18ansible-test - Update distro containers. (#77847)Matt Clay
* 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.
2022-05-17Add Python 3.11 support.Matt Clay
ci_complete ci_coverage
2022-05-11ansible-test - Add RHEL 8.6 support.Matt Clay
2022-04-11Remove openSUSE Python 2.7 from test matrix.Matt Clay
2022-02-24Temporarily remove RHEL 9.0b from the test matrix.Matt Clay
AppStream modules are currently missing.
2022-02-16Avoid system-site-packages in AZP coverage venvs.Matt Clay
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
2022-02-15Revert "Temporarily remove RHEL 9.0b from test matrix."Matt Clay
This reverts commit a5eadaf3fd5496bd1f100ff14badf5c4947185a2.
2022-02-07Temporarily remove RHEL 9.0b from test matrix.Matt Clay
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 ```
2022-02-03Update codecov download URL.Matt Clay
ci_complete ci_coverage
2022-02-03Stop publishing code coverage to the AZP UI.Matt Clay
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.
2022-01-12ansible-test - Add support for FreeBSD 12.3. (#76745)Matt Clay
* ansible-test - Add support for FreeBSD 12.3. * Use OS package for yaml if available with CLoader. * Make sure libyaml is available.
2022-01-06Remove obsolete incidental tests from matrix.Matt Clay
The removed matrix entries no longer run any tests.
2021-11-19Add macOS 12 to CI (#76328)Sam Doran
* Disable lookup_url test of macOS 12
2021-11-16ansible-test - Add support for RHEL 8.5 instances. (#76305)Matt Clay
* 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>
2021-11-08Use new codecov uploader (#75938)Sam Doran
* Use new codecov uploader * Rewrite coverage uploader in Python
2021-11-04ansible-test - Add Fedora 35 test container. (#76228)Matt Clay
* 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.
2021-11-04ansible-test - Add RHEL 9 support. (#76217)Matt Clay
* 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>
2021-10-15Remove centos8 from CI matrix.Matt Clay
2021-09-30ansible-test - Remove support for Python 2.6.Matt Clay
Deferring removal of obsolete constraints until container updates are required.
2021-09-21ansible-test - Add support for windows/2022 (#75743)Matt Clay
ci_complete
2021-07-30ansible-test - add RHEL 8.4 as a remote (#75362)Sloane Hertel
2021-05-19Fix coverage paths reported in AZP. (#74759)Matt Clay
2021-05-17Add fallback for coverage report generation.Matt Clay
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)
2021-05-17Use --docker to generate coverage XML reports.Matt Clay
This is needed to provide `pwsh` for generating PowerShell coverage stubs. ci_complete ci_coverage
2021-05-10Update Python versions for controller-only tests. (#74652)Matt Clay
* 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.
2021-05-10Update Python versions used to run network tests. (#74647)Matt Clay
2021-05-10Add support for testing with Python 3.10.Matt Clay
2021-05-04Switch incidental OS X tests to macOS. (#74564)Matt Clay
* Switch incidental OS X tests to macOS. * Rename incidental osx.sh to macos.sh.
2021-04-30[ansible-test] Add Fedora 34, update Fedora 33 (#74506)Rick Elrod
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>
2021-04-29Use our own copy of the Codecov uploader (#74460)Sam Doran
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.
2021-04-22Update ansible-test default test container. (#74393)Matt Clay
* Update ansible-test default test container. * Switch generic Python tests from 3.6 to 3.9.
2021-04-21[ansible-test] add freebsd/13.0 remote (#74328)Rick Elrod
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>