Hydra | 383 Members | |
| 109 Servers |
| Sender | Message | Time |
|---|---|---|
| 31 May 2022 | ||
| not sure if it's that easy, AFAIU you'd need a different owner for the git repo then (on production that's hydra-queue-runner vs hydra IIRC) | 12:08:42 | |
| 1 Jun 2022 | ||
| 09:05:12 | ||
| 2 Jun 2022 | ||
| 18:28:26 | ||
| 4 Jun 2022 | ||
| 20:03:16 | ||
| 6 Jun 2022 | ||
| 00:03:29 | ||
| 16:59:00 | ||
| 7 Jun 2022 | ||
| evaluations hasn't started for 13h; seems like something is wrong https://hydra.nixos.org/jobset/nixos/trunk-combined | 07:26:19 | |
| * evaluation hasn't started for 13h; seems like something is wrong https://hydra.nixos.org/jobset/nixos/trunk-combined | 07:26:28 | |
| I might have caused that with a diverging nested attrset in nixos.tests.allDrivers, I think. I've fixed that problem in master at Jun 6 20:22:26 2022 +0200 | 07:30:13 | |
| 07:54:30 | ||
| I was told to re-ask my question here: Is there any more documentation about how to make Hydra build a Flake, beyond the comment on hydraJobs in https://nixos.wiki/wiki/Flakes ? | 07:54:53 | |
In reply to @jackdk:matrix.orgHum, I'd say this is really all there is to it in a flake.nix. Or do you mean how to set up a flake project in the Hydra UI? | 08:02:57 | |
In reply to @kenran_:matrix.org
| 08:04:03 | |
In reply to @jackdk:matrix.orgAh, I think I did this by trial and error, too. I don't have a spec.json, and I don't think it's needed. Let me see if I can retrace my steps: | 08:05:43 | |
| 08:09:45 | |
*
| 08:10:20 | |
| I'm thinking about how to do CI for my private/public projects because I feel a bit rude rebuilding the universe on various CI services, but I haven't actually got anything serious running. | 08:10:52 | |
| (Mind you I'm also a first-time Hydra user, so there might be gaps in my understanding, but so far everything is working in my end.) | 08:10:58 | |
But because the flake completely specifies its inputs, ISTM that you don't need the separate spec.json to declare which inputs you want in NIX_PATH or whatever | 08:11:53 | |
If you have private repos, then the hydra user on your server needs access via SSH. I've just added a special GitLab user and SSH key pair on the server in /var/lib/hydra (I think that was the path). | 08:12:35 | |
In reply to @jackdk:matrix.orgYeah, that sounds about right. I've never used spec.json; feels like hydraJobs make that obsolete for flake projects. | 08:13:16 | |
Yeah it looks like spec.json does everything flakes do, but worse. Consider https://github.com/qfpl/reflex-workshop/blob/master/spec.json : it says "go evaluate release.nix from input reflex-workshop, setting <nixpkgs> and <reflex-workshop> in NIX_PATH. The attrset that the evaluation returns defines the jobs to actually run. | 08:16:50 | |
| Ah yes. Just use the flake output type and enjoy :) | 08:17:27 | |
| Sadly the NixOS tests I've written fail in my Hydra instance and I don't know why. I'll wait and see if anyone answers in the NixOS channel first, then re-post here in full detail. In essence all my tests use a
| 08:19:20 | |
| Locally they're running just fine, so I'm at a loss. It's a flake project with everything pinned down and supposedly reproducible. | 08:19:46 | |
In reply to @roberthensing:matrix.orgit came through ✅ | 13:49:28 | |
| 8 Jun 2022 | ||
| 19:22:46 | ||
| 9 Jun 2022 | ||
| 23:04:16 | ||
| 10 Jun 2022 | ||
I'm trying to create a minimal example for my Hydra/PostgreSQL problem mentioned above now, mainly just using a postgresql_10 service and waiting for the unit to come up. This is what usually seems to fail on my Hydra, but not locally. | 10:31:10 | |
| Hum, of course the minimal example works as expected. The only thing I can even think of is the pin. | 10:58:25 | |