unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* How to use the laminar service?
@ 2024-12-06 20:02 Marc Coquand
  2024-12-07 19:11 ` Marek Paśnikowski
  0 siblings, 1 reply; 2+ messages in thread
From: Marc Coquand @ 2024-12-06 20:02 UTC (permalink / raw)
  To: help-guix


Heya, I'm trying to set up a Ci, and as I'm going through the docs I
came across the laminar service.

As far as I understand, with laminar you should have your job scripts in
its home directory, which is by default /var/lib/laminar, under
the child directory /cfg/jobs/X.run. The scripts should be executable
and have permission +X.

However, looking at the configuration, there is no simple way of
defining these jobs.

I tried adding to my config

(extra-special-file "/var/laminar/cfg/jobs/hello.run"
				      (local-file "hello.run"))

As a very simple test, but it did not work, laminar claims to not find
hello.run when i run 

Is there a particular way you are supposed to set up jobs with this service?

Thanks in advance,

-- 
Marc


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to use the laminar service?
  2024-12-06 20:02 How to use the laminar service? Marc Coquand
@ 2024-12-07 19:11 ` Marek Paśnikowski
  0 siblings, 0 replies; 2+ messages in thread
From: Marek Paśnikowski @ 2024-12-07 19:11 UTC (permalink / raw)
  To: help-guix

On piątek, 6 grudnia 2024 21:02:16 CET Marc Coquand wrote:
> Heya, I'm trying to set up a Ci, and as I'm going through the docs I
> came across the laminar service.
> 
> As far as I understand, with laminar you should have your job scripts in
> its home directory, which is by default /var/lib/laminar, under
> the child directory /cfg/jobs/X.run. The scripts should be executable
> and have permission +X.
> 
> However, looking at the configuration, there is no simple way of
> defining these jobs.
> 
> I tried adding to my config
> 
> (extra-special-file "/var/laminar/cfg/jobs/hello.run"
> 				      (local-file "hello.run"))
> 
> As a very simple test, but it did not work, laminar claims to not find
> hello.run when i run
> 
> Is there a particular way you are supposed to set up jobs with this service?
> 
> Thanks in advance,

I have not put files in services myself yet, but one thing I immediately 
noticed, is that you used the natural path of "/var/laminar/..." .  Try using 
the "/gnu/store/hash-laminar/var/..." by constructing it with, I believe, 
search-input-directory.

https://guix.gnu.org/manual/en/html_node/Build-Utilities.html

Marek Pasnikowski





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-12-07 19:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-06 20:02 How to use the laminar service? Marc Coquand
2024-12-07 19:11 ` Marek Paśnikowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).