Skip to content

Choose a tag to compare

@felixfontein felixfontein released this 14 Jun 15:19
· 1 commit to main since this release
1.8.0
56dd1c9

Release Summary

Bugfix and feature release.

Minor Changes

  • Add antsibull-nox update-azp-config subcommand 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 env by setting the ANTSIBULL_NOX_ALWAYS_COPY_REPO_STRUCTURE environment variable to true. This is mainly needed to work around a bug in ansible-test env in conjunction with AZP (#202).
  • Allow to configure whether ansible-test integration is passed the --continue-on-error flag (#201).
  • Allow to configure whether ansible-test integration is passed the --retry-on-error flag (#201).
  • Allow to control ansible-test coverage analysis more throught the environment variables ANTSIBULL_NOX_COVERAGE_DESTINATION, ANTSIBULL_NOX_COVERAGE_ANALYSIS_FILE, and ANTSIBULL_NOX_COVERAGE_NO_XML (#205).
  • Allow to control whether ansible-test integration tests should run tests marked as unstable if changes affect them throught the environment variable ANTSIBULL_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_CI constant that can be used in nox sessions to determine whether the session runs in CI (#203).
  • Expose nice_docker_names map in sessions.ansible_test_integration that allows to translate custom Docker container names into "nice", human-readable strings for use in display-name templating (#204).
  • Expose nice_target_names map in sessions.ansible_test_integration that 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 unstable if changes affect them with the allow-unstable-changed option (#208).
  • In the GHA shared workflow, integration tests now always run tests marked as unstable if changes affect them in pull requests (#208).
  • Provide docker_nice and remote_nice names for use in display-name templating for sessions.ansible_test_integration (#204).
  • Run ansible-test env before running ansible-test tests. Also allow to supply --timeout parameter by setting ANTSIBULL_NOX_TIMEOUT environment 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: true to also interpret ci_complete and ci_coverage in 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 simply reuse. This is necessary in Ansible's AZP environment (#219).