Hydra | 373 Members | |
| 109 Servers |
| Sender | Message | Time |
|---|---|---|
| 27 Dec 2025 | ||
| 13:30:50 | ||
| 21:19:58 | ||
| 28 Dec 2025 | ||
| Good question for the hydra team, can hydra yet be used in github/gittea yet? If not what can I do to help? | 15:48:56 | |
| What does that even mean | 15:51:54 | |
| Hydra can run on arbitrary git repos | 15:52:13 | |
| It's pull based | 15:52:13 | |
| So like when you do a pr it runs? | 15:54:56 | |
| * So like when you do a pr it runs? That's what I mean. | 15:55:09 | |
| Hydra is not designed for that | 15:55:24 | |
| And you probably don't actually want Hydra | 15:55:30 | |
Just run nix build in github actions | 15:55:39 | |
| Hydra is really designed to be post-merge and nixpkgs sized | 15:55:58 | |
| Your use case is neither | 15:56:05 | |
| 16:01:22 | ||
| So you use build-bot/github actions for that right? | 16:02:13 | |
| * So you use build-bot/github actions for that right? Because I am not sure to use build-bot along with hydra. | 16:02:31 | |
| I'm not sure who "you" is but generally that's probably what you want yes | 16:02:42 | |
| * So you use buildbot/github actions for that right? Because I am not sure to use buildbot along with hydra. | 16:02:36 | |
| eveeifyeve: There is a Hydra plugin to make a jobset per PR from Github webhooks. It does work and it is possible to connect it to GHA status reports, but it has pretty minimal usage, poorly documented, and might run into bugs. (i've used it at a small scale) Another option would be to submit jobs directly using the Hydra API per GitHub Action. Also, this use-case isn't thoroughly developed either. I do think some kind of easy Hydra / Generic-Forge integration would be nice to have. I see a bunch of places essentially re-inventing this all the time. | 18:49:20 | |
| I might be better off making my own CI. | 18:50:33 | |
| * I might be better off making my own CI cause buildbot is just not the best to use. | 18:51:00 | |
| I'm trying to see if there is interest for there to be a better set of tools for making CI systems. Rather than building a full CI/CD system, Nix could mature the tooling needed so that anyone can build their own. Some examples of the sorts of things this could mean:
| 18:56:09 | |
| 19:42:26 | ||
| This might be best for when we do eventually do a rewrite nix in rust. Cause in the couples of meetings ago, we did eventually want to look into a full rewrite so playing around with harmonia for now seems the best option before going ahead and doing a pr that fully rewrites nix. | 20:27:20 | |
| I might be interested in this, but have to think about it after 39c3 - I just finished my work on Gorgon, and I've got a lot of thoughts in this kind of direction. | 20:33:33 | |
| https://nlnet.nl/project/GorgonCI/ | 20:50:18 | |
| When a complex software has been used in production for many years, it almost always takes really lots of effort to rewrite it and get a similar quality. | 20:52:45 | |
| Hopefully an evaluator rewrite will tell the caching layer what files have been looked at at all. Hopefully a daemon rewrite would have client-reference-counting for builds from the beginning… So quality is probably not something that can be compared in a linear order | 20:55:38 | |
In reply to @7c6f434c:nitro.chatThere’s no reason to rewrite the evaluator to do this now. It already funnels everything through an internal I/O abstraction | 20:57:15 | |
| It would be pretty easy to do and in fact zimbatm had some quick and dirty poc | 20:58:00 | |