User:Arthurzam/tattoo setup

Full shared systemd setup
This is a setup which is the easiest to use and maintain, as most of things are compressed to simple commands and sockets.

This setup requiresː


 * 1) Host (main OS) is systemd based
 * 2) Containers for testing are systemd based

Ready devboxes wih this setup
Reminderː to connect to a container named, use the commandː

Summary of setup

 * Containers are located inside  (can contain symbolic links to other directory in case not enough space is given there).
 * Configuration for each container is located at
 * tattoo's source (git repo) is cloned at
 * The host has  which starts the   and socket
 * The containers have  which starts the configured
 * Helper script  is created for easy "booting" of tattoo

For a longer version of setup, with explanation of how to set it up, read at tattoo's systemd readme

Usage for an Arch Tester
Give access to new arch-tester, so he can use this easily with socket from his homedirː

Starting
Start the whole tattoo system using single command. You can run it as non-root, it uses  internally. Also, in case it already runs, it won't create a new instance.

Start only the manager (without testers)ː

Start single tester (after a running manager) on container named ː

Restart single tester on container named  (for example in case a lot of zombie processes haven't been cleaned, or some jobs were stuck)ː

Stopping
Stop single tester on on container named ːStop manager, which will also stop all connected testers (as their manager died)ː

Viewing logs
There are multiple types of logs, which are located at different placesː


 * manager's logs, located at host's journal, view usingː


 * tester called  logs, located at container's journal, view using