Hydra | 368 Members | |
| 110 Servers |
| Sender | Message | Time |
|---|---|---|
| 13 Feb 2024 | ||
| You can just point Hydra at a git+ssh or git+https URL | 17:53:50 | |
| Then I'm perhaps missing how I'd deal with results/check back report I'm used to Jenkins or forge native ci tools | 18:00:24 | |
| Hydra doesn't really integrate back into your forge | 18:00:39 | |
| Any forge | 18:00:41 | |
| If you want to do real CI, you probably want to use Gitea's built-in whatever it has | 18:01:07 | |
And just run nix build with a bunch of builders | 18:01:14 | |
In reply to @ronnypfannschmidt:matrix.orghydra 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 | |
| https://github.com/NixOS/hydra/blob/c1bd50a80db45930cdfc1975903d1f76cca1053a/doc/manual/src/projects.md?plain=1#L371-L405 | 18:04:40 | |
| i understand, then i'll have to use act-runner on gitea after upgrading things | 18:13:45 | |
In reply to @antifuchs:asf.computerwhoops, the script that does this is written by me in the jobsets job. Helps to do cat <<'EOF' instead of <<EOF | 19:59:14 | |
In reply to @toonn:matrix.orgI bypassed it, made an empty repo on sourcehut | 20:06:58 | |
| 14 Feb 2024 | ||
| 19:41:34 | ||
| 15 Feb 2024 | ||
how do i declare a hydra job that will build my nixosConfigurations.myhost from my flake? | 09:14:23 | |
* 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 | |
* 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 | |
| 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 | |
| could i maybe extend my flake with hydraJob somehow? but still dont know what to put in there | 09:18:08 | |
| * 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 | |
In reply to @dustee:matrix.orgJust put nixosConfigurations.yourhost.config.system.build.toplevel there into an attrset at the yourhost key | 09:22:13 | |
| thanks, just need to figure out how to do that with flake-parts ... | 09:45:05 | |
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 | |
* i think it works but im getting a bunch of forbidden in restricted mode errors when its trying to pull in inputs, is it possible to disable restricted mode in hydra? | 10:35:40 | |
* i think it works but im getting a bunch of forbidden in restricted mode errors. i already once had this problem and fixed it with allowed-uris = ["github:" "git+" "path:"]; but now again this url is problematic error: access to URI 'git+https://.... | 10:39:16 | |
* i think it works but im getting a bunch of forbidden in restricted mode errors. i already once had this problem and fixed it with allowed-uris = ["github:" "git+" "path:"]; but now again this uri is problematic error: access to URI 'git+https://.... | 10:39:30 | |
* i think it works but im getting a bunch of forbidden in restricted mode errors. i already once had this problem and fixed it with allowed-uris = ["github:" "git+" "path:"]; but now again this uri is problematic error: access to URI 'git+https://....?ref=main&rev=43d1?ref=main&rev=43d1... | 10:41:53 | |
* i think it works but im getting a bunch of forbidden in restricted mode errors. i already once had this problem and fixed it with allowed-uris = ["github:" "git+" "path:"]; but now again this uri is problematic error: access to URI 'git+https://....?ref=main&rev=43d1?ref=main&rev=43d1... is forbidden in restricted mode | 10:42:11 | |
* i think it works but im getting a bunch of forbidden in restricted mode errors. i already once had this problem and fixed it with allowed-uris = ["github:" "git+" "path:"]; but now again this uri is problematic error: access to URI 'git+https://....?ref=main&rev=43d1... is forbidden in restricted mode | 10:42:40 | |
* i think it works but im getting a bunch of forbidden in restricted mode errors. i already once had this problem and fixed it with allowed-uris = ["github:" "git+" "path:"]; but now again this uri is problematic error: access to URI 'git+https://....?ref=main&rev=43d1... is forbidden in restricted mode. And this command works nix build --restrict-eval /nix/config#nixosConfigurations.myhost.config.system.build.toplevel | 11:19:03 | |
* i think it works but im getting a bunch of forbidden in restricted mode errors. i already once had this problem and fixed it with allowed-uris = ["github:" "git+" "path:"]; but now again this uri is problematic error: access to URI 'git+https://....?ref=main&rev=43d1... is forbidden in restricted mode. But this command works nix build --restrict-eval /nix/config#nixosConfigurations.myhost.config.system.build.toplevel | 11:19:27 | |
| 11:23:51 | ||