!zghijEASpYQWYFzriI:nixos.org

Hydra

379 Members
110 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
22 Aug 2022
@kayla.fire:matrix.orgkayla (she/they) *

I'd like to be able to use declarative jobsets in hydra to spawn jobsets for all unmerged branches(essentially the parsed result of git branch --no-merge main). I figure [dynamic]runCommand will be useful for this but I've not been able to figure out a path of least resistance? (eg, how to get the branch information without inflating evaluation time by a lot, in the case of large repositories). I've tried to go though the git protocol api docs but they seem to be broken on the site right now. Has anyone else done this with a 'generic' git host and hydra?

Alternatively, is there a way to get branch merged information when doing git ls-remote?

21:41:30
@kayla.fire:matrix.orgkayla (she/they) *

I'd like to be able to use declarative jobsets in hydra to spawn jobsets for all unmerged branches(essentially the parsed result of git branch --no-merge main). I figure [dynamic]runCommand will be useful for this but I've not been able to figure out a path of least resistance? (eg, how to get the branch information without inflating evaluation time by a lot, in the case of large repositories). I've tried to go though the git protocol api docs but they seem to be broken on the site right now. Has anyone else done this with a 'generic' git host and hydra?

Alternatively, is there a way to get branch merged information when doing git ls-remote?

Edit: seems like I might be looking for git clone --filter=tree:0 <url>

22:01:53
@kayla.fire:matrix.orgkayla (she/they) *

I'd like to be able to use declarative jobsets in hydra to spawn jobsets for all unmerged branches(essentially the parsed result of git branch --no-merge main). I figure [dynamic]runCommand will be useful for this but I've not been able to figure out a path of least resistance? (eg, how to get the branch information without inflating evaluation time by a lot, in the case of large repositories). I've tried to go though the git protocol api docs but they seem to be broken on the site right now. Has anyone else done this with a 'generic' git host and hydra?

Alternatively, is there a way to get branch merged information when doing git ls-remote?

Edit: not complete but, seems like I might be looking for git clone --filter=tree:0 <url>, but

22:16:55
23 Aug 2022
@callmeecho:matrix.orgEcho joined the room.00:48:41
@andreas.schraegle:helsinki-systems.deajs124
In reply to @kayla.fire:matrix.org

I'd like to be able to use declarative jobsets in hydra to spawn jobsets for all unmerged branches(essentially the parsed result of git branch --no-merge main). I figure [dynamic]runCommand will be useful for this but I've not been able to figure out a path of least resistance? (eg, how to get the branch information without inflating evaluation time by a lot, in the case of large repositories). I've tried to go though the git protocol api docs but they seem to be broken on the site right now. Has anyone else done this with a 'generic' git host and hydra?

Alternatively, is there a way to get branch merged information when doing git ls-remote?

Edit: not complete but, seems like I might be looking for git clone --filter=tree:0 <url>, but

doesn't one of those plugin sort of already do that? gitrefs maybe?
09:38:43
@kayla.fire:matrix.orgkayla (she/they)
In reply to@andreas.schraegle:helsinki-systems.de
doesn't one of those plugin sort of already do that? gitrefs maybe?

The plugins I'm aware of are GitInput Github{Pulls,Refs,Status} and GitLab{Pulls,Status} and GiteaStatus(https://github.com/NixOS/hydra/tree/master/src/lib/Hydra/Plugin). As far as I can tell there isn't yet a GitRefs plugin that does this generically for any git-host? I've been trying to pass parameters (deepClone) to the GitInput input but I'm not getting the branch information i've been looking for yet.

11:57:57
@kha13d:matrix.orgkha13d joined the room.20:26:29
@kha13d:matrix.orgkha13dhey folks - i'm experimenting with Hydra locally, following the instructions here: https://github.com/NixOS/hydra#building-and-developing20:31:57
@kha13d:matrix.orgkha13di created a project + flake based jobset. it picks up the hydraJobs from the flake, but they fail with the following message20:39:43
@kha13d:matrix.orgkha13d" Aborted: error: unexpected end-of-file (log, raw, tail)"20:39:50
@kha13d:matrix.orgkha13dif I click on logs, i get: "error: you are not privileged to build input-addressed derivations"20:40:10
@sandro:supersandro.deSandro nix.trustedUsers is set to [ "@wheel" ] 22:10:55
@kha13d:matrix.orgkha13d thanks Sandro 🐧! that seems to have done it 22:29:23
@sandro:supersandro.deSandro * nix.trustedUsers is set to [ "@wheel" ]? 22:33:01
@kha13d:matrix.orgkha13d Sandro 🐧: actually i think @wheel didn't do it; it was the fact that i added my own username to trusted-users 23:01:27
@kha13d:matrix.orgkha13d afaict wheel is mainly a BSD thing? :) 23:01:40
@sandro:supersandro.deSandroNixOS uses it, too23:22:00
24 Aug 2022
@kha13d:matrix.orgkha13dah gotcha. i happen to be running this on popos, which apparently doesn’t00:59:32
@amanda:camnet.siteAmanda (she/her)It may name it sudo or similar.10:53:47
@amanda:camnet.siteAmanda (she/her)Did something change recently with hydra's evaluation logic? This is the second week in a row my weekly update caused an OOM11:29:01
@amanda:camnet.siteAmanda (she/her)Just doign the evaluation mind you, the actual building is offloaded11:29:55
@kha13d:matrix.orgkha13d
In reply to @amanda:camnet.site
It may name it sudo or similar.
yep, it does
13:42:38
@growpotkin1:matrix.orggrowpotkin ( Alex Ameen ) changed their display name from growpotkin1 to growpotkin ( Alex Ameen ).16:09:36
@tinybronca:sibnsk.net@tinybronca:sibnsk.net changed their display name from tinybronca to underpantsgnome.22:58:07
26 Aug 2022
@v0id:nltrix.net@v0id:nltrix.net joined the room.18:49:25
27 Aug 2022
@jan:smittie.de@jan:smittie.de joined the room.14:28:09

Show newer messages


Back to Room ListRoom Version: 6