77eb3e2b5b
This is infrastructure that's oriented around Vagrant, we do builds inside the target VM (actually inside a Docker container), but then directly `make install DESTDIR=/host/`. The goal here is to have a convenient workflow for: - dev -> hand testing - dev -> run destructive tests Closes: #303 Approved by: jlebon |
||
---|---|---|
.. | ||
atomic-centos-continuous.repo | ||
Dockerfile.builder | ||
host-install.sh | ||
Makefile | ||
README.md | ||
setup.yml |
Using vmcheck
One time setup:
host$ vagrant up
host$ vagrant ssh
vm$ sudo rpm-ostree rebase centos-atomic-continuous:centos-atomic-host/7/x86_64/devel/continuous
vm$ systemctl reboot
Edit source code on the host system; to synchronize, use:
vagrant rsync
To build and install into the VM:
host$ vagrant ssh
vm$ cd ~/sync/tests/vmcheck
vm$ make build
vm$ make install
vm$ systemctl restart rpm-ostreed