| 17 Mar 2023 |
@symphorien:xlumurb.eu | (I mean hydra.nixos.org) | 20:11:31 |
@linus:schreibt.jetzt | symphorien: https://github.com/NixOS/nixos-org-configurations/blob/master/delft/hydra.nix#L33 the latter I AFAICT | 20:12:17 |
@symphorien:xlumurb.eu | thank you | 20:14:20 |
| 18 Mar 2023 |
@symphorien:xlumurb.eu | hello, I'm trying to understand what code paths hydra.nixos.org is taking to upload nars to s3. dwarffs relies on this if branch to be taken https://github.com/NixOS/nix/blob/master/src/libstore/binary-cache-store.cc#L207 but this option is off by default https://github.com/NixOS/nix/blob/master/src/libstore/binary-cache-store.hh#L21 and I don't see it enabled there https://github.com/NixOS/nixos-org-configurations/blob/master/delft/hydra.nix#L33 Any idea where it is set? (xpost from #infra:nixos.org) | 11:51:22 |
| 23 Mar 2023 |
| mei 🌒& changed their display name from ckie (they/them; heavily limited keyboard usage, dictation or voice only) to ckie (they/them; limited keyboard usage, voice preferred). | 02:06:24 |
| 24 Mar 2023 |
| htran joined the room. | 02:19:52 |
| 25 Mar 2023 |
| basednixenjoyer joined the room. | 15:55:54 |
| 26 Mar 2023 |
| rbutani joined the room. | 00:34:36 |
| 28 Mar 2023 |
Arian | Hello. I'm trying to understand the difference between `store_uri` and `server_store_uri`. Neither option is documented. But if i look at the hydra source code if `server_store_uri` is set `store_uri` is ignored. However that makes the NixOS Hydra config non-sensical as its not pointing to the s3 bucket anymore.
https://github.com/NixOS/nixos-org-configurations/blob/72adc59c5ba946c3d4844a920e9beefae12bbd49/delft/hydra.nix#L33 | 12:34:13 |
Arian | The only reference in the source code is here:
https://github.com/NixOS/hydra/blob/082495e34e094cae1eb49dbfc5648938e23c6355/src/lib/Hydra/Helper/Nix.pm#L532 | 12:35:21 |
Arian | But doesn't that mean that the above config results in hydra trying to push to https://cache.nixos.org which as far as i know is read-only? | 12:35:47 |
Arian | Oh wait. This is not actually used for pushing? | 12:39:35 |
Arian | I see | 12:40:37 |
Arian | Just used for serving files; it seems. | 12:40:47 |
Arian | So how do you configure workers to push to cache? | 12:40:57 |
| @clerie:bau-ha.us joined the room. | 12:51:36 |
vcunat | Workers on hydra.nixos.org do not push to cache. | 13:00:53 |
vcunat | The queue runner collects results, compresses signs and pushes. | 13:01:38 |
vcunat | (I hope I didn't get some details wrong, but it shouldn't be too wrong.) | 13:01:58 |
Arian | Where is the queue runner configured to push to cache? | 13:30:14 |
Arian | (context I'm trying to set up Hydra to push to cache but can't figure out from the docs or the source code) | 13:30:31 |
das_j | In reply to @arianvp:matrix.org Where is the queue runner configured to push to cache? They use a custom script for that iirc, not the built-in s3 code | 13:30:48 |
vcunat | Custom script is used for channel updates, but normal binaries of built packages don't use that one. | 13:33:58 |
das_j | In reply to @vcunat:matrix.org Custom script is used for channel updates, but normal binaries of built packages don't use that one. A sorry | 13:55:29 |
| @denna:matrix.org left the room. | 20:34:42 |
| 29 Mar 2023 |
Arian | Oh mystery solved GitHub code search is just bad | 12:57:57 |
Arian | Hydra-queue-runner pushes to store_uri | 12:58:09 |
| 30 Mar 2023 |
mei 🌒& | baaad? are you using cs.github.com? it's been really good for me | 20:37:20 |
mei 🌒& | though i've had to rely on the regex thing more recently | 20:37:32 |
| 3 Apr 2023 |
| docRekd joined the room. | 17:09:15 |