mitogen/tests/image_prep
David Wilson e45e5d3e06 tests: Document Python versions in build_docker_images.py 2018-10-04 22:52:32 +01:00
..
README.md tests: merge build_docker_images.py with osx_setup.yml 2018-08-18 16:43:59 +01:00
_container_setup.yml tests: fix debops tests (py-apt broken if /var/lbi/apt missing) 2018-08-18 16:43:59 +01:00
_user_accounts.yml tests: fix debops tests (py-apt broken if /var/lbi/apt missing) 2018-08-18 16:43:59 +01:00
ansible.cfg tests: merge build_docker_images.py with osx_setup.yml 2018-08-18 16:43:59 +01:00
build_docker_images.py tests: Document Python versions in build_docker_images.py 2018-10-04 22:52:32 +01:00
setup.yml Make image_prep work on Ubuntu. 2018-10-02 19:19:30 +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

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