Am Mittwoch, den 27.05.2020, 13:12 +0200 schrieb Davide Liessi: > Dear Jonas, > > Il giorno sab 23 mag 2020 alle ore 20:01 Jonas Hahnfeld > <hah...@hahnjo.de> ha scritto: > > If you have spare hardware and / or want to help with CI testing, this > > is easy to setup with GitLab. > > I have setup my laptop for GitLab's CI (of course you already know it). > > A question which may be interesting also to other people: what happens > if I suspend or switch off my laptop during a build? > Will the merge request be marked as failed or will another build be > scheduled in another runner?
AFAIK the pipeline will be marked failed, but the job can be retried manually. To avoid this you can gracefully shutdown the runner, I thought I had shared this somewhere: https://docs.gitlab.com/runner/configuration/init.html#overriding-the-default-service-files I'm using this and verified that it waits until the current build finishes. The downside is that it could take up to ~30 minutes if it has just started a doc build. In that case it may be easier to cancel the job online and reschedule it. Jonas
signature.asc
Description: This is a digitally signed message part