| 13 Feb 2024 |
K900 | Hydra doesn't really integrate back into your forge | 18:00:39 |
K900 | Any forge | 18:00:41 |
K900 | If you want to do real CI, you probably want to use Gitea's built-in whatever it has | 18:01:07 |
K900 | And just run nix build with a bunch of builders | 18:01:14 |
ma27 | In reply to @ronnypfannschmidt:matrix.org
Anyone aware of a example configuration for running hydera against a own repository on a self hosted forge? I have a gitea instance and I'd like to run nix ci for my flakes on it hydra can give you status checks (check mark vs red x) in your gitea repo.
there's PR support for github, but nobody has ported it to other solutions so far. | 18:03:26 |
ma27 | https://github.com/NixOS/hydra/blob/c1bd50a80db45930cdfc1975903d1f76cca1053a/doc/manual/src/projects.md?plain=1#L371-L405 | 18:04:40 |
@ronnypfannschmidt:matrix.org | i understand, then i'll have to use act-runner on gitea after upgrading things | 18:13:45 |
@antifuchs:asf.computer | In reply to @antifuchs:asf.computer why that seems to land unescaped on a bash cmdline is ... not clear to me, and it seems scary whoops, the script that does this is written by me in the jobsets job. Helps to do cat <<'EOF' instead of <<EOF | 19:59:14 |
magic_rb | In reply to @toonn:matrix.org magic_rb: No clue TBH but wouldn't the URI for a path be file://<your path>? I bypassed it, made an empty repo on sourcehut | 20:06:58 |
| 14 Feb 2024 |
| @5m5z3q888q5prxkg:chat.lightnovel-dungeon.de changed their profile picture. | 19:41:34 |
| 15 Feb 2024 |
dustee | how do i declare a hydra job that will build my nixosConfigurations.myhost from my flake? | 09:14:23 |
dustee | * how do i declare a hydra job that will build my nixosConfigurations.myhost from my flake? i tried Flake URI = path:/nix/config#nixos-my-server-02 | 09:15:40 |
dustee | * how do i declare a hydra job that will build my nixosConfigurations.myhost from my flake? i tried Flake URI = path:/nix/config#nixos-my-server-02 but evaluation fails | 09:15:49 |
dustee | id like for hydra to build all the things necessary for that host so i will have them available the next time i rebuild switch | 09:17:15 |
dustee | could i maybe extend my flake with hydraJob somehow? but still dont know what to put in there | 09:18:08 |
dustee | * could i maybe extend my flake with hydraJob and then target the flake repo with hydra? but still dont know what to put in the hydraJob | 09:19:19 |
magic_rb | In reply to @dustee:matrix.org could i maybe extend my flake with hydraJob somehow? but still dont know what to put in there Just put nixosConfigurations.yourhost.config.system.build.toplevel there into an attrset at the yourhost key | 09:22:13 |
dustee | thanks, just need to figure out how to do that with flake-parts ... | 09:45:05 |
dustee | i think it works but im getting a bunch of forbidden in restricted mode errors, is it possible to disable restricted mode in hydra? | 10:35:11 |