[users at bb.net] Unknown component name: SecretsInAFile

Trevor Hook trevor.k.hook at googlemail.com
Thu Aug 10 09:17:02 UTC 2017


Sorry Pierre

When I test that new string I get a new error.

    Error while parsing config file: name 'secrets' is not defined

I've done a quick check to make sure package names are correct and the path to the secrets/providers seems correct

I've also found where the name 'secrets' comes from in the secretsManager class and it is spelt the same way in setup.py and the manager class. 

I'm afraid I don't have time at the moment to start chasing this issue.

I can submit a pull request to fix the sample code in the manual and developer documentation if you want but it seems wrong requesting a PR knowing the samples still don't work.

Trevor

On 9 August 2017 18:34:36 BST, Pierre Tardy <tardyp at gmail.com> wrote:
>>
>>
>> c['secretsProviders'] = [util.SecretInAFile(dirname="my/path/way")]
>>
>its in secrets
>https://github.com/buildbot/buildbot/blob/master/master/setup.py#L257
>
>c['secretsProviders'] = [secrets.SecretInAFile(dirname="my/path/way")]
>
>Thanks for the report. Can you submit a documentation PR?
>
>Regards,
>Pierre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20170810/08a30557/attachment.html>


More information about the users mailing list