statusbot: add mastodon config options

The dependent change allows us to also post to mastodon.  Configure
this to point to fosstodon where we have an opendevinfra account.

Change-Id: Iafa8074a439315f3db74b6372c1c3181a159a474
Depends-On: https://review.opendev.org/c/opendev/statusbot/+/864586
This commit is contained in:
Ian Wienand 2022-11-16 11:02:07 +11:00
parent f468ee07e2
commit cfdbec4b16
No known key found for this signature in database
3 changed files with 10 additions and 0 deletions

View File

@ -16,3 +16,6 @@ statusbot_wiki_thankspageid: '37700'
statusbot_wiki_thankspageurl: 'https://wiki.openstack.org/wiki/Thanks'
statusbot_irclogs_url : 'http://eavesdrop.openstack.org/irclogs/%(chan)s/%(chan)s.%(date)s.log.html'
statusbot_twitter: True
statusbot_mastodon: True
statusbot_mastodon_host: 'https://fosstodon.org'

View File

@ -44,3 +44,9 @@ consumer_secret={{ statusbot_twitter_secret }}
access_token_key={{ statusbot_twitter_token_key }}
access_token_secret={{ statusbot_twitter_token_secret }}
{% endif %}
{% if statusbot_mastodon %}
[mastodon]
host={{ statusbot_mastodon_host }}
token={{ statusbot_mastodon_token }}
{% endif %}

View File

@ -1,4 +1,5 @@
openstack_meetbot_password: password
statusbot_mastodon_token: token
statusbot_nick_password: password
statusbot_wiki_user: username
statusbot_wiki_password: password