!zghijEASpYQWYFzriI:nixos.org

Hydra

389 Members
112 Servers

Load older messages


SenderMessageTime
21 Jan 2022
@grahamc:nixos.org@grahamc:nixos.org das_j: do you have an example of passing debug? 17:24:54
@grahamc:nixos.org@grahamc:nixos.org

ah:

                  store:
                    class: LDAP
                    ldap_server: localhost
                    ldap_server_options:
                      timeout: 30
                      debug: 2
17:29:06
@grahamc:nixos.org@grahamc:nixos.org ma27: we should probably update hydra in nixpkgs and backport it for this LDAP fix 18:02:00
@grahamc:nixos.org@grahamc:nixos.orgthough maybe that is spooky to do on stable, could just backport that patch to stable18:02:18
@janne.hess:helsinki-systems.dedas_j nix --extra-experimental-features nix-command\ flakes build .#hydraJobs.tests.ldap.x86_64-linux 18:35:03
@janne.hess:helsinki-systems.dedas_jis this really how it's supposed to work? It feels so cumbersome18:35:14
@janne.hess:helsinki-systems.dedas_j * nix --extra-experimental-features nix-command\ flakes build -L .#hydraJobs.tests.ldap.x86_64-linux 18:36:37
@janne.hess:helsinki-systems.dedas_jI think I'm pretty close to actually fully configurable role mappings but I keep tripping over the damn Config::General which doesn't let me use my hashes as I want to use them19:35:32
@grahamc:nixos.org@grahamc:nixos.orgoh cool20:28:53
@janne.hess:helsinki-systems.dedas_jIt actually works20:29:10
@grahamc:nixos.org@grahamc:nixos.orgnice!20:29:13
@janne.hess:helsinki-systems.dedas_jI hate hashrefs so much20:29:14
@grahamc:nixos.org@grahamc:nixos.orgI mean lists and list flatenning and all of that is generally awful20:29:39
@janne.hess:helsinki-systems.dedas_j I'm always like %{%whatever and perl is always like "why would you do it this ugly way?" 20:29:45
@grahamc:nixos.org@grahamc:nixos.orgit is why I write (and ask for) small functions with tests20:29:49
@janne.hess:helsinki-systems.dedas_j
In reply to @grahamc:nixos.org
it is why I write (and ask for) small functions with tests
oh no :D
20:30:13
@janne.hess:helsinki-systems.dedas_jI didn't write one :/20:30:20
@grahamc:nixos.org@grahamc:nixos.orgwell... I can help ...20:30:27
@janne.hess:helsinki-systems.dedas_jnot sure how testable it is… most stuff comes from the framework and the weird plugin20:30:44
@grahamc:nixos.org@grahamc:nixos.orgyeah20:30:50
@janne.hess:helsinki-systems.dedas_jthere's already a PR if you want to take a look at the implementation… I really don't know how I would hook a test framework in it20:31:05
@ma27:nicht-so.sexyma27 grahamc (he/him): which LDAP fix? 21:58:08
@ma27:nicht-so.sexyma27btw anything missing to merge https://github.com/NixOS/hydra/pull/1091 ? :) 21:58:29
@grahamc:nixos.org@grahamc:nixos.org ma27: https://github.com/NixOS/hydra/pull/1132 22:12:55
22 Jan 2022
@ncfavier:matrix.orgnfis there a way to filter a list of jobs by failure mode? (dependency failed/timeout/etc)12:20:06
23 Jan 2022
@cgroves:matrix.org@cgroves:matrix.org joined the room.22:09:24
24 Jan 2022
@vcunat:matrix.orgvcunat
In reply to @ncfavier:matrix.org
is there a way to filter a list of jobs by failure mode? (dependency failed/timeout/etc)
No, I don't think so.
11:31:32
@vcunat:matrix.orgvcunatThere's some JSON API, I think, so perhaps there it might be easy to post-process.11:32:43
@janne.hess:helsinki-systems.dedas_j You can use the pretty documentation by opening https://petstore.swagger.io and pasting https://raw.githubusercontent.com/NixOS/hydra/master/hydra-api.yaml into the Explore bar on top 11:34:01
@grahamc:nixos.org@grahamc:nixos.org das_j: I'm looking at the runcommand log PR, and I think in general it looks pretty good. Obviously I'm inclined to follow up with some tests, but I'm wondering about the naming of the log files. I'm somewhat inclined to give them either a UUID stored in the DB, or use the runcommandlog record's ID. What do you think? 14:24:57

Show newer messages


Back to Room ListRoom Version: 6