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

c8s

Blame
    • Thomas Woerner's avatar
      8153239e
      New image builder without molecule using podman · 8153239e
      Thomas Woerner authored
      The new image builder is not using molecule and uses podman directly for
      the generation of the ansible-test images.
      
      Two additional services are installed to simplify the use of the
      container in the test:
      
      - fixnet.service uses /root/fixnet.sh to fix IP address of the server in
        /etc/hosts and to set localhost as the nameserver.
        This service is executed before IPA is started. This eliminates the
        need to restart the IPA server after the container has been started
        and the IPs have been fixed.
      - fixipaip.service uses /root/fixipaip.sh to fix the IP address of the
        IPA dnsrecords of server and ipa-ca.
      
      With these services it is now only needed to wait till all services in
      the container are started. There is no need to restart the IPA server
      anymore. Simply use something like this before starting the tests:
      
          while [ -n "$(podman exec ansible-test systemctl list-jobs | grep -vi 'no jobs running')" ]; do echo "waiting.."; sleep 5; done
      
      New files
      - infra/image/build.sh
      - infra/image/dockerfile/c8s
      - infra/image/dockerfile/c9s
      - infra/image/dockerfile/c10s
      - infra/image/dockerfile/fedora-latest
      - infra/image/dockerfile/fedora-rawhide
      - infra/image/inventory
      - infra/image/system-service/fixipaip.service
      - infra/image/system-service/fixipaip.sh
      - infra/image/system-service/fixnet.service
      - infra/image/system-service/fixnet.sh
      8153239e
      History
      New image builder without molecule using podman
      Thomas Woerner authored
      The new image builder is not using molecule and uses podman directly for
      the generation of the ansible-test images.
      
      Two additional services are installed to simplify the use of the
      container in the test:
      
      - fixnet.service uses /root/fixnet.sh to fix IP address of the server in
        /etc/hosts and to set localhost as the nameserver.
        This service is executed before IPA is started. This eliminates the
        need to restart the IPA server after the container has been started
        and the IPs have been fixed.
      - fixipaip.service uses /root/fixipaip.sh to fix the IP address of the
        IPA dnsrecords of server and ipa-ca.
      
      With these services it is now only needed to wait till all services in
      the container are started. There is no need to restart the IPA server
      anymore. Simply use something like this before starting the tests:
      
          while [ -n "$(podman exec ansible-test systemctl list-jobs | grep -vi 'no jobs running')" ]; do echo "waiting.."; sleep 5; done
      
      New files
      - infra/image/build.sh
      - infra/image/dockerfile/c8s
      - infra/image/dockerfile/c9s
      - infra/image/dockerfile/c10s
      - infra/image/dockerfile/fedora-latest
      - infra/image/dockerfile/fedora-rawhide
      - infra/image/inventory
      - infra/image/system-service/fixipaip.service
      - infra/image/system-service/fixipaip.sh
      - infra/image/system-service/fixnet.service
      - infra/image/system-service/fixnet.sh