Enable the #success feature in statusbot
This adds the configuration bits to enable the #success command in statusbot. Depends-On: I66b577732d1fec271a42f9229a8b5af2e52a58f4 Change-Id: Id26fb1a9dc27874040d2f5dd05bf20140d07512b
This commit is contained in:
parent
ec38cbb341
commit
fd200382b4
@ -174,8 +174,9 @@ Statusbot
|
|||||||
Statusbot is used to distribute urgent information from the
|
Statusbot is used to distribute urgent information from the
|
||||||
Infrastructure team to OpenStack channels. It updates the
|
Infrastructure team to OpenStack channels. It updates the
|
||||||
`Infrastructure Status wiki page
|
`Infrastructure Status wiki page
|
||||||
<https://wiki.openstack.org/wiki/Infrastructure_Status>`_. It
|
<https://wiki.openstack.org/wiki/Infrastructure_Status>`_.
|
||||||
supports the following public message commands when issued by
|
|
||||||
|
It supports the following public message commands when issued by
|
||||||
authenticated and whitelisted users from the channels the bot is
|
authenticated and whitelisted users from the channels the bot is
|
||||||
listening to, including #openstack-infra:
|
listening to, including #openstack-infra:
|
||||||
|
|
||||||
@ -196,6 +197,13 @@ listening to, including #openstack-infra:
|
|||||||
Remove alert box and restore channel topics, optionally announcing
|
Remove alert box and restore channel topics, optionally announcing
|
||||||
and logging an "okay" message.
|
and logging an "okay" message.
|
||||||
|
|
||||||
|
It supports the following commands when issued by any IRC user from
|
||||||
|
the channels the bot is listening to:
|
||||||
|
|
||||||
|
#success [MESSAGE]
|
||||||
|
Log a message of success to the "Successes" wiki page. This is meant
|
||||||
|
as a collection mechanism for little celebration of small successes
|
||||||
|
in OpenStack development.
|
||||||
|
|
||||||
.. _gerritbot:
|
.. _gerritbot:
|
||||||
|
|
||||||
|
@ -321,7 +321,11 @@ node 'eavesdrop.openstack.org' {
|
|||||||
statusbot_wiki_user => hiera('statusbot_wiki_username', 'username'),
|
statusbot_wiki_user => hiera('statusbot_wiki_username', 'username'),
|
||||||
statusbot_wiki_password => hiera('statusbot_wiki_password', 'XXX'),
|
statusbot_wiki_password => hiera('statusbot_wiki_password', 'XXX'),
|
||||||
statusbot_wiki_url => 'https://wiki.openstack.org/w/api.php',
|
statusbot_wiki_url => 'https://wiki.openstack.org/w/api.php',
|
||||||
|
# https://wiki.openstack.org/wiki/Infrastructure_Status
|
||||||
statusbot_wiki_pageid => '1781',
|
statusbot_wiki_pageid => '1781',
|
||||||
|
# https://wiki.openstack.org/wiki/Successes
|
||||||
|
statusbot_wiki_successpageid => '7717',
|
||||||
|
statusbot_irclogs_url => 'http://eavesdrop.openstack.org/irclogs/%(chan)s/%(chan)s.%(date)s.log.html',
|
||||||
accessbot_nick => hiera('accessbot_nick', 'username'),
|
accessbot_nick => hiera('accessbot_nick', 'username'),
|
||||||
accessbot_password => hiera('accessbot_nick_password', 'XXX'),
|
accessbot_password => hiera('accessbot_nick_password', 'XXX'),
|
||||||
}
|
}
|
||||||
|
@ -11,6 +11,8 @@ class openstack_project::eavesdrop (
|
|||||||
$statusbot_wiki_password = '',
|
$statusbot_wiki_password = '',
|
||||||
$statusbot_wiki_url = '',
|
$statusbot_wiki_url = '',
|
||||||
$statusbot_wiki_pageid = '',
|
$statusbot_wiki_pageid = '',
|
||||||
|
$statusbot_wiki_successpageid = '',
|
||||||
|
$statusbot_irclogs_url = '',
|
||||||
$accessbot_nick = '',
|
$accessbot_nick = '',
|
||||||
$accessbot_password = '',
|
$accessbot_password = '',
|
||||||
$project_config_repo = '',
|
$project_config_repo = '',
|
||||||
@ -116,6 +118,8 @@ class openstack_project::eavesdrop (
|
|||||||
wiki_password => $statusbot_wiki_password,
|
wiki_password => $statusbot_wiki_password,
|
||||||
wiki_url => $statusbot_wiki_url,
|
wiki_url => $statusbot_wiki_url,
|
||||||
wiki_pageid => $statusbot_wiki_pageid,
|
wiki_pageid => $statusbot_wiki_pageid,
|
||||||
|
wiki_successpageid => $statusbot_wiki_successpageid,
|
||||||
|
irclogs_url => $statusbot_irclogs_url,
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/srv/meetbot-openstack/alert':
|
file { '/srv/meetbot-openstack/alert':
|
||||||
|
Loading…
Reference in New Issue
Block a user