Skip to content
Snippets Groups Projects
  1. Nov 04, 2024
  2. Oct 31, 2024
    • Thomas Woerner's avatar
      Merge pull request #1300 from rjeffman/update_upstream_ci · 33c1c006
      Thomas Woerner authored
      Fix upstream CI and remove molecule
      33c1c006
    • Rafael Guterres Jeffman's avatar
      upstream CI: Update Ansible version · 0f530df0
      Rafael Guterres Jeffman authored
      ansible-core versions 2.15 and 2.16 and used for all pipelines, but
      version 2.17 is not used for CentOS 8 Stream, as platform python on
      this version is 3.6 which is not supported in this ansible-core version.
      0f530df0
    • Rafael Guterres Jeffman's avatar
    • Rafael Guterres Jeffman's avatar
    • Rafael Guterres Jeffman's avatar
      upstream CI: Simplify pipelines enviroment creation · 367d30a3
      Rafael Guterres Jeffman authored
      Several optimizations have been done to the pipelines, to make them
      closer to what can be reproduced, with the existing scripts, in a
      development environment:
      
      - Use start.sh and build.sh scripts to build and start containers
      - Use variables to configure different stages instead of using separate
        files
      - Use a commom 'prepare_environment' to create the environment for every
        pipeline
      - Use a single file defining testing steps (run_tests.yml)
      - Remove Centos 7 pipelines
      - Reduce the number of pipelines in the test matrix due to the amount of
        time that tests were using
      - Use Azure "loop" (each) to create test groups
      
      The above changes make the pipelines easier to understand and modify.
      367d30a3
    • Rafael Guterres Jeffman's avatar
      upstream ci: Move Azure scripts to infra directory · 77c34aec
      Rafael Guterres Jeffman authored
      Move Azure scripts to infra directory, as only roles and modules test
      playbooks should exist in the tests directory.
      77c34aec
    • Rafael Guterres Jeffman's avatar
      Remove molecule dependencies · 5b33cb5e
      Rafael Guterres Jeffman authored
      For some time now, we had some issues with molecule when building test
      images for ansible-freeipa, and replaced the image creation with custom
      build scripts that use commom container tools (like Dockerfiles and the
      build command).
      
      As there's no more tasks that require the use of molecule, this patch
      removes the last bits used by it, and fixes documentation and lint
      scripts and configuration.
      5b33cb5e
    • Rafael Guterres Jeffman's avatar
      upstream CI: Allow podman options when creating containers · c979843b
      Rafael Guterres Jeffman authored
      When using containers to test ansible-freeipa there's a need to deal
      with 'podman' the development environment and the Azure environment. In
      the Azure environment, with Ubuntu hosts, using 'cap-add' does not allow
      FreeIPA to be installed on the containers, and they need to be executed
      with privileged mode. On the other hand, on development environments,
      such as recent Fedora hosts, there's no need to run the container with
      extra privileges.
      
      This patch modifies the utility function 'container_create' to allow the
      usage of key-value argumes such as "cpus=4" and "privileged", that will
      be used in the container creation.
      
      The currently available options are "privileged", "cpus", "memory" and
      "hostname". By default "cpus=2" and "hostname=ipaserver.test.local".
      
      Also, too make the image build script more self-contained, if the
      required Ansible collections are not installed, they will be temporarily
      installed so that the image can be built.
      c979843b
  3. Oct 30, 2024
  4. Oct 14, 2024
  5. Oct 11, 2024
  6. Oct 09, 2024
  7. Oct 02, 2024
  8. Aug 07, 2024
  9. Aug 02, 2024
Loading