verm__ changed the topic of #buildbot to: A Software Freedom Conservancy Project | Buildbot-3.5.0 | docs: http://docs.buildbot.net/current/ | tutorial: http://docs.buildbot.net/current/tutorial | irclogs: https://libera.irclog.whitequark.org/buildbot
aakashjain has quit [Remote host closed the connection]
aakashjain has joined #buildbot
aakashjain has quit [Remote host closed the connection]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 255 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 255 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Read error: Connection reset by peer]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 260 seconds]
<glogan> I need to pick one from a group of secrets depending on a build parameter, any hints on how to do that?
<glogan> Tried feeding a straight %(prop:thing)s to util.Secret, also tried feeding it a util.Interpolate, no dice
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 255 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 260 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 255 seconds]
<cmouse> glogan: util.Secret("name")
<cmouse> and with interpolate you use %(secret:thing)s
mjw has quit [Killed (NickServ (GHOST command used by wielaard!~mjw_@2001:1c06:2488:1400:9e5c:8eff:fe8f:a440))]
wielaard is now known as mjw
mark_ has joined #buildbot
ewong has quit [Ping timeout: 252 seconds]
kveremitz has quit [Read error: Software caused connection abort]
kveremitz has joined #buildbot
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 260 seconds]
sknebel_ is now known as sknebel
aakashjain has joined #buildbot
aakashjain has quit [Remote host closed the connection]
aakashjain has joined #buildbot
<glogan> cmouse i need to vary the key used to select the secret.
aakashjain has quit [Remote host closed the connection]
<glogan> Like util.secret('%(prop:some_var)s')
aakashjain has joined #buildbot
<JT-Cave> have you tried using a f string?
<cmouse> glogan: util.Secret(util.Interpolate()) ?
<glogan> JT-Cave I haven't, I wonder if that'd work
<glogan> cmouse that doesn't work, did try that
<glogan> Still eating breakfast, will try again in a bit.
<cmouse> glogan: you can also make a custom renderer to do complex thing
<JT-Cave> if secret wants a string the f'somestring{somevar}' will return a string
<cmouse> JT-Cave: it seems glogan wants the secret name from prop
<cmouse> JT-Cave: not from a variable
<glogan> Ah hadn't thought about doing a renderer. Might be my best bet
mjw has quit [Ping timeout: 252 seconds]
mjw has joined #buildbot
<glogan> cmouse: next question: I'd like to change docker latent worker's hostconfig based on the *build*. Is a renderer going to be able to do that, or is that set prior to the build?
mjw has quit [Quit: Leaving]
mark_ is now known as mjw
JT-Shop has quit [Read error: Connection reset by peer]
JT-Shop has joined #buildbot