| 22 Aug 2022 |
kayla (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 (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 (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 |
| Echo joined the room. | 00:48:41 |
ajs124 | 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 (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 joined the room. | 20:26:29 |
kha13d | hey folks - i'm experimenting with Hydra locally, following the instructions here: https://github.com/NixOS/hydra#building-and-developing | 20:31:57 |
kha13d | i created a project + flake based jobset. it picks up the hydraJobs from the flake, but they fail with the following message | 20:39:43 |
kha13d | " Aborted: [31;1merror:[0m unexpected end-of-file (log, raw, tail)" | 20:39:50 |
kha13d | if I click on logs, i get: "error: you are not privileged to build input-addressed derivations" | 20:40:10 |
Sandro | nix.trustedUsers is set to [ "@wheel" ] | 22:10:55 |
kha13d | thanks Sandro 🐧! that seems to have done it | 22:29:23 |
Sandro | * nix.trustedUsers is set to [ "@wheel" ]? | 22:33:01 |
kha13d | 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 | afaict wheel is mainly a BSD thing? :) | 23:01:40 |
Sandro | NixOS uses it, too | 23:22:00 |
| 24 Aug 2022 |
kha13d | ah gotcha. i happen to be running this on popos, which apparently doesn’t | 00:59:32 |
Amanda (she/her) | It may name it sudo or similar. | 10:53:47 |
Amanda (she/her) | Did something change recently with hydra's evaluation logic? This is the second week in a row my weekly update caused an OOM | 11:29:01 |
Amanda (she/her) | Just doign the evaluation mind you, the actual building is offloaded | 11:29:55 |
kha13d | In reply to @amanda:camnet.site It may name it sudo or similar. yep, it does | 13:42:38 |
| growpotkin ( Alex Ameen ) changed their display name from growpotkin1 to growpotkin ( Alex Ameen ). | 16:09:36 |
| @tinybronca:sibnsk.net changed their display name from tinybronca to underpantsgnome. | 22:58:07 |
| 26 Aug 2022 |
| @v0id:nltrix.net joined the room. | 18:49:25 |
| 27 Aug 2022 |
| @jan:smittie.de joined the room. | 14:28:09 |