Chris Smith
65435d54ae
Slack webhook support
il y a 6 ans
Chris Smith
f4dc2865cf
Add type hint for request object
il y a 6 ans
Chris Smith
3e4f44a8cd
Split reportbot messages and send line-by-line
il y a 6 ans
Chris Smith
7d32d1b9a3
Default to an empty list of events.
il y a 6 ans
Chris Smith
2cdc9e531e
Fix public/private.
il y a 6 ans
Chris Smith
bb8be15375
Refactor hook handling.
Have one route for all hooks that delegates to the appropriate
service. Services yield events that are then actioned somehow
(for now in a big ugly method).
il y a 6 ans
Chris Smith
e165197a70
Eagerly initialise services.
This will need to change when the config is rethought a little.
il y a 6 ans
Chris Smith
7c939cbc97
Make docker service.
il y a 6 ans
Chris Smith
2c58450005
Only run flask if the script is invoked directly.
This allows the IDE to run it as a flask application, rather
than just executing script fully.
il y a 6 ans
Chris Smith
9e5a202931
Ignore pycache.
il y a 6 ans
Chris Smith
003a49dfea
Post to reportbot, not get.
il y a 6 ans
Chris Smith
e4bbd1396f
Make reportbot a service.
il y a 6 ans
Chris Smith
31a789fe52
Add contributing info to README.
il y a 6 ans
Chris Smith
6985fe93d4
Add pre-commit config.
il y a 6 ans
Chris Smith
19768371b9
Rework how services are created.
il y a 6 ans
Chris Smith
e33eedbcef
Start teasing things into separate modules.
il y a 6 ans
Chris Smith
dc51a96fcb
Add docker registry to readme
il y a 6 ans
Chris Smith
f73fd65be6
Add decorator for authenticating requests.
il y a 6 ans
Chris Smith
ade63668ad
Announce git pushes.
il y a 6 ans
Chris Smith
c7edae6059
Send messages about docker pushes
il y a 6 ans
Chris Smith
9c3d006455
Return a 204.
il y a 6 ans
Chris Smith
0c716b5afb
Docker registry endpoint
il y a 6 ans
Chris Smith
a85d8e1ac3
Add README.
il y a 6 ans
Chris Smith
7c11da7def
Add reportbot announcement method
il y a 6 ans
Chris Smith
06666581ce
Use proper logging routines
il y a 6 ans
Chris Smith
b5c45bf963
Pull out gitea url handling
il y a 6 ans
Chris Smith
2034cfa6b5
POST for webhooks.
il y a 6 ans
Chris Smith
356a4581ce
Handle gitea hooks, trigger jenkins.
il y a 6 ans
Chris Smith
6161bc0995
Listen on all hosts.
il y a 6 ans
Chris Smith
37d14ab064
Add cmd to dockerfile
il y a 6 ans
Chris Smith
ea43bcffa8
Initial import.
Doesn't really do much of use yet.
il y a 6 ans