Hi! It seems that our team will start working on a new inventory script and a standard role for testing containers inside a VM. I already skimmed through existing inventory scripts and seems that the new dynamic inventory script will be just a combination of existing scripts (https://pagure.io/standard-test-roles/blob/master/f/inventory/standard-inventory-qcow2 + https://pagure.io/standard-test-roles/blob/master/f/inventory/standard-inventory-docker).
The main problem is provisioning the VM: we need container runtime, the container image and test dependencies to be present inside -- this code should be present inside the standard role, is that correct?
Any guidance, ideas is really helpful to us.
Hi. You move in the right direction.
The most tricky part is to provide access to container from VM to test-runner as ansible inventory host.
For testing containers we use: http://docs.ansible.com/ansible/latest/intro_inventory.html#non-ssh-connection-types
ansible_connection == docker
In your case docker will be running in VM, not test-runner. If you have any thoughts, let me know (IRC or stop near my cubicle).
Andrei, thanks for your feedback. I will probably try to hack this, send a PR and we can then chat, what do you think?
I talked to @astepano in person and we agreed that creating a new role doesn't make much sense. Instead we'll create a PoC using the basic role and evaluate whether it makes sense to somehow incorporate it in this repo.
We resolved this by using standard-test-basic role and utilizing required_services and required_packages variables.
Metadata Update from @ttomecek: - Issue close_status updated to: INVALID - Issue status updated to: Closed (was: Open)