Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] upstream ci: Enable deployment tests for ipaserver role. #1218

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Mar 9, 2024

  1. upstream ci: Add support for testing ipaserver deployment

    This patch provides the base for testing ipaserver role using Azure's
    infrastructure.
    
    By using containers prepared to thave FreeIPA installed, but
    unconfigured, allows the use of a test matrix to test the behavior of
    modules in differnt IPA configurations. It also improves tests by
    allowing the creation of a test matrix of FreeIPA deployment.
    
    A new pipeline script is provided, which can be used as a standalone
    pipeline, os as part of an existing pipeline.
    
    The script 'tests/server_role/inventory.py' is used to create inventory
    files for the tests, which should be executed using the existing
    'install-server.yml' playbook.
    
    More information on how to generate different inventories can be found
    in the accompanying README file 'tests/server_role/README.md'.
    rjeffman committed Mar 9, 2024
    Configuration menu
    Copy the full SHA
    cd20cb1 View commit details
    Browse the repository at this point in the history
  2. upstream ci: Fix ansible-lint errors due to missing collections

    When running ansible-lint it tries to load and syntax check the
    playbooks it evaluates, and if any of the modules used in the playbooks
    can't be found, it fails with a fatal error, as if there was a syntax
    error.
    
    By adding a 'requirements.yml' file with all the collections that are
    used in any playbook (be it a runtime, test, or development dependency),
    forces ansible-lint to install and use the collections in its virtual
    environment, successfully parsing the playbook files.
    
    See more at ansible/ansible-lint#4048 and
    ansible/ansible-lint#4049.
    rjeffman committed Mar 9, 2024
    Configuration menu
    Copy the full SHA
    a5993be View commit details
    Browse the repository at this point in the history