all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Getting Unit Test Results Out Of Guix Build
@ 2021-10-25 12:30 Phil Beadling
  2021-10-26  4:24 ` raingloom
  0 siblings, 1 reply; 6+ messages in thread
From: Phil Beadling @ 2021-10-25 12:30 UTC (permalink / raw)
  To: help-guix

Hi all,

Given Guix builds packages in a container, is there any way of getting a
file out of the build container for further processing?

In my use case - I generate some junit test XML output during the build
process and want to render that to a webpage rather than send it to stdout
as part of the build process?

It is possible to export the nar file using guix archive --export, and
possible to keep failed build artifacts using -K, but there doesn't seem to
be a way to dump out a file from a successful build?

Is this against the philosphy of purely-functional builds?  Obviously it is
a side-effect to dump out an XML file, but no more so than sending build
logs to stdout?  Is it possible to dump outputs without breaking
referential transparency on the inputs - i.e. it should be possible to
configure a directory that is write-only for the container, but can be read
by users outside the container?

Or am I missing something obvious?

Thanks,
Phil.

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

end of thread, other threads:[~2021-11-05  1:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-25 12:30 Getting Unit Test Results Out Of Guix Build Phil Beadling
2021-10-26  4:24 ` raingloom
2021-10-26 18:31   ` Phil
2021-11-04 13:52     ` Phil Beadling
2021-11-05  1:15       ` raingloom
2021-11-05  1:53         ` Phil

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.