Skip to content
Snippets Groups Projects
  1. Nov 12, 2024
  2. Nov 06, 2024
  3. 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
  4. Oct 30, 2024
  5. Oct 14, 2024
  6. Oct 11, 2024
    • Rafael Guterres Jeffman's avatar
      Merge pull request #1268 from t-woerner/ipauser_use_date_string · 16636de6
      Rafael Guterres Jeffman authored
      ipauser: Use date string, not datetime object for expiration dates
      16636de6
    • Thomas Woerner's avatar
      ipauser: Use date string, not datetime object for expiration dates · 55ec25a7
      Thomas Woerner authored
      So far a datetime object was created for the expiration dates
      krbpasswordexpiration and krbprincipalexpiration. This resulted in also
      sending these objects to the API. With this change, the dates are
      converted into strings using the LDAP_GENERALIZED_TIME_FORMAT defined in
      ipalib.constants. This way only strings are used with the IPA API.
      
      A new function has been added to ansible_freeipa_module:
      
      - date_string: Convert datetime to gernalized time format string
      
      This fuction is used on the result of user_show to convert the
      expiration dates to the gernalized time format string.
      
      The existing function date_format in ansible_freeipa_module has been
      renamed to convert_date and fixed in the way that it also uses
      date_string to return a gernalized time format string and not a
      datetime object. This function was only used in the ipauser module so
      far.
      55ec25a7
    • Rafael Guterres Jeffman's avatar
      Merge pull request #1299 from... · 220c4f00
      Rafael Guterres Jeffman authored
      Merge pull request #1299 from t-woerner/pylint_github_workflow_disable_too-many-positional-arguments
      
      pylint gihub workflow: Disable too-many-positional-arguments
      220c4f00
    • Thomas Woerner's avatar
      pylint gihub workflow: Disable too-many-positional-arguments · 7f1df9d8
      Thomas Woerner authored
      This change disables the too-many-positional-arguments message for the
      pylint github workflow.
      7f1df9d8
  7. Oct 09, 2024
  8. Oct 02, 2024
  9. Aug 07, 2024
  10. Aug 02, 2024
  11. Jul 31, 2024
Loading