[yast-devel] Quick testing of your changes from home office
Hi, after my machine in office dies few weeks ago I struggle a bit with testing, as downloading isos to my home is not optimal due to bandwidth. But step by step I am improving it and now I have quick and efficient way for testing and it is possible for anyone in team ( outside contributors sadly cannot benefit from our internal server and PXE setup ). So: 1. create VM ( ideally use prefix for your machine ) with disk on our team server pong.suse.cz or autobus.suse.de ( internal only both and needs to be in yast group in salt OPS configuration ). For me virt-manager works well for this step. 2. boot via network, so you can use PXE setup in PRG or NUE and just add startshell=1 option ( tab in final PXE screen ) 3. test your changes with yupdate as lada describe in some previous emails. In short I git push to e.g. bootloader branch better_wording and just call `yupdate patch yast-bootloader better_wording` and voila, you have system for testing ready and exit sends you where you need. yupdate works from 15.2 if I remember correctly, otherwise scp and /y2update is needed. Josef
On Tue, 2020-11-17 at 23:50 +0100, josef Reidinger wrote:
Hi, after my machine in office dies few weeks ago I struggle a bit with testing, as downloading isos to my home is not optimal due to bandwidth. But step by step I am improving it and now I have quick and efficient way for testing and it is possible for anyone in team ( outside contributors sadly cannot benefit from our internal server and PXE setup ).
So:
1. create VM ( ideally use prefix for your machine ) with disk on our team server pong.suse.cz or autobus.suse.de ( internal only both and needs to be in yast group in salt OPS configuration ). For me virt- manager works well for this step. 2. boot via network, so you can use PXE setup in PRG or NUE and just add startshell=1 option ( tab in final PXE screen ) 3. test your changes with yupdate as lada describe in some previous emails. In short I git push to e.g. bootloader branch better_wording and just call `yupdate patch yast-bootloader better_wording` and voila, you have system for testing ready and exit sends you where you need. yupdate works from 15.2 if I remember correctly, otherwise scp and /y2update is needed.
Thanks a lot, Josef. I'll try it next time I need to test changes.
Josef _______________________________________________ YaST Development mailing list -- yast-devel@lists.opensuse.org To unsubscribe, email yast-devel-leave@lists.opensuse.org List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/yast-devel@lists.opensuse.org
Dne 17. 11. 20 v 23:50 josef Reidinger napsal(a):
yupdate works from 15.2 if I remember correctly
Yes, that's true. But you can manually install it into an older release quite easily, see https://github.com/yast/yast-installation/blob/master/doc/yupdate.md#install... -- Ladislav Slezák YaST Developer SUSE LINUX, s.r.o. Corso IIa Křižíkova 148/34 18600 Praha 8
participants (3)
-
David Díaz
-
josef Reidinger
-
Ladislav Slezak