vn971 / rua

Build tool for Arch Linux providing control, review and jailed build options
GNU General Public License v3.0
425 stars 41 forks source link

Workflow idea: frequent builds in non-interactive throw-away VMs. Review and approve process is decoupled and allows for zero build time #215

Open digitalsignalperson opened 1 year ago

digitalsignalperson commented 1 year ago

I've been wondering about this possibility:

The benefit is that when you need to do an update, there is zero build time. Rather than an interactive process of reviewing and then waiting and then reviewing, you just have review once and done. This is effectively making a quarantined local binary repo, where there is a way to review the diffs/artifacts before moving binaries into a trusted local repo. This relies on trusting the VM can't be escaped easily, other security features like rua has implemented, and that the packages you are doing this with are also relatively trustworthy.

I've been finding LXD to be easy and fast to spin up and kill unprivileged arch VMs, along with binding folders into it or pushing/pulling data out. I'm interested to play with this if anyone has ideas to try.

K. I'm ready to be roasted on why this is a bad idea :)