Commit Graph

40 Commits

Author SHA1 Message Date
Clark Boylan 717dff0668 Retire this repo
The opendev project has been moving away from puppet and this is one of
the puppet modules that is no longer used. To simplify things for us we
are taking the extra step of retiring this repo.

Change-Id: Ie290909d12b8c30a244ee4e8bcb039b5c24291b5
2022-02-17 12:56:22 -08:00
OpenDev Sysadmins ea37a8d817 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:25:36 +00:00
Ian Wienand f1eed8682e Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I4ceb4e0a539aa2fd9ecd5c7e5b659c3c06f1afd0
2019-03-24 20:35:45 +00:00
Zuul b7cbc13e2b Merge "Add beaker tests" 2018-11-21 22:49:09 +00:00
Jeremy Stanley 3ffe437dbf Use port 6697 for IRC over SSL/TLS
We're moving statusbot to SASL auth, and assume SSL/TLS for the
socket so need to use port 6697 which actually supports that.

Change-Id: I107ad4a5afe0aeba9caa89bcabde6e58e4a5ec4b
Needed-By: https://review.openstack.org/599049
2018-08-31 20:06:45 +00:00
Zuul e9899e710e Merge "Have the 'statusbot' service subscribe to the pip install" 2018-08-09 07:51:51 +00:00
Colleen Murphy b6c60c0414 Add beaker tests
Add basic tests to ensure the puppet manifests can be applied cleanly
and the service will start.

We could test with a real IRC network and a real registered IRC user,
but the service starts just fine even if it can't connect to an IRC
server, and it's not the puppet module's job to test the bot itself,
it's sufficient to test that the server is configured the way we expect
it to be.

Change-Id: If153cdbfcd0a78b25ca01f22a10ab1c9055c0766
2018-08-08 23:34:21 +02:00
Colleen Murphy 6479e266cf Update Gemfile for Zuulv3
The logic in the Gemfile was relying on Zuulv2 variables to find out
whether the spec helper gem was already available on disk, and since
Zuulv3 has changed things it was failing to find it and downloading the
master version instead. This patch ensures the Gemfile looks for the gem
in the right place when running in CI.

Change-Id: Ib65680459c2bc4eff4a59f8809497f9e53c6cb0c
2018-07-12 09:57:45 +02:00
John L. Villalovos de203e0d43 Have the 'statusbot' service subscribe to the pip install
Instead of having the 'statusbot' service subscribe to the git
repository, have it subscribe to the pip install.

So now we have:
  * statusbot service <- (subscribed to) <- pip install
  * pip install <- (subscribed to) <- vcsrepo

Change-Id: Id87785810ca4846527dbc8a59ef95ff1c5b4efde
2018-02-22 12:39:29 -08:00
Mike Perez 3973ed99a2 Add configuration for thanks/success page url
Avoiding these being hardcoded in openstack-infra/statusbot.

Depends-On: I06d637c00dccbee49ad8a60398ac21af4064034e
Change-Id: I0d36dbff893422e188b9e992f8e9bb3c1431419f
2018-01-04 15:50:35 -08:00
Jenkins 7b9f7fbd88 Merge "Enable #thanks feature statusbot" 2017-10-06 00:31:58 +00:00
Colleen Murphy 48d4468b01 Depend on helper gem for spec_helper_acceptance
Instead of keeping a local copy of spec_helper_acceptance.rb and
requiring updates to all modules for any change, we can move it into the
common helper gem and require it from there. This will make it easier to
create and review changes that affect all puppet modules. Also change
the Gemfile to look for the gem in the local workspace if running in a
zuul environment.

Change-Id: I86231d09496d68df81c92841b3df154026a063a2
2017-08-18 10:41:44 +02:00
Mike Perez b6df511df0 Enable #thanks feature statusbot
This enables the #thanks feature in statusbot.

Change-Id: I9fd10cbaa315d2a418f3bb65ff7e40014701ec85
Depends-On: I995c3189f0f109df35c56b63b3e19427f60f3750
2017-06-27 14:06:04 -07:00
Colleen Murphy 07e7ed8eb0 Fix beaker on xenial
Add a xenial nodeset and update the spec helper to install puppet 3 from
the Ubuntu repos instead of from puppetlabs.

Change-Id: I6f609de5acdd7ef6bb6da2f805398342efcd87c5
2017-06-24 16:37:56 +02:00
Elizabeth K. Joseph a6b4f78006
Add Twitter support
The statusbot project now has support for Twitter, see
Ib4bdbb335e4bc12d75d5f0ec2a1b95c8a6b2e7d5 for details.

Add support now in this module for those who wish to use it.

Change-Id: Ia861189ea10d0056afb43fe6a6fd1e51d4ffb4bf
2016-09-16 08:07:11 -05:00
Spencer Krum 4923f8ca4f Use new infra_spec_helper for gem dependencies
Change-Id: I43d6892b0b5ff8eb643b7beb8125b6ed7c1370d9
2016-06-21 18:40:20 -07:00
Spencer Krum 34166d960c Pin google-api-client; sanitize Gemfile
Change-Id: I0301d821a880895bbfc9fe5e9e82797eeef55834
2016-04-14 15:24:14 -07:00
Andrey Nikitin 77576b526a Order of the class parameters is refactored
Order and intendation of those parameters are changed
to follow Puppet Style Guide recommendation [0].
Moreover, it will allow to an user to find much faster
a variable in a list of variables.

[0]. https://docs.puppetlabs.com/guides/style_guide.html

Change-Id: I0f5942813fc5ddfff0ff6a2c626c506c19e8a0bd
2016-03-21 18:44:20 +03:00
Spencer Krum d0bd58c1be Allow statusbot to take an array of auth nicks
Change-Id: Ief0848ac8e2f2132455c07c0e5d113c7b3def5ca
2016-02-08 16:59:43 -08:00
Thierry Carrez aa084758ed Enable #success feature from statusbot
The enables the #success feature that was recently added to
the statusbot.

Change-Id: I66b577732d1fec271a42f9229a8b5af2e52a58f4
2015-10-07 08:50:44 -07:00
Jenkins 98ec6c6d2c Merge "Fix variable access warnings" 2015-09-12 00:23:27 +00:00
Spencer Krum e4ed652594 Fix target path for regular git clone during tests
Use same target directory for zuul-cloner and
the regular git command.

Change-Id: If7a681e29dc87e94250830b38800d29d9fce8237
Co-Authored-By: Fabien Boucher <fabien.boucher@enovance.com>
2015-08-19 16:42:22 -07:00
Colleen Murphy d33f9f83df Add Gemfile and puppet 4 checks
In anticipation of puppet 4, start trying to deal with puppet 4 things
that can be helpfully predicted by puppet lint plugins.

Change-Id: I687818e8e8e5002ea36063fff58e32aeb3f7e6fe
2015-08-13 18:29:56 -07:00
Colleen Murphy 083b70c395 Make class parameters required
These parameters are fed unconditionally into the config template, and
there is no sensible default that we can provide. This patch makes all
parameters required, except for $channels whose default the template is
prepared to handle.

Change-Id: I0a691c7d32316252a628438eb169b31134b42e5b
2015-08-13 18:29:51 -07:00
Spencer Krum 179da46b2c Boilerplate beaker-rspec files
Change-Id: I9f83e9000b09ad74debd6807b987beace5c7d316
2015-07-28 02:05:58 -07:00
Paul Belanger 38a5dbb92d Fix variable access warnings
Change-Id: I66bf64e3fbcdbf90b87f1116b0b7650b77780493
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-07-09 16:55:42 -04:00
Monty Taylor 3e21aaa7e8 Add support for passing channels as list
The list of channels for statusbot can get large and unweildy, making
reviewing additions ugly. Accept it as a list. However, because of
things using the old interface, support a comma separated string being
passed as well.

Change-Id: I5adad696707b987f0fee7211b89e340d265d6bd9
2015-06-20 09:40:08 -04:00
Jeremy Stanley 90de9b51d4 Replace ci.o.o links with docs.o.o/infra
The http://ci.openstack.org/ documentation site has been deprecated,
replaced by redirects to corresponding paths within
http://docs.openstack.org/infra/ where other Project Infrastructure
documentation already resides.

Change-Id: I7f88c465d3c6277657427c82b5c1f4fad9873e4b
2015-05-14 21:44:55 +00:00
Ramy Asselin 15b1d200c4 Rename openstackci to openstackinfra
Change-Id: Ibc06ce9d31f27e6bee18a036bd648d4940cad738
2015-04-20 13:50:49 -07:00
Ramy Asselin 7793061d62 Add puppet module files for Statusbot
Change-Id: I24a03a1c1bdbe911014bb1d7cae316323afbd6ea
2015-01-29 15:24:41 -08:00
James E. Blair 36a5de7cf9 Serve the statusbot alert file from eavesdrop
Change-Id: I5c1a4adc25bab62564effba527122e57c229d1c5
2013-12-11 11:50:42 -08:00
Monty Taylor 88010d91f7 Use pip install instead of setup.py install
The pip vs. easy_install interactions continually get the systems
into a weird state. pip install $path_to_repo, on the other hand,
works like a charm.

Left out two graphite installs because they are doing path manipulation
and I want to do further testing before touching that.

Change-Id: I373b29aca03f1ebd20e533ebaaf5de9ef2db017e
2013-10-27 18:38:38 -04:00
Monty Taylor 41062eebbe Use cgit server instead of github for everything
We have a cgit server now, which means we should replace
all references to github with references to git.openstack.org.

Change-Id: I68ad1ce514fb4326c7d9940b5a84999af5b58562
2013-08-19 10:19:47 -07:00
James E. Blair 11156f641b Don't automatically run meetbot/statusbot.
Change-Id: I8facfa48113d27fd18e700730a7a27a666bc2c40
Reviewed-on: https://review.openstack.org/28059
Reviewed-by: Jesse Keating <jesse.keating@rackspace.com>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Khai Do <zaro0508@gmail.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
2013-05-10 17:26:40 +00:00
James E. Blair 969eac00e2 Add debug irc logging to statusbot.
Change-Id: If32becf64f944cba39cdba025eb57cd55f6825db
Reviewed-on: https://review.openstack.org/26391
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-04-08 21:24:06 +00:00
James E. Blair 19146e595f Fix /var/*/statusbot owner.
Change-Id: I4a8400bd36238d63a6b5e9d4913ddacd1effe0ad
Reviewed-on: https://review.openstack.org/25766
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-03-29 22:51:05 +00:00
James E. Blair bf35947d7b Add nicks parameter to statusbot.
Change-Id: I293f4b5dd76de562cec39b4c995a2c255d383263
Reviewed-on: https://review.openstack.org/25765
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-03-29 22:46:56 +00:00
James E. Blair 0c38a8c30a Set owner on /var/*/statusbot to statusbot.
Change-Id: I47dad06ea05ab403d294bbe27ee05dcec805ee1d
Reviewed-on: https://review.openstack.org/25764
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-03-29 22:44:51 +00:00
James E. Blair ee8b6aea81 Correct statusbot vcsrepo typo.
Change-Id: I927092d57c61922405e2dd9a14c34514fd6a21f0
Reviewed-on: https://review.openstack.org/25762
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-03-29 22:19:14 +00:00
James E. Blair 7a60269e59 Add statusbot to eavesdrop.o.o.
Change-Id: I3ae19a6321827b82ebf864182a1e5a90253b9c39
Reviewed-on: https://review.openstack.org/25755
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-03-29 22:14:13 +00:00