| 27 Oct 2021 |
infinisil | das_j: Then I don't think the filter has any use, I'll investigate the history of this when I have time | 20:23:46 |
| fabianhjr joined the room. | 21:10:54 |
| 28 Oct 2021 |
| NixOS Moderation Bot banned David Arnold (blaggacao) (<no reason supplied>). | 20:04:59 |
| 29 Oct 2021 |
ma27 | any opinions about https://github.com/NixOS/hydra/pull/922? Yes, it isn't the prettiest solution, but I'm still quite interested in finding a solution to use plugins with flake jobsets. Also, this is my only pending Hydra PR that can probably be reviewed without sacrificing at least a day %) | 18:20:14 |
| 30 Oct 2021 |
Mic92 | I documented hydra webhooks for github: https://github.com/NixOS/hydra/pull/1052 | 07:48:15 |
| jeonwh joined the room. | 11:07:19 |
| 31 Oct 2021 |
| toonn changed their profile picture. | 20:19:14 |
| 3 Nov 2021 |
| jbedo changed their profile picture. | 10:25:29 |
| 4 Nov 2021 |
Mic92 | Why is the prometheus endpoint per job and not per jobset? | 18:36:55 |
Mic92 | Nevermind. I can just use telegraf's sql input for that. | 18:45:20 |
@grahamc:nixos.org | what would you like it to say per jobset? | 18:56:55 |
@grahamc:nixos.org | one reason I didn't make it per jobset is indeed I wanted to monitor a specific job | 18:57:13 |
@grahamc:nixos.org | so, probably the reason is nobody built it yet :P | 18:57:23 |
Mic92 | grahamc: getting an alert if one of my build fails: https://hydra.thalheim.io/eval/160 | 18:58:45 |
@grahamc:nixos.org | gotcha, so just monitor the entire jobset instead of an aggregate job | 18:59:13 |
@grahamc:nixos.org | makes good sense to me | 18:59:16 |
Mic92 | @grahamc: only issue is if you use this endpoint on nixpkgs with 100.000 jobs per jobset. | 19:00:04 |
@grahamc:nixos.org | yeah, that is also why I haven't tried to implement it :) | 19:00:30 |
@grahamc:nixos.org | there is a gulf between "Most users" and "hydra.nixos.org" on appropriate features | 19:00:55 |
das_j | sounds like return if Sys::Hostname == "NAME_OF_THE_NIXOS_HOST" | 19:01:42 |
@grahamc:nixos.org | puke | 19:01:52 |
das_j | * sounds like return if Sys::Hostname::hostname == "NAME_OF_THE_NIXOS_HOST" | 19:01:53 |
@grahamc:nixos.org | I mean, finding ways to make the queries efficient would be cool | 19:02:21 |
Mic92 | @cole-h: can I use type == "githubpulls" with this flake-enabled repos? https://github.com/DeterminateSystems/terraform-provider-hydra/blob/49a6e07486ce42894b859ebc44cb6dbf36d07902/examples/default/main.tf#L61 | 19:28:08 |
cole-h | IIRC githubpulls is a legacy input type, so I don't think so... | 19:54:10 |
cole-h | Can you do that if you create it from the Hydra web UI? | 19:54:25 |
Mic92 | cole-h: you are right. That's not a thing. That's a weird limitation. | 19:59:54 |
@grahamc:nixos.org | ma27 has a PR which makes it possible to add inputs to a flake. I was hesitant because I think the UI is destined to be confusing, but that hasn't stopped much in Hydra before :P | 20:32:36 |
ma27 | I added a big warning above the form if flakes are supposed to be used. So it's ugly, but the behavior shouldn't be too unexpected :)
using this patch for a few months btw and it seems to work fine for me :) | 20:43:22 |
Mic92 | well. I think I can live with the current approach: https://github.com/Mic92/dotfiles/blob/master/nixos/eve/modules/hydra/jobs.tf | 20:44:38 |