Hello Tatiana & Ricardo! Ricardo Wurmus <rek...@elephly.net> skribis:
> I wasn’t sure about this, so I asked on the #guix IRC channel. Ludovic > replied there that the Cuirass repository contains a “random” > specification in “examples/random.scm”. It uses > “examples/random-jobs.scm” to generate … random jobs :) Specifically, here’s how I would launch Cuirass for testing purposes: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env cuirass -D cuirass.db -I 10 -S examples/random.scm 2018-06-11T13:20:58 running Fibers on 4 kernel threads 2018-06-11T13:20:58 marking stale builds as "scheduled"... 2018-06-11T13:20:58 listening on 127.0.0.1:8080 2018-06-11T13:20:58 retrieving list of pending builds... 2018-06-11T13:20:58 heap: 11.82 MiB; threads: 10; file descriptors: 55 2018-06-11T13:20:58 considering spec 'random', URL 'file:///data/src/cuirass' 2018-06-11T13:20:58 canceling 3 stale builds 2018-06-11T13:20:58 restarting 0 pending builds 2018-06-11T13:20:58 building 0 derivations in batches of 200 2018-06-11T13:20:58 done with 0 derivations 2018-06-11T13:20:58 done with restarted builds 2018-06-11T13:20:58 spec 'random': fetched commit "238f856e48ee333ed3e19fa32ce5e1742c650c67" (stamp was "43be95c40a433d21f65c9e6bfb04ccc9fa8e2db4") 2018-06-11T13:20:58 next evaluation in 10 seconds 2018-06-11T13:20:58 evaluating 'random' with commit "238f856e48ee333ed3e19fa32ce5e1742c650c67" evaluating random jobs from directory "/gnu/store/bb7x9wgc91h9jndyd9k36dysqnamjmyl-cuirass-238f856", commit "238f856e48ee333ed3e19fa32ce5e1742c650c67" 2018-06-11T13:20:59 created evaluation 5 for random, commit 238f856e48ee333ed3e19fa32ce5e1742c650c67 2018-06-11T13:20:59 building 11 jobs for 'random' 2018-06-11T13:20:59 building 11 derivations in batches of 200 2018-06-11T13:20:59 building batch of 200 derivations (0/11) 2018-06-11T13:21:00 build started: '/gnu/store/npkk2v9n3lrs99j6hfm2sa7z839q00lz-random0.drv' 2018-06-11T13:21:00 build started: '/gnu/store/xbsa9sk4aipcvkqpxai73pzad523mwnc-random1.drv' 2018-06-11T13:21:08 considering spec 'random', URL 'file:///data/src/cuirass' 2018-06-11T13:21:08 spec 'random': fetched commit "238f856e48ee333ed3e19fa32ce5e1742c650c67" (stamp was "238f856e48ee333ed3e19fa32ce5e1742c650c67") 2018-06-11T13:21:08 next evaluation in 10 seconds --8<---------------cut here---------------end--------------->8--- This example instructs Cuirass to populate the ‘cuirass.db’ file from the current directory, to check the repo in the current directory every 10 seconds, and to use the job specification from ‘examples/random.scm’. The HTTP server of Cuirass is listening on ‘localhost’, port 8080. Let me know if you have any questions! (I’m civodul on #guile.) HTH, Ludo’.