!zghijEASpYQWYFzriI:nixos.org

Hydra

392 Members
110 Servers

Load older messages


SenderMessageTime
22 Apr 2022
@artturin:matrix.orgArtturin
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:matrix.orgArtturinsadly no api for the last successful builds https://github.com/nix-community/hydra-check/issues/1213:20:14
@net-mist:matrix.orgnet-mistthanks a lot !14:51:19
24 Apr 2022
@kayla.fire:matrix.orgkayla (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
@tim:stratum0.orgdadada (they/them) changed their display name from dadada (they/them) to dadada (er/they).15:49:19
@rewina:matrix.org@rewina:matrix.org joined the room.19:37:00
25 Apr 2022
@amanda:camnet.siteAmanda (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:camnet.siteAmanda (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:camnet.siteAmanda (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
@casey:hubns.netcransomthere's hydra-notify, or runcommand but nothing outgoing webhook specific that i recall.02:36:28
@phaer:matrix.orgphaer changed their display name from Paul Haerle to phaer.10:29:17
@amanda:camnet.siteAmanda (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:camnet.siteAmanda (she/her)Just remembered11:48:08
@ckie:ckie.devmei 🌒& changed their profile picture.17:43:25
29 Apr 2022
@ulrikstrid:matrix.org@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.fire:matrix.orgkayla (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@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@ulrikstrid:matrix.orgWhat 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 platforms17:39:44
@andreas.schraegle:helsinki-systems.deajs124You can just serve the store of your hydra machine. If that's what you want to do.17:42:55
@ulrikstrid:matrix.org@ulrikstrid:matrix.orgWill my builders upload to the hydra machine?17:46:31
@ulrikstrid:matrix.org@ulrikstrid:matrix.orgI feel like I missed something17:46:45
@andreas.schraegle:helsinki-systems.deajs124Hydra copies the build results back from the builders into its own store17:56:43
@ulrikstrid:matrix.org@ulrikstrid:matrix.orgOh, okay, that's easy then. Thank you17:57:34
@grahamc:nixos.org@grahamc:nixos.orghydra itself can present a binary cache17:58:06
@grahamc:nixos.org@grahamc:nixos.orgas long as you provide the signing key, I think it does that automatically? not sure17:58:16
@grahamc:nixos.org@grahamc:nixos.org(I've never used it for that)17:58:21
@andreas.schraegle:helsinki-systems.deajs124
In reply to @grahamc:nixos.org
(I've never used it for that)
(nobody ever has)
17:58:57
@grahamc:nixos.org@grahamc:nixos.orglol somebody has ...17:59:05
@grahamc:nixos.org@grahamc:nixos.orgthough maybe we should delete its support for it17:59:12
@grahamc:nixos.org@grahamc:nixos.orgit isn't very good at it17:59:17

Show newer messages


Back to Room ListRoom Version: 6