<glogan>
I never got that working. What I did instead was cheat and use the file copy steps to copy the key around, then clean up once I'm done using it.
<glogan>
Well not native file copy, although that'd work too
<glogan>
We use a central S3 based file store, so I've got a private bucket on that.
aakashjain has quit [Remote host closed the connection]
<razrdog[m]>
That may be what I end up with. My goal is to end up using latent workers so I'd like to be able to pass the key through the git step.
<razrdog[m]>
I'm reading through your template/master.cfg from the repo you sent above. It looks like your build factories are in a maintenance module. Is that where your s3 file copy steps occur or are you copying the files to the workers at deploy time somewhere in the ansible role?
aakashjain has joined #buildbot
aakashjain has quit [Remote host closed the connection]
aakashjain has joined #buildbot
dol-sen has joined #buildbot
dol-sen has quit [Changing host]
<glogan>
Credential copy and destroy happens on a per pipeline basis
<glogan>
In part because the pipelines run in different environments and need different creds
<glogan>
The builders and schedulers are in builders.py and schedulers.py
<glogan>
Both are a huge mess, sorry haha
<glogan>
Each pipeline is in a similarly named py file.
<glogan>
If you can't find how something is done then it's probably in common.py. This is where the S3 related steps live, since they're common across pipelines.
<glogan>
There's an f/prod branch which is actually deployed to ci.opencast.org
<razrdog[m]>
<glogan> "Both are a huge mess, sorry haha" <- It's been a huge help to read through whats happening on a larger project. I've got the basics but I'm learning a lot of options just reading your configs.
crazysim has quit [Quit: Connection closed for inactivity]
<glogan>
Glad it's helping. That was my number one complaint with the docs - they're good but there's very few worked examples.
<glogan>
Which, yeah yeah PRs welcome :)
<razrdog[m]>
agreed on some of the docs. Maybe once I get a better feel for the codebase I'll make some PRs from my notes. I've got an update for the httpstatuspush planned currently. right now it expects a json body, I'd like it to send a plaintext body (of markdown) so that our matrix bot can post that into a CI room we have.
<razrdog[m]>
The ssh-key issue is definitely still that there is something stripping the trailing newline from the end of the files during transfer.
<razrdog[m]>
manually removing the strip option seems to break other secrets. there needs to be some sort of check to readd a newline to ssh-keys specifically
<glogan>
Could you distribute/embed a read only ssh key safely?
mjw has quit [Killed (NickServ (GHOST command used by markw!~wielaard@gnu.wildebeest.org))]
wielaard has joined #buildbot
<razrdog[m]>
I can. But I also think the fix is easy enough. I'm working it now.
vmeson has quit [Quit: Konversation terminated!]
vvmeson has joined #buildbot
vvmeson is now known as vmeson
aakashjain has quit [Remote host closed the connection]
aakashjain has joined #buildbot
aakashja_ has joined #buildbot
aakashjain has quit [Read error: Connection reset by peer]
aakashja_ has quit [Ping timeout: 255 seconds]
aakashjain has joined #buildbot
aakashja_ has joined #buildbot
aakashjain has quit [Read error: Connection reset by peer]
aakashja_ has quit [Ping timeout: 255 seconds]
aakashjain has joined #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
aakashja_ has joined #buildbot
aakashjain has quit [Read error: Connection reset by peer]
aakashja_ has quit [Read error: Connection reset by peer]
aakashjain has joined #buildbot
aakashja_ has joined #buildbot
aakashjain has quit [Ping timeout: 260 seconds]
aakashjain has joined #buildbot
aakashja_ has quit [Ping timeout: 260 seconds]
aakashjain has quit [Ping timeout: 260 seconds]
aakashjain has joined #buildbot
aakashja_ has joined #buildbot
aakashjain has quit [Ping timeout: 260 seconds]
aakashjain has joined #buildbot
aakashja_ has quit [Ping timeout: 260 seconds]
aakashjain has quit [Read error: Connection reset by peer]
aakashja_ has joined #buildbot
aakashja_ has quit [Read error: Connection reset by peer]
aakashjain has joined #buildbot
aakashja_ has joined #buildbot
aakashjain has quit [Read error: Connection reset by peer]