[Nix-dev] Installing hydra

Marco Maggesi maggesi at math.unifi.it
Wed Sep 21 18:01:41 CEST 2011


Answering to my own questions:
start hydra_evaluator.pl and hydra_queue_runner.pl

I should have read the docs more carefully before asking.
Sorry for the noise.
Marco


On Sep 21, 2011, at 4:38 PM, Marco Maggesi wrote:

> 
> Fantastic!  I have hydra running on my computer.
> 
> Now I would like to insert my first jobset.
> Following the documentation I'm trying with patchelf.
> I configured the jobset and everything seems to work.
> 
> But I have no job in the jobset and the queue is empty.
> Even if a click on "Evaluate" in the project page nothing seems to happen
> (but I see that an svn checkout is started in /tmp).
> But I have no job in the queue and no builds.
> 
> Is this related to views?
> I'm trying to add a view with some jobs but without success.  I get
> Invalid job name: xyz
> 
> Can you explain better what I should do?
> 
> Thanks again,
> Marco
> 
> On Sep 21, 2011, at 2:58 PM, Eelco Dolstra wrote:
> 
>> Hi,
>> 
>> On 09/21/2011 02:35 PM, maggesi at math.unifi.it wrote:
>> 
>>> I'm trying to install hydra on my machine following these instructions
>>> http://hydra.nixos.org/job/hydra/trunk/tarball/latest/download-by-type/doc-pdf/manual
>>> 
>>> When I launch the server and I connect to http://localhost:3000 i get
>>> a page with the following error:
>>> 
>>> DBIx::Class::ResultSet::count(): DBI Connection failed: DBI
>>> connect('dbname=hydra;host=localhost;','',...) failed: fe_sendauth: no
>>> password supplied at
>>> /nix/store/8f5i7znjg0jqhzskarij0bqv9x1x6va9-perl-DBIx-Class-0.08195/lib/perl5/site_perl/5.10.1/DBIx/Class/Storage/DBI.pm line 1248 at /nix/store/jap22447dvbvsa8c22jf9mm330mmgdf9-hydra-0.1pre29302/libexec/hydra/lib/Hydra/Controller/Root.pm line
>>> 24
>> 
>> Are you using PostgreSQL or SQLite?  If you're using PostgreSQL, put your 
>> password in ~/.pgpass (something like "servername:*:hydra:hydra:<password>").
>> 
>>> BTW: I find somehow surprising that there is no easy mechanism for
>>> installing hydra on nixos (something like config.services.hydra.enable
>>> = true  +  nixos-rebuild switch).
>> 
>> This may be what you want: 
>> https://svn.nixos.org/repos/nix/configurations/trunk/tud/hydra-module.nix
>> 
>> -- 
>> Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/
>> _______________________________________________
>> nix-dev mailing list
>> nix-dev at lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev



More information about the nix-dev mailing list