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

run-tests.sh

Blame
    • Rafael Guterres Jeffman's avatar
      68bca844
      utils: Rewrite run-tests.sh to use functions and extenal scripts · 68bca844
      Rafael Guterres Jeffman authored
      To modify Azure tests and depend on shell scripts and pytest instead
      of molecule, the run-tests.sh script has been rewritten to depend on
      bash functions and on a bash script that prepare and start a testing
      container.
      
      This patch adds a new script, 'utils/setup_test_container.sh' that
      can be used to start a new container, using either podman or docker,
      based on the available ansible-freeipa images. The new container can
      then be used to run ansible-freeipa tests against it.
      
      Also the following files with bash functions were added, and are
      used by both scripts:
      
          utils/shansible: Functions to run playbooks in the container
          utils/shcontainer: Functions to setup/run a container
          utils/shfun: Generic shell helper functions (e.g.: log)
      68bca844
      History
      utils: Rewrite run-tests.sh to use functions and extenal scripts
      Rafael Guterres Jeffman authored
      To modify Azure tests and depend on shell scripts and pytest instead
      of molecule, the run-tests.sh script has been rewritten to depend on
      bash functions and on a bash script that prepare and start a testing
      container.
      
      This patch adds a new script, 'utils/setup_test_container.sh' that
      can be used to start a new container, using either podman or docker,
      based on the available ansible-freeipa images. The new container can
      then be used to run ansible-freeipa tests against it.
      
      Also the following files with bash functions were added, and are
      used by both scripts:
      
          utils/shansible: Functions to run playbooks in the container
          utils/shcontainer: Functions to setup/run a container
          utils/shfun: Generic shell helper functions (e.g.: log)