22 Jul 2024 |
| oliver.falvai left the room. | 06:18:14 |
23 Jul 2024 |
Marius | Hello. I would like to use Hydra for PR preview on a (self-hosted) GitLab instance that involve running, for each MR:
- Compiling the site (with a Nix flake)
- Creating a pinned link to that output in a folder with one link per built derivation, that will be served by NGINX (with whatever security is needed to avoid path traversal)
- Post a link to that URL back in GitLab somehow
I’ve seen there’s some GitLab support in Hydra, but the documentation is rather sparse. Would there be an example repo or configuration?
| 07:30:57 |
K900 | Does it really need to be Hydra | 07:37:35 |
K900 | This feels like something you can do with just running Nix in a container | 07:37:45 |
K900 | And Gitlab Pages | 07:37:48 |
Marius | That mean I’ll have to figure out how those works. But I’ll take a look.
(also, I found that nixos-mailserver at least show how to perform task 1: https://gitlab.com/nix17/nixos-mailserver) | 07:41:13 |
Marius | Redacted or Malformed Event | 07:49:06 |
Marius | * Meh, it seems GitLab pages does not have clean per-pr page hosting. Like GitHub. Where I used an ugly, probably not secure enought, hack. | 07:49:25 |
K900 | Honestly, Hydra is just not the right tool for this | 07:51:24 |
Marius | Actually, it appears the Hydra doc is deployed via Hydra, which can serve build artifact (I actually think it could work. I’ll go experiment with that and share my success of failure) | 08:11:26 |
K900 | I would really not recommend spending much time on this approach | 08:14:03 |
K900 | Hydra is a NixOS-sized solution for a NixOS-sized problem | 08:14:10 |
| Ezzobir Bezziou joined the room. | 08:22:58 |
vcunat | These years we're getting a little big for the hydra's design, but that's another matter. | 08:31:08 |
| dramforever joined the room. | 10:14:14 |
24 Jul 2024 |
| Redstone changed their display name from redstone-menace to Redstone. | 10:15:48 |
25 Jul 2024 |
dramforever | does hydra have support for routing builds by pname or something? trying to figure out if it's possible to route builds to machines without using requiredSystemFeatures which affects the hash | 01:01:00 |
vcunat | I don't expect it has such a feature. | 09:13:46 |
dramforever | well, thanks for the help anyway | 10:00:14 |
| @bumperboat:matrix.org changed their display name from bumperboat (UTC+2) to bumperboat. | 12:47:26 |
27 Jul 2024 |
| @bumperboat:matrix.org left the room. | 11:58:52 |
| @alejandrooo:matrix.org joined the room. | 15:54:32 |
| @alejandrooo:matrix.org left the room. | 15:55:13 |
29 Jul 2024 |
| @kenzie:matrix.kenzi.dev left the room. | 06:58:03 |
| @imincik:matrix.org left the room. | 10:01:45 |
31 Jul 2024 |
Mindavi | I proposed a patch for hydra to improve the test suite by reducing test flakiness: https://github.com/NixOS/hydra/pull/1399 | 15:24:41 |
1 Aug 2024 |
| Vika (she/her) changed their profile picture. | 11:52:20 |
8 Aug 2024 |
| Alyssa Ross set a profile picture. | 18:48:33 |
9 Aug 2024 |
| pythoner6 joined the room. | 17:59:54 |
11 Aug 2024 |
| Mic92 joined the room. | 03:49:24 |