!zghijEASpYQWYFzriI:nixos.org

Hydra

387 Members
111 Servers

Load older messages


SenderMessageTime
27 Jan 2022
@ckie:ckie.devmei πŸŒ’&ah! the endless ambiguity between the offical hydra instance and hydra itself01:04:24
@grahamc:nixos.org@grahamc:nixos.orgas far as I'm concerned, this channel is exclusively about the software Hydra, and not any specific deployment of Hydra01:04:49
@ckie:ckie.devmei πŸŒ’&i didn't even notice what channel i was chatting in until the ambiguity arose01:05:21
@ckie:ckie.devmei πŸŒ’&:P01:05:50
@grahamc:nixos.org@grahamc:nixos.org:)01:06:39
@grahamc:nixos.org@grahamc:nixos.org

here, I think you can make that isLocalhost function this:

  if (sshName.size() < 9) {
      return false;
  }

  return (sshName.substr(sshName.size() - 9) == "localhost");

01:09:30
@grahamc:nixos.org@grahamc:nixos.org *

here, I think you can make that isLocalhost function this:

  if (sshName.size() < 9) {
      return false;
  }

  return (sshName.substr(sshName.size() - 9) == "localhost");

then use "i686.localhost" and "x86.localhost"

01:11:40
@grahamc:nixos.org@grahamc:nixos.org Amanda (she/her): ^ 01:15:52
31 Jan 2022
@sjanssen:matrix.org@sjanssen:matrix.org joined the room.20:28:41
@sjanssen:matrix.org@sjanssen:matrix.orgis there a current working example of "Generated, Declarative Projects"? https://hydra.nixos.org/build/165366167/download/1/hydra/plugins/declarative-projects.html#generated-declarative-projects20:33:56
@sjanssen:matrix.org@sjanssen:matrix.orgthis is what I'm trying: https://gist.github.com/spencerjanssen/786cc8c2b047faf92767917e0fb2dcc620:47:47
@sjanssen:matrix.org@sjanssen:matrix.orgconsistently 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
@andreas.schraegle:helsinki-systems.deajs124we use them, but we also patch hydra to disable restricted mode20:49:56
@andreas.schraegle:helsinki-systems.deajs124(not because of that, we just do that in general)20:50:06
@grahamc:nixos.org@grahamc:nixos.orgπŸ€”21:48:58
@grahamc:nixos.org@grahamc:nixos.org Spencer Janssen: I typically use https://github.com/DeterminateSystems/hydra-github-jobsets-generator 21:49:38
@sjanssen:matrix.org@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@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@grahamc:nixos.org Also theGitHub status code is WAY improved on hydra master btw 22:06:18
@sjanssen:matrix.org@sjanssen:matrix.orgdo 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@grahamc:nixos.org { β€œflake”: true } I think 22:07:52
@grahamc:nixos.org@grahamc:nixos.org { "flakes": true } 22:08:58
@grahamc:nixos.org@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@grahamc:nixos.orgwe'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@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@grahamc:nixos.orghum.22:28:40
@grahamc:nixos.org@grahamc:nixos.orgcan you paste your literal project.json?22:28:55
@sjanssen:matrix.org@sjanssen:matrix.orghttps://gist.github.com/spencerjanssen/90627cea757b8097322cbf75f82c031522:29:55
@grahamc:nixos.org@grahamc:nixos.organd can you paste the error?22:30:37
@sjanssen:matrix.org@sjanssen:matrix.orgupdated that gist22:31:30

Show newer messages


Back to Room ListRoom Version: 6