Hi,

Maybe I'm just looking to hard, but I can't find the right information
for the set-up I desire.

I have successfully installed GitLab and GitLab CI on a server within
my LAN. I have also successfully installed a GitLab CI runner on a
virtual machine (VM, VirtualBox) on another server within my LAN.

The thing is, I would like to have my VM start 'clean' for every test
the runner runs. Using an immutable disk[1] I have managed to make my
VM boot into the same state each time it is (re)started.

Is there any (simple) way to make my runners reboot after running a
test? I have tried adding something like `sudo shutdown -r now &` to
the test script, but this only seems to work occasionally (it makes
sense the runner has no or little time to send its testing results).

Any thoughts on this?

Many thanks in advance.

Regards,
Erik

[1] 
http://www.virtuatopia.com/index.php/Understanding_and_Configuring_VirtualBox_Virtual_Hard_Disks#Normal.2C_Immutable_and_Write-Through_Disk_Images

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/808631af-11d4-4e1a-a624-0e6be788adb0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to