Closed rhuss closed 6 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.
How would you feel about adding this to syndesisio/pure-bot instead?
It can be an interesting activity, with the following notes:
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).
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
Apparently we didn't have time, let's open a new issue if we want to revisit.
Notify when
@paoloantinori you said, there is already something out of the box which you are using ?