Discussion:
[Nix-dev] Hydra jobs from private git repositories
Teo Klestrup Röijezon
2016-03-25 15:18:56 UTC
Permalink
Hi,

Is there any support for setting up Hydra jobs with private git
repositories as build inputs? I generated a SSH keypair each for hydra and
hydra-queue-runner, and added them both as deploy keys on Bitbucket, but
the authentication still seems to fail.
This was using Hydra 32fa3921463cd7688b6b61602cfc707f406b46ae and Nixpkgs
90330c27cd62bd009f0973b92c13af6cfddbca19.

Thanks,
Teo
Oliver Charles
2016-03-25 20:29:53 UTC
Permalink
I've had luck just doing `sudo -u hydra -i` on the Hydra machine and
setting up id_rsa and friends in ~/.ssh. I think the full path is
/var/lib/hydra/.ssh.
Post by Teo Klestrup Röijezon
Hi,
Is there any support for setting up Hydra jobs with private git
repositories as build inputs? I generated a SSH keypair each for hydra and
hydra-queue-runner, and added them both as deploy keys on Bitbucket, but
the authentication still seems to fail.
This was using Hydra 32fa3921463cd7688b6b61602cfc707f406b46ae and Nixpkgs
90330c27cd62bd009f0973b92c13af6cfddbca19.
Thanks,
Teo
_______________________________________________
nix-dev mailing list
http://lists.science.uu.nl/mailman/listinfo/nix-dev
Teo Klestrup Röijezon
2016-03-25 21:47:05 UTC
Permalink
Did that for both hydra and hydra-queue-runner, no luck. :/
Post by Oliver Charles
I've had luck just doing `sudo -u hydra -i` on the Hydra machine and
setting up id_rsa and friends in ~/.ssh. I think the full path is
/var/lib/hydra/.ssh.
Post by Teo Klestrup Röijezon
Hi,
Is there any support for setting up Hydra jobs with private git
repositories as build inputs? I generated a SSH keypair each for hydra and
hydra-queue-runner, and added them both as deploy keys on Bitbucket, but
the authentication still seems to fail.
This was using Hydra 32fa3921463cd7688b6b61602cfc707f406b46ae and Nixpkgs
90330c27cd62bd009f0973b92c13af6cfddbca19.
Thanks,
Teo
_______________________________________________
nix-dev mailing list
http://lists.science.uu.nl/mailman/listinfo/nix-dev
Teo Klestrup Röijezon
2016-03-25 21:48:21 UTC
Permalink
For the record, it says something about host key verification failing. If I
try to run `ssh ***@bitbucket.org` sudoed as either user it works and shows
that it should have access to the repo.
Post by Teo Klestrup Röijezon
Did that for both hydra and hydra-queue-runner, no luck. :/
Post by Oliver Charles
I've had luck just doing `sudo -u hydra -i` on the Hydra machine and
setting up id_rsa and friends in ~/.ssh. I think the full path is
/var/lib/hydra/.ssh.
Post by Teo Klestrup Röijezon
Hi,
Is there any support for setting up Hydra jobs with private git
repositories as build inputs? I generated a SSH keypair each for hydra and
hydra-queue-runner, and added them both as deploy keys on Bitbucket, but
the authentication still seems to fail.
This was using Hydra 32fa3921463cd7688b6b61602cfc707f406b46ae and
Nixpkgs 90330c27cd62bd009f0973b92c13af6cfddbca19.
Thanks,
Teo
_______________________________________________
nix-dev mailing list
http://lists.science.uu.nl/mailman/listinfo/nix-dev
Domen Kožar
2016-03-25 22:28:01 UTC
Permalink
See https://github.com/peti/hydra-tutorial/issues/2
Post by Teo Klestrup Röijezon
For the record, it says something about host key verification failing. If
shows that it should have access to the repo.
Post by Teo Klestrup Röijezon
Did that for both hydra and hydra-queue-runner, no luck. :/
Post by Oliver Charles
I've had luck just doing `sudo -u hydra -i` on the Hydra machine and
setting up id_rsa and friends in ~/.ssh. I think the full path is
/var/lib/hydra/.ssh.
Post by Teo Klestrup Röijezon
Hi,
Is there any support for setting up Hydra jobs with private git
repositories as build inputs? I generated a SSH keypair each for hydra and
hydra-queue-runner, and added them both as deploy keys on Bitbucket, but
the authentication still seems to fail.
This was using Hydra 32fa3921463cd7688b6b61602cfc707f406b46ae and
Nixpkgs 90330c27cd62bd009f0973b92c13af6cfddbca19.
Thanks,
Teo
_______________________________________________
nix-dev mailing list
http://lists.science.uu.nl/mailman/listinfo/nix-dev
_______________________________________________
nix-dev mailing list
http://lists.science.uu.nl/mailman/listinfo/nix-dev
Teo Klestrup Röijezon
2016-03-26 00:30:18 UTC
Permalink
D'oh! Disabling StrictHostKeyChecking made it work perfectly, thanks!
Post by Domen Kožar
See https://github.com/peti/hydra-tutorial/issues/2
Post by Teo Klestrup Röijezon
For the record, it says something about host key verification failing. If
shows that it should have access to the repo.
Post by Teo Klestrup Röijezon
Did that for both hydra and hydra-queue-runner, no luck. :/
Post by Oliver Charles
I've had luck just doing `sudo -u hydra -i` on the Hydra machine and
setting up id_rsa and friends in ~/.ssh. I think the full path is
/var/lib/hydra/.ssh.
Post by Teo Klestrup Röijezon
Hi,
Is there any support for setting up Hydra jobs with private git
repositories as build inputs? I generated a SSH keypair each for hydra and
hydra-queue-runner, and added them both as deploy keys on Bitbucket, but
the authentication still seems to fail.
This was using Hydra 32fa3921463cd7688b6b61602cfc707f406b46ae and
Nixpkgs 90330c27cd62bd009f0973b92c13af6cfddbca19.
Thanks,
Teo
_______________________________________________
nix-dev mailing list
http://lists.science.uu.nl/mailman/listinfo/nix-dev
_______________________________________________
nix-dev mailing list
http://lists.science.uu.nl/mailman/listinfo/nix-dev
Loading...