<div dir="ltr"><div dir="ltr">On Tue, Jul 8, 2025 at 4:18 AM Milian Wolff <<a href="mailto:mail@milianw.de">mail@milianw.de</a>> wrote:</div><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Montag, 7. Juli 2025 13:49:14 Mitteleuropäische Sommerzeit Ben Cooksley <br>
wrote:<br>
> Hi all,<br>
<br>
great news, thanks a lot to you and anyone else working on this!<br></blockquote><div><br></div><div>Thanks, it has been quite the adventure over the past couple of months getting everything together.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
<snip><br>
<br>
> As an additional benefit, the system will require significantly less work<br>
> to maintain. Currently each build node, along with the FreeBSD and Windows<br>
> VM thereon, have to be maintained by hand and disk space allocated between<br>
> them in a fixed fashion. This means that any cleanup from stale disk<br>
> images, over-filled caches, etc. has to be done 3 times on each build node<br>
> (being the Linux host as well as the FreeBSD and Windows guest VMs).<br>
> Currently provisioning new nodes is significantly labour intensive as well<br>
> (see<br>
> <a href="https://invent.kde.org/sysadmin/ci-utilities/-/blob/master/gitlab-templates/" rel="noreferrer" target="_blank">https://invent.kde.org/sysadmin/ci-utilities/-/blob/master/gitlab-templates/</a><br>
> README.md for the instructions).<br>
> <br>
> This is essentially completely eliminated with the transition to VM based<br>
> CI, with the majority of the deployment now being possible using Ansible<br>
> with the only manual step being the registration with Gitlab - which is a<br>
> fairly quick process taking less than 20 minutes per node. Maintenance is<br>
> significantly reduced as each node only needs one set of cleanup - not<br>
> three.<br>
> <br>
> Should there be any questions on the above please let me know.<br>
<br>
Are the base VM images built using Ansible or something and thus available to <br>
interested developers too as a means to get quickly into a dev setup? <br>
Especially for Windows that would be great to have, but it would also be cool <br>
if one could download a VM image, start it, maybe install some editor of <br>
choice, and start hacking right away.<br></blockquote><div><br></div><div>The VM images themselves are built using some rather simplistic scripting at <a href="http://invent.kde.org/sysadmin/ci-images">invent.kde.org/sysadmin/ci-images</a>.</div><div>Once built they're published to <a href="http://storage.kde.org/vm-images/">storage.kde.org/vm-images/</a> - so yes you could definitely just download a CI VM image and start hacking right away.</div><div><br></div><div>There is tooling in sysadmin/ci-images (vm-runner folder) which automates the process of downloading an image, setting up the VM, etc and makes running a new one as easy as:</div><div> vm-runner run --cpu 4 --ram 4G --disk 100G --image <a href="http://storage.kde.org/vm-images/alpine-qt68">storage.kde.org/vm-images/alpine-qt68</a> --mount ~/shared/ --ssh-keys ~/.ssh/id_rsa.pub mynewvm</div><div><br></div><div>(using our Alpine image as an example, but you could use the SUSE or FreeBSD images as well)</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Cheers<br>
<br>
-- <br>
Milian Wolff<br>
<a href="mailto:mail@milianw.de" target="_blank">mail@milianw.de</a><br>
<a href="http://milianw.de" rel="noreferrer" target="_blank">http://milianw.de</a></blockquote><div><br></div><div>Thanks,</div><div>Ben </div></div></div>