You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mitogen/tests/image_prep
David Wilson b29c8eaf2a tests: allow passing -vvv to build_docker_images. 6 years ago
..
README.md
_container_setup.yml tests: CentOS 6 lacks %wheel in sudo by default. 6 years ago
_user_accounts.yml tests: fix debops tests (py-apt broken if /var/lbi/apt missing) 6 years ago
ansible.cfg tests: show task args in image_prep 6 years ago
build_docker_images.py tests: allow passing -vvv to build_docker_images. 6 years ago
setup.yml Make image_prep work on Ubuntu. 6 years ago

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