!zghijEASpYQWYFzriI:nixos.org

Hydra

389 Members
111 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
20 Mar 2022
@janne.hess:helsinki-systems.dedas_j * ajs124 has a PR open against Hydra 18:15:24
@mic92:nixos.dev@mic92:nixos.devunstable18:15:43
@mic92:nixos.dev@mic92:nixos.devand hydra-unstable18:15:52
@mic92:nixos.dev@mic92:nixos.devI think18:15:53
@janne.hess:helsinki-systems.dedas_j

we have this:

    package = (pkgs.hydra-unstable.overrideAttrs (oA: rec {
      name = "${oA.pname}-${version}";
      version = "unstable-2022-03-10";

      src = pkgs.fetchFromGitHub {
        owner = "nixos";
        repo = "hydra";
        rev = "b67608964c1dae26f7b31925fd2f32c76d8c6ca6";
        sha256 = "sha256-ASORHIoPAf/SsHZUmuvvp1i15J8oPluUCMe8jozJdss=";
      };

      patches = let
        prPatches = [
          # Kill buttons
          { id = "836"; sha256 = "sha256-A0Hl4n3B7PQFtJhS1wBGYLjoabiT059TBNU3+lD5nIw="; }
          # GitInput: Avoid fetch if rev is available
          { id = "868"; sha256 = "sha256-dTFGWhfiANs5Z5ScmZxFaCZPZfAVBJOceEOvVMHShSw="; }
          # queue-runner status in topbar
          { id = "869"; sha256 = "sha256-iFpMV4Z5VE7YmvnAHAydUQYk0FNKNarPYqRHEAuT4/w="; }
          # tailon
          { id = "957"; sha256 = "sha256-1XZpDVf1OXLptWIIMhZjO2QVNoE95pPhLC/7bparZF0="; }
          # Make eval restriction an option instead of forcing
          { id = "888"; sha256 = "sha256-TCJEmTkycUWTx7U433jaGzKwpbCyNdXqiv9UfhsHnfs="; }
          # improved UI
          { id = "965"; sha256 = "sha256-bOtHGYa1r4CUZVRyRET6C/qRp4L4lKSbezbtVqfVA8o="; }
          # Dynamic RunCommand
          # Does not apply
          #{ id = "1103"; sha256 = "sha256-AaWdKiFuxNscw9TwPQAeQG/xcFb4YN1EFVqRLu00S5w="; }
          # Fix local store detection and related issues
          { id = "1156"; sha256 = "sha256-uSCmJ8AESSFLcCrcPA2AS9UFo+w5mhZB7zFqb1k/sJA="; }
          # jobsets: Show status of next evaluation as emoji
          { id = "1157"; sha256 = "sha256-VtpKSLh/Xy31lJUnlONK8rt370sIzMm7fjxCWKvQdiY="; }
          # Make the use of substitutes on builders configurable
          { id = "1158"; sha256 = "sha256-K9FUlJZ5VTAwJYzmCaHuj+R4AYk4HDH510sRQ2LMfUw="; }
        ];
      in oA.patches ++ map (p: pkgs.fetchpatch {
        url = "https://patch-diff.githubusercontent.com/raw/NixOS/hydra/pull/${p.id}.patch";
        inherit (p) sha256;
        includes = [
          "src/**"
          "*.am"
          "*.ac"
          "bootstrap"
        ];
      }) prPatches;

      buildInputs = oA.buildInputs ++ (with pkgs.perlPackages; [
        CatalystAuthenticationStoreLDAP
        CatalystPluginPrometheusTiny
        FileSlurper
        IPCRun3
        LinuxInotify2
        ListSomeUtils
        ParallelForkManager
        ReadonlyX
        UUID4Tiny
      ]);

      doCheck = false;

      # Insert the correct version into the wrapper
      postInstall = ''
        ${oA.postInstall}
        sed -i 's/^.*HYDRA_RELEASE.*$/export HYDRA_RELEASE="${removePrefix "unstable-" version}"/g' $out/bin/hydra-server
      '';

    })).override {
      nix = config.nix.package;
    };
18:16:55
@janne.hess:helsinki-systems.dedas_jworks with nix 2.718:17:03
@janne.hess:helsinki-systems.dedas_j ummm where's the 2.7 stuff ajs124? 18:17:33
@janne.hess:helsinki-systems.dedas_jI thought there was yet another PR pinned for that18:17:43
@andreas.schraegle:helsinki-systems.deajs124remember how you can fetch commits of forks through their "parent" repo on github?18:18:11
@janne.hess:helsinki-systems.dedas_jboi18:18:21
@cole-h:matrix.orgcole-hYeah, the commit of the hydra repo used is pointing to the 2.7 fixing pr :P18:18:53
@mic92:nixos.dev@mic92:nixos.devMhm. I think I wait a bit. Mayflower also has an open PR. Let's see what happens in a week.18:18:57
@cole-h:matrix.orgcole-h(Line 8 pasted above)18:19:03
@hexa:lossy.networkhexa hydra.override { mayflowerFlavor = false; helsinkiFlavor = true; } when 19:13:09
21 Mar 2022
@ckie:ckie.devmei 🌒& hydra.override { flavor = "helsinki"; }? 03:04:11
@hexa:lossy.networkhexafor clarity: this as in-joke 🙂03:10:45
@hexa:lossy.networkhexa * for clarity: this was in-joke 🙂03:10:48
@hexa:lossy.networkhexa * for clarity: this was in-joke 🙂 I'm not proposing we add anything even close to that. Instead maybe both firms that are avid hydra users can review each others changes and get their usage closer to nixpkgs 🙂03:11:30
@janne.hess:helsinki-systems.dedas_j
In reply to @hexa:lossy.network
for clarity: this was in-joke 🙂 I'm not proposing we add anything even close to that. Instead maybe both firms that are avid hydra users can review each others changes and get their usage closer to nixpkgs 🙂
It's not that easy when none of the companies can actually merge stuff and when the main consumer of the hydra codebase is a huge group that (for good reason) get angry when you break their CI :/
09:44:38
@ma27:nicht-so.sexyma27
In reply to @grahamc:nixos.org
ma27: could I give you access to a larger amount of data for testing? :)
I highly doubt that my personal infrastructure will be able to handle this storage-wise, so perhaps we need to find a different testing environment... what sizes are we talking about?
13:13:08
@grahamc:nixos.org@grahamc:nixos.orgI mean how about I give you access to my local copy13:13:34
@grahamc:nixos.org@grahamc:nixos.orgare you using tailscale?13:18:40
23 Mar 2022
@sternenseemann:systemli.orgsterni You can't set eval settings like allowed-uris per jobset, right? 14:46:18
@janne.hess:helsinki-systems.dedas_jRight15:04:36
@janne.hess:helsinki-systems.dedas_joh sorry, I was mistaken. I don't know myself actually15:05:14
@janne.hess:helsinki-systems.dedas_j * oh sorry, I was mistaken. I don't actually know15:05:25

Show newer messages


Back to Room ListRoom Version: 6