Hydra | 397 Members | |
| 113 Servers |
| Sender | Message | Time |
|---|---|---|
| 26 Jul 2021 | ||
| You can't. Not all of nixpkgs evaluates. | 13:04:14 | |
| Gytis Ivaskevicius: the only way to really do that would be use hydra's evaluator to get a list of derivations and then walk them and bulid | 13:18:51 | |
| Is it documented anywhere? | 13:24:30 | |
Gytis Ivaskevicius: nix-shell -p hydra-unstable --run "hydra-eval-jobs -I. pkgs/top-level/release.nix" although keep in mind this doesn't technically even evaluate all of nixpkgs | 17:45:21 | |
| but most of it | 17:45:23 | |
| and most likely everything you care about | 17:45:38 | |
| 27 Jul 2021 | ||
| 14:39:47 | ||
| Hi, I'm trying to integrate hydra with GitLab, the intended outcome is to have a project for merge requests and a jobset for every merge request, I have tried with the GitlabPulls.pm plugin but I'm starting to think that is not really what I need | 14:55:39 | |
| 🤔 I've never used the Pulls plugin, but I've got an upcoming project that involves it | 15:25:01 | |
| It looks like you have to use declarative jobsets to use this plugin. This plugin provides an inputs to the declarative jobsets, your nix code would iterate over the pulls in that input, and return a list of jobsets | 15:27:19 | |
| but it is not clear how to actually do that | 15:27:30 | |
| like, a bare bones example would be super helpful here 🙃 | 15:27:50 | |
| Oh, ok nothing was having sense because I was not aware of the "declarative projects"... | 15:27:59 | |
| understandable | 15:28:37 | |
| the docs are not easy to follow but https://github.com/NixOS/hydra/blob/master/doc/manual/src/projects.md#generated-declarative-projects | 15:29:19 | |
| So in the end I still need to have a separate repository (or a hydra-fetchable) which contains a nix file that evaluates the list of jobsets? I'm really confused | 15:47:17 | |
| I still don't get how many levels of indirection we have, this plugin needs some config file, can I store it inside some file, and then create a declarative project that uses that file? | 15:51:46 | |
| There is a reason why I cannot delete a jobset from a project? | 16:24:47 | |
| if the project was created declaratively, you won't be able to delete them. | 16:40:33 | |
| Redacted or Malformed Event | 16:42:20 | |
So I managed to create a declarative project that is using the GitlabPulls, but it seems that the plugin it broken, when I declare the project I must set a "Declarative spec file" but if I set it I get this errorJul 27 18:43:53 hydra-staging hydra-evaluator[149715]: read_file '/nix/store/p8mjch1a8wg3ir2ac1vj4g2i2cmlhd35-gitlab-pulls-sorted.json/dummi_declarative_file!!!' - open: Not a directory at /nix/store/ayql17hvhbbwy0rj2q6zql0n9bfvsddc-hydra-2021-05-03/bin/.hydra-eval-jobset-wrapped line 571. | 16:48:56 | |
| The plugin correctly generate the jobs.json and puts it into the store, but for some reason I cannot use it, maybe there has been some changes on hydra that has made the plugin not working? | 16:50:43 | |
| With some hacks I have managed to make the jobs file work, but it seems that the plugin is half broken, the jobs format is invalid | 17:29:04 | |
| 29 Jul 2021 | ||
| Still battling with the Gitlab integration for hydra, now I have this error:
The jobset git input configuration is the following
which for some reason is not working 🧐 | 16:39:49 | |
| it sounds like git isn't fetching those refs by default, so it can't access them | 16:44:47 | |
| 31 Jul 2021 | ||
| does anybody want to help me to get https://github.com/NixOS/hydra/pull/743 forward? (I'd mainly need reviews or testers, the code is mostly ready, I'd resolve the merge conflicts as soon as other's have the capacity to push this forward) | 21:31:23 | |
| 1 Aug 2021 | ||
| 08:05:17 | ||
| https://github.com/NixOS/hydra/pull/825 would be nice, too | 21:48:43 | |
| 6 Aug 2021 | ||
| 18:10:38 | ||
| rfr:
lukegb (he/him) if you're comfortable with C++ and approving #825 I'll merge it | 18:46:38 | |