A small fleet of real machines to run osapi on.
One Mac, some Linux VMs, and your osapi branch on all of them.
Ansible builds your osapi checkout. Packer bakes one Tart image for each VM: the build, its config and each package. Then Ansible clones the VMs from these images. Nothing configures a VM after it boots, except `debian-lts`, which each deploy upgrades in place. You do all of it from your own machine.
A Mac is the hub. The hub runs the NATS server and the controller of osapi. It also runs one Tart VM for each Linux distribution. Each VM runs an agent. Your machine builds osapi and controls all the other machines over SSH. The hub does not need a checkout of this repository.
Mac (hub) your machine
┌──────────────────────────┐ ┌──────────────────────────┐
│ osapi nats server :4222 │◄──────────│ Ansible, osapi client │
│ osapi controller :8080 │ └──────────────────────────┘
└────────────▲─────────────┘
│
┌─────────┬─┴───────┬──────────┬───────────┐
ubuntu-1 debian-1 fedora-1 opensuse-1 debian-lts Tart VMs, one agent each
To run the lab, see Run the lab. The design page tells how the lab works and why it has this design.
The Contributing guide tells how to run the lab, and how to make and check a change to it.
The MIT License.