guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shepherd service works on host but fails inside system container


From: Attila Lendvai
Subject: Re: shepherd service works on host but fails inside system container
Date: Mon, 27 Mar 2023 08:39:22 +0000

> Relatedly, does anyone have a nicer workflow they use to define and
> test shepherd services?

i'm not sure it's a nicer workflow, but i'm mimicing the Guix tests:

https://github.com/attila-lendvai/guix-crypto/blob/main/tests/swarm-tests.scm#L19

it is based on `guix system vm` and the testing is by manually looking at stuff 
in the VM (you get a VM console in your terminal). the startup time is in the 
ballpark of 20-30 secs on my laptop.

adding automated tests to this is i think possible.

let us know if you have a faster cycle.

-- 
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“Since no individual acting separately can lawfully use force to destroy the 
rights of others, does it not logically follow that the same principle also 
applies to the common force that is nothing more than the organized combination 
of the individual forces?”
        — Frédéric Bastiat (1801–1850), 'The Law' (1850)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]