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
Alex Willmer 5ffdbb5999 ci: Add Alma 9, Debian 12, Ubuntu 22.04, & Ubuntu 24.04 to image prep 1 week ago
..
files mitogen: Fix non-blocking IO errors in first stage of bootstrap 3 months ago
group_vars ci: Add Alma 9, Debian 12, Ubuntu 22.04, & Ubuntu 24.04 to image prep 1 week ago
host_vars ci: Add Alma 9, Debian 12, Ubuntu 22.04, & Ubuntu 24.04 to image prep 1 week ago
roles ci: Add playbook to configure container host for image prep 1 week ago
README.md tests: Rebuild Docker containers 5 years ago
_container_create.yml ci: Use highest supported Ansible version during image prep 1 week ago
_container_finalize.yml ci: Fix ansible-lint complaints in image prep playbooks 1 week ago
_container_host.yml ci: Add playbook to configure container host for image prep 1 week ago
_container_setup.yml ci: Use highest supported Ansible version during image prep 1 week ago
_user_accounts.yml CI: Move sudo test users defaults into /etc/sudoers.d 3 months ago
ansible.cfg ci: Use highest supported Ansible version during image prep 1 week ago
apache_proxy.conf ci: Use upstream base images for image prep 1 week ago
hosts.ini ci: Add Alma 9, Debian 12, Ubuntu 22.04, & Ubuntu 24.04 to image prep 1 week ago
macos_localhost.yml ci: Fix sshd configuration during image prep 9 months ago
py24-build.sh trivia: Fix trailing whitespace 1 year ago
py24.sh issue #477: import updated Python build scripts 7 years ago
setup.yml ci: Use highest supported Ansible version during image prep 1 week ago
setup_ansible2.3.yml ci: Use highest supported Ansible version during image prep 1 week ago
tox.ini ci: Use highest supported Ansible version during image prep 1 week 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

No single version of Ansible supports every Linux distribution that we target. To workaround this Tox is used, to install and run multiple versions of Ansible, in Python virtualenvs.

tox

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