Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • v1.14.6
  • v1.14.5
  • v1.14.4
  • v1.14.3
  • v1.14.2
  • v1.14.1
  • v1.14.0
  • v1.13.2
  • v1.13.1
  • v1.13.0
  • v1.12.1
  • v1.12.0
  • v1.11.1
  • v1.11.0
  • v1.10.0
  • v1.9.2
  • v1.9.1
  • v1.9.0
  • v1.8.4
  • v1.8.3
21 results

ansible-freeipa

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Rafael Guterres Jeffman authored
    pytest provide the means to skip tests based on patterns, but writing
    these patterns for ansible-freeipa might not be feasible.
    
    This PR allows the selection of playbook tests and modules that will
    be executed with pytest using the environmentt variables IPA_ENABLED_TESTS
    IPA_ENABLED_MODULES, IPA_DISABLED_TESTS or IPA_DISABLED_MODULES.
    
    When using IPA_ENABLED_MODULES, all modules will be disabled, and only
    the modules in the enabled list will be tested. If using the test
    filter, IPA_ENABLED_TESTS, all tests are disabled, unless they are in
    the enabled test lists.
    
    If the IPA_DISABLED_* version is used, tests and modules are enabled by
    default, and the list is used to disable the module or specific test.
    
    To disable a test or module in Azure CI, edit the file
    `tests/azure/variables` and add the desired tests or modules to the
    parameter variables `enabled_modules`, 'enabled_tests`, `disabled_tests`
    or `disable_modules`.
    
    Note that, if added to the `master` branch, this will affect the tests
    for every pipeline that it is include (including 'nightly'), so it should
    be used with care.
    
    It can be used with TEMP commits to enable only the desired tests,
    speeding up upstream tests.
    13cff635
    History
    Name Last commit Last update