!zghijEASpYQWYFzriI:nixos.org

Hydra

396 Members
113 Servers

Load older messages


SenderMessageTime
25 Aug 2021
@sternenseemann:systemli.orgsterni * GitHub org teams hydra plugin -.-14:24:25
@grahamc:nixos.org@grahamc:nixos.orgsounds like a cool idea14:25:06
@sternenseemann:systemli.orgsternidoes it already have a group concept?14:25:24
@grahamc:nixos.org@grahamc:nixos.orgno14:25:29
@grahamc:nixos.org@grahamc:nixos.org:)14:25:36
@andi:kack.itandi-Pluggable permissions might be a first step.14:26:37
@andi:kack.itandi-e.g. for all of the 3-4 role functions that we have now allow them to be extended by plugins.14:26:54
@grahamc:nixos.org@grahamc:nixos.orgyeah14:27:08
@grahamc:nixos.org@grahamc:nixos.orgsounds like a cool idea14:27:12
@andi:kack.itandi-Then the first step could be to give each committer restart permissions.14:27:32
@grahamc:nixos.org@grahamc:nixos.org😬 maybe :)14:28:08
@andi:kack.itandi-
In reply to @grahamc:nixos.org
😬 maybe :)
If not restart what else? Nothing? :D
14:28:22
@andi:kack.itandi- I think that is the lowest priv we have except maybe the bump-to-front role 14:28:35
@sternenseemann:systemli.orgsternibump-to-front is riskier arguably since it messes with normal scheduling14:29:01
@grahamc:nixos.org@grahamc:nixos.orgwe actually have ✨policy ✨ about this14:29:34
@andi:kack.itandi-I think aborting many jobs is costlier than slightly changed scheduling. It isn't a clear line.14:29:48
@grahamc:nixos.org@grahamc:nixos.orghttps://github.com/NixOS/nixos-org-configurations/wiki/Hydra-Accounts#deciding-on-roles14:29:49
@andreas.schraegle:helsinki-systems.deajs124 hm. if the decision is made to give members of a certain github organisation a role in hydra, that can probably just be hacked into src/lib/Hydra/Controller/User.pm github_login 14:31:32
@grahamc:nixos.org@grahamc:nixos.orgI would be surprised if that PR merged14:32:06
@andreas.schraegle:helsinki-systems.deajs124that's the same place where LDAP groups get mapped to hydra roles with some extremly horrible code14:32:19
@grahamc:nixos.org@grahamc:nixos.org:D 14:32:30
@andreas.schraegle:helsinki-systems.deajs124
    my @LDAPRoles = grep { (substr $_, 0, 5) eq "hydra" } $LDAPUser->roles;
14:32:50
@sternenseemann:systemli.orgsterniSounds like a good opportunity to clean that up using groups as well14:33:50
@andreas.schraegle:helsinki-systems.deajs124but but… then I might need to adjust my setup14:34:12
@andi:kack.itandi-It is unreleased software ;)14:34:29
@andi:kack.itandi-Users are the worst.14:34:50
@sternenseemann:systemli.orgsterni ajs124: I'll just deem this a space heater type problem 14:35:05
@sternenseemann:systemli.orgsterni * ajs124: I'd just deem this a space heater type problem 14:35:33
@andreas.schraegle:helsinki-systems.deajs124For added context, in case anyone isn't aware: That LDAP login and group mapping code is actually my fault. If anyone decides to rewrite it and make it less horrible, be my guest.14:36:08
@grahamc:nixos.org@grahamc:nixos.orgfwiw I'm about to smash the merge button on this: https://github.com/NixOS/hydra/pull/100114:45:31

Show newer messages


Back to Room ListRoom Version: 6