| 22 Apr 2022 |
Artturin | In reply to @net-mist:matrix.org Hello 👋 I would like to have the build status for a specific list of packages (build/don't build), and for each package that doesn't build, the date of the last successful build. Is there an API on Hydra that allows that ? I went through the endpoints listed here: https://github.com/NixOS/hydra/blob/master/hydra-api.yaml, but they don't seem relevant for my problem https://github.com/nix-community/hydra-check | 13:19:50 |
Artturin | sadly no api for the last successful builds https://github.com/nix-community/hydra-check/issues/12 | 13:20:14 |
net-mist | thanks a lot ! | 14:51:19 |
| 24 Apr 2022 |
kayla (she/they) | I'm trying to pull in the hydra flake on my local build machine configuration, it would seem that when using the outputs.nixosModules.hydra module, it adds an overlay for both hydra-dev and nix. I also host nix-serve on the same configuration, which has the following line in nixpkgs platforms = nix.meta.platforms;. This seems to have conflicts as github:nixos/nix does not seem to have meta.platforms set, as shown by the error I'm hitting
building the system configuration...
error: attribute 'platforms' missing
at /nix/store/hlw0ara6xnmqvlybgvh6a2ygjvc34n43-source/pkgs/tools/package-management/nix-serve/default.nix:50:17:
49| license = licenses.lgpl21;
50| platforms = nix.meta.platforms;
| ^
51| };
(use '--show-trace' to show detailed location information)
---
nix eval github:NixOS/nix#nix.meta.platforms
error: flake 'github:NixOS/nix' does not provide attribute 'packages.x86_64-linux.nix.meta.platforms', 'legacyPackages.x86_64-linux.nix.meta.platforms' or 'nix.meta.platforms'
Is there any known workarounds/fixes for this?
| 12:01:41 |
| dadada (they/them) changed their display name from dadada (they/them) to dadada (er/they). | 15:49:19 |
| @rewina:matrix.org joined the room. | 19:37:00 |
| 25 Apr 2022 |
Amanda (she/her) | Wasn't there a hydra webhook for jobs? I could haave sworn that code lived in src/lib/Hydra/ | 22:45:37 |
Amanda (she/her) | * Wasn't there a hydra webhook for jobs? I could haave sworn that code lived in src/lib/Hydra/Plugin/ | 22:45:45 |
Amanda (she/her) | That is, hydra webhooks that get sent when a job is done, not a webhook to send to hydra. | 22:47:51 |
| 26 Apr 2022 |
cransom | there's hydra-notify, or runcommand but nothing outgoing webhook specific that i recall. | 02:36:28 |
| phaer changed their display name from Paul Haerle to phaer. | 10:29:17 |
Amanda (she/her) | I'll have to check my got history. I used to use a node-red receiver transform a json-based we hook into-- oh! I used runcommabd and sent the JSON using curl! | 11:47:52 |
Amanda (she/her) | Just remembered | 11:48:08 |
| mei 🌒& changed their profile picture. | 17:43:25 |
| 29 Apr 2022 |
@ulrikstrid:matrix.org | In reply to @artturin:matrix.org Could you add the error messages you got and a link to that to https://nixos.wiki/wiki/Hydra#Known_Issues Finally got around to add this 😅 | 07:55:12 |
kayla (she/they) | I was told that people in this channel might appreciate the PR I have adding more output about worker processes termination to hydra-eval-jobs, so that error: unexpected EOF reading a line is not the only information about how it failed. | 16:51:55 |
@ulrikstrid:matrix.org | In reply to @kayla.fire:matrix.org I was told that people in this channel might appreciate the PR I have adding more output about worker processes termination to hydra-eval-jobs, so that error: unexpected EOF reading a line is not the only information about how it failed. Literally the issue I had | 17:38:39 |
@ulrikstrid:matrix.org | What is the easiest way of getting my hydra build into somewhere I can use as a cache? I have multiple builders in my setup for different platforms | 17:39:44 |
ajs124 | You can just serve the store of your hydra machine. If that's what you want to do. | 17:42:55 |
@ulrikstrid:matrix.org | Will my builders upload to the hydra machine? | 17:46:31 |
@ulrikstrid:matrix.org | I feel like I missed something | 17:46:45 |
ajs124 | Hydra copies the build results back from the builders into its own store | 17:56:43 |
@ulrikstrid:matrix.org | Oh, okay, that's easy then. Thank you | 17:57:34 |
@grahamc:nixos.org | hydra itself can present a binary cache | 17:58:06 |
@grahamc:nixos.org | as long as you provide the signing key, I think it does that automatically? not sure | 17:58:16 |
@grahamc:nixos.org | (I've never used it for that) | 17:58:21 |
ajs124 | In reply to @grahamc:nixos.org (I've never used it for that) (nobody ever has) | 17:58:57 |
@grahamc:nixos.org | lol somebody has ... | 17:59:05 |
@grahamc:nixos.org | though maybe we should delete its support for it | 17:59:12 |
@grahamc:nixos.org | it isn't very good at it | 17:59:17 |