Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • v1.14.7
  • 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
21 results

start.sh

Blame
    • Rafael Guterres Jeffman's avatar
      c979843b
      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
      History
      upstream CI: Allow podman options when creating containers
      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.