mitogen/tests/image_prep
David Wilson ebb4a7ca6a issue #543: dumb fix for file vs. stat :( 2019-07-31 01:14:34 +01:00
..
README.md [stream-refactor] allow doas_test to succeed on CentOS 2019-07-28 10:40:59 +00:00
_container_setup.yml issue #543: make localhost_ansible_tests run locally 2019-07-31 00:15:05 +01:00
_user_accounts.yml issue #543: dumb fix for file vs. stat :( 2019-07-31 01:14:34 +01:00
ansible.cfg issue #543: disable host key checking 2019-07-31 01:14:34 +01:00
build_docker_images.py [stream-refactor] Debian Docker container image initctl 2019-07-28 13:58:53 +00:00
py24-build.sh issue #477: import updated Python build scripts 2019-01-27 00:37:13 +00:00
py24.sh issue #477: import updated Python build scripts 2019-01-27 00:37:13 +00:00
setup.yml issue #543: make localhost_ansible_tests run locally 2019-07-31 00:15:05 +01:00
shared_vars.yml issue #543: make localhost_ansible_tests run locally 2019-07-31 00:15:05 +01:00

README.md

image_prep

This directory contains Ansible playbooks for building the Docker containers used for testing, or for setting up an OS X laptop so the tests can (mostly) run locally.

The Docker config is more heavily jinxed to trigger adverse conditions in the code, the OS X config just has the user accounts.

See ../README.md for a (mostly) description of the accounts created.

Building the containers

./build_docker_images.sh

Requires Ansible 2.3.x.x in order to target CentOS 5

Preparing an OS X box

WARNING: this creates a ton of accounts with preconfigured passwords. It is generally impossible to restrict remote access to these, so your only option is to disable remote login and sharing.

ansible-playbook -b -c local -i localhost, -l localhost setup.yml