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
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
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
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
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
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
Avoiding these being hardcoded in openstack-infra/statusbot.
Depends-On: I06d637c00dccbee49ad8a60398ac21af4064034e
Change-Id: I0d36dbff893422e188b9e992f8e9bb3c1431419f
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
This enables the #thanks feature in statusbot.
Change-Id: I9fd10cbaa315d2a418f3bb65ff7e40014701ec85
Depends-On: I995c3189f0f109df35c56b63b3e19427f60f3750
Add a xenial nodeset and update the spec helper to install puppet 3 from
the Ubuntu repos instead of from puppetlabs.
Change-Id: I6f609de5acdd7ef6bb6da2f805398342efcd87c5
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
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
Use same target directory for zuul-cloner and
the regular git command.
Change-Id: If7a681e29dc87e94250830b38800d29d9fce8237
Co-Authored-By: Fabien Boucher <fabien.boucher@enovance.com>
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
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
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
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
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
We have a cgit server now, which means we should replace
all references to github with references to git.openstack.org.
Change-Id: I68ad1ce514fb4326c7d9940b5a84999af5b58562
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
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
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
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
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
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