statusbot: don't use opendevstatus name in testing

Currently when we run tests, this connects to OFTC and tries to use
the opendevstatus nick as it is the default.  Replace this with a
random username.  Also override the channels list, so it only joins

Limnoria was already using a non-conflicting name, but switch it to a
random one for consistency and possible parallel running.  This also
already only joins #opendev-sandbox.

Change-Id: I860b0f1ed4f99140dda0f4d41025f0b5fb844115
This commit is contained in:
Ian Wienand 2021-06-11 22:32:52 +10:00
parent f95b139be5
commit 4ffcc89c8a
3 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
limnoria_default_nick: opendevtest
limnoria_default_nick: 'opendevmeet_{{ 100 | random }}'
limnoria_default_nickserv_password: 'abc123'
limnoria_default_user: 'Opendev IRC Services'
limnoria_directories_conf: /var/lib/limnoria/opendev/conf

View File

@ -1,4 +1,4 @@
statusbot_nick: opendevstatus
statusbot_nick: 'opendevstatus_{{ 100 | random }}'
statusbot_pass: ''
statusbot_server: 'irc.oftc.net'

View File

@ -51,3 +51,5 @@ gerritbot_ssh_pubkey: |
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCwIJb83kJZ8upR87nUalNgWIXVrqg1VE6PWXrsl+2qXuKhw6ehL9sFSA1avIuC3zMZ4J2Mxkw6XN473MizxPsaEIz/W6GFrXUwNi7LZbFeZGs5aSA6yq91DxluvJBOg1FueuaRM9WlAtUyj6L2UP+31JQo8BnWaYykQxBwDc/DHzG0Z1klkevh49K69qXz0mfxpRcF5NVDaB+jqJ99CeoAcnBAOOCyQzjVN+5lpCc2kVv2MGknryxadX/VVY7o+NYkHRR86XAU64H3bSSmid+feiB7yaUfhoQdGp43y4JJV7AtT/hVVLGVXr2OltoWkbMJafi1ju15urj+y4Ii8mk/ gerritbot@test.eavesdrop.openstack.org
limnoria_oftc_channels:
- '#opendev-sandbox'
statusbot_channels:
- '#opendev-sandbox'