Release Summary
Bugfix and feature release.
Minor Changes
- Add
antsibull-nox update-azp-configsubcommand for updating an AZP configuration file to list all ansible-test nox sessions matching certain restrictions (#200, #206, #220). - Allow to always copy the repository structure before invoking
ansible-test envby setting theANTSIBULL_NOX_ALWAYS_COPY_REPO_STRUCTUREenvironment variable totrue. This is mainly needed to work around a bug inansible-test envin conjunction with AZP (#202). - Allow to configure whether
ansible-test integrationis passed the--continue-on-errorflag (#201). - Allow to configure whether
ansible-test integrationis passed the--retry-on-errorflag (#201). - Allow to control ansible-test coverage analysis more throught the environment variables
ANTSIBULL_NOX_COVERAGE_DESTINATION,ANTSIBULL_NOX_COVERAGE_ANALYSIS_FILE, andANTSIBULL_NOX_COVERAGE_NO_XML(#205). - Allow to control whether ansible-test integration tests should run tests marked as
unstableif changes affect them throught the environment variableANTSIBULL_NOX_INTEGRATION_ALLOW_UNSTABLE_CHANGED(#208). - Allow to split up unit test sessions per Python version, and allow finer control which Python versions for every ansible-core version to control a unit test session for (#209).
- Expose
antsibull_nox.IN_CIconstant that can be used in nox sessions to determine whether the session runs in CI (#203). - Expose
nice_docker_namesmap insessions.ansible_test_integrationthat allows to translate custom Docker container names into "nice", human-readable strings for use in display-name templating (#204). - Expose
nice_target_namesmap insessions.ansible_test_integrationthat allows to translate ansible-test target names into "nice", human-readable strings for use in display-name templating (#204). - In the GH action, allow to control whether ansible-test integration tests should run tests marked as
unstableif changes affect them with theallow-unstable-changedoption (#208). - In the GHA shared workflow, integration tests now always run tests marked as
unstableif changes affect them in pull requests (#208). - Provide
docker_niceandremote_nicenames for use in display-name templating forsessions.ansible_test_integration(#204). - Run
ansible-test envbefore running ansible-test tests. Also allow to supply--timeoutparameter by settingANTSIBULL_NOX_TIMEOUTenvironment variable; this is for use in CI systems such as Azure Pipelines (#199). - The shared GHA workflow can now be configured with
allow-coverage-cd-override: trueto also interpretci_completeandci_coveragein the last commit message of a PR or push, similar to the AZP CI scripts in ansible-core and several collections (#207). - Update supported Python versions for ansible-core devel (#210).
Bugfixes
- Fix accidentally completely skipping yamllint and extra checks during change detection (#212, #215, #218).
- Make CI detection also work in Azure Pipelines (#203).
- The GitHub action now restricts virtualenv to < 21.5.0 when Python 3.8 is used (for example to run Ansible 2.9 tests). virtualenv 21.5.0 no longer supports Python 3.8 (#216, #217).
- The license-check session now installs resuse per default as
resuse[charset-normalizer]and not simplyreuse. This is necessary in Ansible's AZP environment (#219).