| 31 Jan 2022 |
@sjanssen:matrix.org | this is what I'm trying: https://gist.github.com/spencerjanssen/786cc8c2b047faf92767917e0fb2dcc6 | 20:47:47 |
@sjanssen:matrix.org | consistently get a message error: access to canonical path '/nix/store/...-user-environment' is forbidden in restricted mode. I think it's failing because I'm trying to instantiate a nixpkgs? | 20:48:31 |
ajs124 | we use them, but we also patch hydra to disable restricted mode | 20:49:56 |
ajs124 | (not because of that, we just do that in general) | 20:50:06 |
@grahamc:nixos.org | 🤔 | 21:48:58 |
@grahamc:nixos.org | Spencer Janssen: I typically use https://github.com/DeterminateSystems/hydra-github-jobsets-generator | 21:49:38 |
@sjanssen:matrix.org | In reply to @grahamc:nixos.org Spencer Janssen: I typically use https://github.com/DeterminateSystems/hydra-github-jobsets-generator this is cool! Very similar to what I was trying to build myself | 22:04:40 |
@grahamc:nixos.org | Great! It isn’t perfect, I have a couple
branches in that repo working on some things. But yeah, cool :) | 22:05:25 |
@grahamc:nixos.org | Also theGitHub status code is WAY improved on hydra master btw | 22:06:18 |
@sjanssen:matrix.org | do you know if it should work with jobs that are flakes? Can I set inputs = {} and flake = "..." in config.json? | 22:06:30 |
@grahamc:nixos.org | { “flake”: true } I think | 22:07:52 |
@grahamc:nixos.org | { "flakes": true } | 22:08:58 |
@grahamc:nixos.org | and in the project.json I apparently use a branch to fix an issue with private repos:
"generator": {
"type": "git",
"value": "https://github.com/DeterminateSystems/hydra-github-jobsets-generator.git make-flake-definition-fixup-flake-uri",
"emailresponsible": false
},
which is this pr: https://github.com/DeterminateSystems/hydra-github-jobsets-generator/pull/28
| 22:09:55 |
@grahamc:nixos.org | we've been a bit swamped with holidays and catching back up, so haven't gotten back around to finishing it off :) | 22:10:19 |
@sjanssen:matrix.org | grahamc (he/him): getting a similar message about restricted mode from hydra-github-jobsets-generator. Using hydra-unstable from nixos-unstable, could that be a problem? | 22:28:14 |
@grahamc:nixos.org | hum. | 22:28:40 |
@grahamc:nixos.org | can you paste your literal project.json? | 22:28:55 |
@sjanssen:matrix.org | https://gist.github.com/spencerjanssen/90627cea757b8097322cbf75f82c0315 | 22:29:55 |
@grahamc:nixos.org | and can you paste the error? | 22:30:37 |
@sjanssen:matrix.org | updated that gist | 22:31:30 |
@grahamc:nixos.org | that is actually the exact same store path, I don't think it is very likely to be producing the exact same error | 22:36:14 |
@grahamc:nixos.org | I wonder if something else is going wrong | 22:36:18 |
@grahamc:nixos.org | I've got to run for the night, though :(. maybe verify that it is actually evaluating again? maybe watch the logs of hydra-evaluator? | 22:36:54 |
@grahamc:nixos.org | (hydra in nixpkgs should be just fine for this purpose, btw, but it does not have the github status improvements) | 22:37:15 |
@sjanssen:matrix.org | I did see the evaluation in the logs. I will poke at it a bit and see what happens. Thanks! | 22:37:47 |
@grahamc:nixos.org | cool, good luck! I hope you sort it. | 22:38:36 |
| 1 Feb 2022 |
@grahamc:nixos.org | I'd love to get a review of this PR adding support for executing dynamic hooks with the runcommand plugin. If anyone could do so: https://github.com/NixOS/hydra/pull/1103 | 16:08:09 |
@grahamc:nixos.org | it is ready to merge as far as I can tell | 16:08:15 |
| 2 Feb 2022 |
| Rev. CornWallace III (novus ordo seclorum) changed their display name from CoilWinder (novus ordo seclorum) to Chuck Winter. | 08:36:56 |
Amanda (she/her) | grahamc (he/him): am I reading this wrong, or will this enable the dynamic run if the option is defined at all, not if it's defined and true? https://github.com/NixOS/hydra/pull/1103/files#diff-2165ead8c9c6015677b1ac65e80ea1a77b1bc75d2ae0953306084a59f778e105R271 | 23:45:54 |