Skip to content
  1. Sep 30, 2022
    • Thomas Woerner's avatar
      ipaconfig: Fix documentation sections and agument spec · 9836f835
      Thomas Woerner authored
      ansible-test with ansible-2.14 is adding a lot of new tests to ensure
      that the documentation section and the agument spec is complete. Needed
      changes:
      
      DOCUMENTATION section
      
      - `module` tag needs to be correct
      - `type: str` needs to be set for string parameters
      - `type: int` needs to be set for integer parameters
      - `type: list` needs to be set for list parameters
      - `type: string` is not valid and needs to be replaced by `type: str`
      - `elements: str` needs to be given for list of string parameters
      - `authors` needs to be given with the github user also: `Name (@user)`
      
      RETURN section
      
      - `contains` needs to be used instead of `options` for dicts
      - `type: str` needs to be set for string parameters
      - `type: int` needs to be set for integer parameters
      - `type: list` needs to be set for list parameters
      - `elements: str` needs to be given for list of string parameters
      - `description` needs to be correct
      
      argument_spec
      
      - `elements="str"` needs to be added to all list of string parameters
      
      The `copyright` date is extended with `-2022`.
      9836f835
  2. Sep 27, 2022
  3. Sep 16, 2022
  4. Sep 09, 2022
  5. Sep 08, 2022
  6. Sep 07, 2022
  7. Sep 06, 2022
  8. Sep 05, 2022
  9. Sep 03, 2022
    • Rafael Guterres Jeffman's avatar
      upstream CI: run PR tests only for affected plugins · 25141584
      Rafael Guterres Jeffman authored
      The current workflow for bug fixing or new enhancements in
      ansible-freeipa includes running Ansible playbooks tests for all the
      available plugins for every pull request, even for contained
      modifications.
      
      This patch creates a new workflow for pull requests where only the
      affected plugins are tested in the PR. Changes that might affect other
      parts of the code will trigger tests for the parts affected.
      
      A utility script, utils/filter_tests, is used to set the variables
      IPA_ENABLED_MODULES and IPA_ENABLED_TESTS before executing the tests,
      effectively limiting which tests are executed. The script uses the
      python plugin 'utils/filter_plugins.py' which lists all test modules
      that should be executed for a list of modified source files.
      
      Tests are selected for execution based on the plugin name. For example,
      a change to 'plugins/modules/ipalocation.py' would trigger all playbook
      tests under 'tests/location'. If a test playbook is modified, it is
      scheduled to be ...
      25141584
  10. Aug 31, 2022