syndesisio / syndesis

This project is archived. A flexible, customizable, open source platform that provides core integration capabilities as a service.
https://syndesis.io/
Apache License 2.0
597 stars 203 forks source link

Introduce chat bot to #syndesis #24

Closed rhuss closed 6 years ago

rhuss commented 7 years ago

Notify when

@paoloantinori you said, there is already something out of the box which you are using ?

paoloantinori commented 7 years ago

Yes. For Fusesustaining we are using a custom plugin for Sopel, an opensource irc bot written in Python:

https://github.com/paoloantinori/sopel-docker

The instructions in the readme should be enough to allow you to run a dockerized instance on your host, if you want to explore it.

Or you should also be able to use the Openshift instructions, to deploy it on Openshift.

Just mind that on Openshift, the architecture is more complex since there is also a couple of companion containers with Ultrahook running, to allow receiving webhooks if the instance running your container sits behind a firewall. Additionally, to enable webhooks you have to configure them in each single project you want them enabled on github.

Otherwise the bot can still work in PULL mode, going to poll all the configured projects on demand. This mode doesn't require any webhook configured.

jimmidyson commented 7 years ago

How would you feel about adding this to syndesisio/pure-bot instead?

paoloantinori commented 7 years ago

It can be an interesting activity, with the following notes:

rhuss commented 6 years ago

For the notes, some guys pointed me out to these chat bots, which might be interesting, too:

Actually, I'm for reusing existing stuff, but if this doesn't fit our needs, I'm fine with extending purebot (with reasonable efforts).

paoloantinori commented 6 years ago

If you want to see how sopel behaves, I can set it up.

At the moment we haven't externalized the list of polled repos, so they are not yet an env var. An easy task, but needs to be done.

Then I'd need to configure github projects to specify my endpoint for webhooks. Something that my account is not able to do atm

gashcrumb commented 6 years ago

Apparently we didn't have time, let's open a new issue if we want to revisit.