!zghijEASpYQWYFzriI:nixos.org

Hydra

363 Members
108 Servers

Load older messages


SenderMessageTime
15 May 2024
@hexa:lossy.networkhexabut also that thing is plugin based, and I don't think we have enabled any10:15:52
@hexa:lossy.networkhexahttps://github.com/NixOS/infra/blob/master/delft/hydra.nix#L30-L32 🤷10:17:41
16 May 2024
@vcunat:matrix.orgvcunatOh, hydra allows to build the same build twice in parallel on different machines (same hash, dependency of two different jobs).07:49:53
@vcunat:matrix.orgvcunatI'm not 100% sure about the overlapping timing, but it really did look that way now.07:51:12
@k900:0upti.meK900Same output hash or same drv hash?07:52:17
@k900:0upti.meK900I think it schedules by drv hash07:52:21
@k900:0upti.meK900So two different FODs with the same output hash can happen07:52:33
@vcunat:matrix.orgvcunatBoth. It wasn't a FOD.07:53:22
@k900:0upti.meK900Oh no07:53:53
@k900:0upti.meK900Is the toposort broken07:53:55
@vcunat:matrix.orgvcunatI retried and it does look like it, at least from web UI.07:54:32
@vcunat:matrix.orgvcunatIt's a step that doesn't have its own job.07:55:01
@vcunat:matrix.orgvcunatOff the top of my head I don't expect real issues from this, mostly just some waste of resources sometimes.07:56:07
@aloisw:kde.org@aloisw:kde.orgPossibly https://github.com/NixOS/nix/issues/7756?08:13:52
@aloisw:kde.org@aloisw:kde.org* Possibly https://github.com/NixOS/nix/issues/7756 ?08:14:21
@aloisw:kde.org@aloisw:kde.org* Possibly https://github.com/NixOS/nix/issues/7756 ?08:14:29
@vcunat:matrix.orgvcunatI expect it could cause inconsistencies among the non-deterministic stuff (including the log).08:34:38
17 May 2024
@antifuchs:asf.computer@antifuchs:asf.computer left the room.13:26:29
@cjbayliss:matrix.org@cjbayliss:matrix.org left the room.23:47:45
18 May 2024
@Ericson2314:matrix.orgJohn EricsonIf anyone wants to rewrite the build system in Meson, I will take it 00:13:33
@Ericson2314:matrix.orgJohn Ericson I am more fond of the Nix/GHC-style fancy single make invocation than automake's $(MAKE) everywhere 00:14:01
@Ericson2314:matrix.orgJohn EricsonI don't think the current Hydra build system has redeeming qualities00:14:15
@arcayr:rascals.net@arcayr:rascals.net left the room.08:14:17
@tim92:matrix.orgtim joined the room.21:01:03
@tim92:matrix.orgtim

Hey people, how can I configure hydra to checkout a private repo through ssh? I have tried adding a ssh key to the hydra user home dir, my project config looks like this:

   name    | displayname |                description                | enabled | hidden | owner |              homepage               | declfile  | decltype |              declvalue              | enable_dynamic_run_command 
-----------+-------------+-------------------------------------------+---------+--------+-------+-------------------------------------+-----------+----------+-------------------------------------+----------------------------
 nixconfig | nixconfig   | System configuration for all my computers |       1 |      0 | admin | https://github.com/timhae/nixconfig | spec.json | git      | git@github.com:timhae/nixconfig.git | f
(1 row)

(please excuse the formatting).That unfortunately gives me the following error:

May 18 23:22:24 server hydra-evaluator[376537]: starting evaluation of jobset ‘nixconfig:.jobsets (jobset#1)’ (last checked 300 s ago)
May 18 23:22:26 server hydra-evaluator[377356]: (nixconfig:.jobsets) Fetching input `decl` (git) git@github.com:timhae/nixconfig.git
May 18 23:22:28 server hydra-evaluator[377365]: fatal: ambiguous argument 'master': unknown revision or path not in the working tree.
May 18 23:22:28 server hydra-evaluator[377365]: Use '--' to separate paths from revisions, like this:
May 18 23:22:28 server hydra-evaluator[377365]: 'git <command> [<revision>...] -- [<file>...]'
May 18 23:22:28 server hydra-evaluator[377356]: command `git rev-parse master' failed with exit status 32768 in /var/lib/hydra/scm/git/ccf70cf8803f9584da653030eb51f8fc7f407e5ff30b7d976dc4ba3a1e99afe4 at /nix/store/qf86r75y8pf8y7mqv87vp9jwvq5qpy5y-hydra-2024-03-08/libexec/hydra/lib/Hydra/Helper/Nix.pm line 460.
May 18 23:22:28 server hydra-evaluator[376537]: evaluation of jobset ‘nixconfig:.jobsets (jobset#1)’ failed with exit code 1

which is expected as my default branch is 'main'. How do I tell hydra about that?

21:24:49
19 May 2024
@vcunat:matrix.orgvcunatimage.png
Download image.png
06:55:52
@vcunat:matrix.orgvcunatYou just configure that in your jobset. 06:55:53
@vcunat:matrix.orgvcunatThe error isn't about the repo being private, at all.06:56:44
@vcunat:matrix.orgvcunatIt's about choosing the branch to check out.06:56:55
@vcunat:matrix.orgvcunat(though I'm surprised that it won't just choose the main branch if you don't specify any)06:57:38

Show newer messages


Back to Room ListRoom Version: 6