Saturday, 2022-03-12

@mnaser:matrix.orgIs there any way at all of running a job with a secret in a pre-review pipeline?00:17
@mnaser:matrix.orgIn my case, I am running Molecule against a cloud, so I kinda need credentials to get added even in pre-review jobs.  I tried adding the job to a trusted project and referencing it inside the untrusted one, but no good..00:19
@mnaser:matrix.orghmm, actually this is weird.  even though this job is defined inside a config-project, i get.. "Unable to freeze job graph: Pre-review pipeline check does not allow post-review job"00:33
@mnaser:matrix.orgok, well I made progress -- but I actually managed to somehow get Zuul to not respond.. at all?01:53
https://review.opendev.org/c/vexxhost/ansible-collection-atmosphere/+/833476/15/.zuul.yaml
@fungicide:matrix.orgmnaser: you can use secrets in playbooks which are in trusted config projects even in pre-review pipelines, for example log uploading works this way13:56
@fungicide:matrix.orgthe risk is that if the playbook puts the secret onto a job node though, a proposed change could echo it to the logs or something as a trivial way of getting ahold of those credentials13:58
@fungicide:matrix.orgalso, looks like you managed to work through your zuul config errors in that change last night, awesome13:59
@mnaser:matrix.org> <@fungicide:matrix.org> also, looks like you managed to work through your zuul config errors in that change last night, awesome21:41
yep, all good now, churning through slowly uploading things one by one :)

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!