diff options
author | Matt Clay <matt@mystile.com> | 2023-08-02 12:26:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-02 12:26:32 -0700 |
commit | dd45caa7a96cd1894d607d617441013489d403ac (patch) | |
tree | 43a68db69a92a416b4985a6fa12292184f55fd0b /.azure-pipelines | |
parent | 6f20fe3599d9dc3539656c9897e09ab20819f0f3 (diff) | |
download | ansible-dd45caa7a96cd1894d607d617441013489d403ac.zip |
[stable-2.14] Docs removal and other backports (#81407)
* 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)
Diffstat (limited to '.azure-pipelines')
-rw-r--r-- | .azure-pipelines/azure-pipelines.yml | 1 | ||||
-rwxr-xr-x | .azure-pipelines/commands/sanity.sh | 11 |
2 files changed, 0 insertions, 12 deletions
diff --git a/.azure-pipelines/azure-pipelines.yml b/.azure-pipelines/azure-pipelines.yml index 721fa82a58..399da3180b 100644 --- a/.azure-pipelines/azure-pipelines.yml +++ b/.azure-pipelines/azure-pipelines.yml @@ -46,7 +46,6 @@ stages: targets: - test: 1 - test: 2 - - test: 3 - stage: Units dependsOn: [] jobs: diff --git a/.azure-pipelines/commands/sanity.sh b/.azure-pipelines/commands/sanity.sh index 78046f65e1..10c1968c27 100755 --- a/.azure-pipelines/commands/sanity.sh +++ b/.azure-pipelines/commands/sanity.sh @@ -16,14 +16,8 @@ group2_include=( validate-modules ) -group3_include=( - docs-build - sanity-docs -) - group1_exclude=( "${group2_include[@]}" - "${group3_include[@]}" ) options=() @@ -39,11 +33,6 @@ case "${group}" in options+=(--test "${name}") done ;; - 3) - for name in "${group3_include[@]}"; do - options+=(--test "${name}") - done - ;; esac # shellcheck disable=SC2086 |