Chris Smith
78be93203a
Sensu: check name in backticks
5 years ago
Chris Smith
0d2fb9f546
Force json
5 years ago
Chris Smith
9d7a615775
Add sensu support
5 years ago
Chris Smith
e108295117
Add admin functionality
5 years ago
Chris Smith
ac8ae34e3d
Allow service creation to fail
5 years ago
Chris Smith
cd5b366256
Tidy up and format main.py a little
5 years ago
Chris Smith
b280ee2eb7
Fail less at binary formatted strings
5 years ago
Chris Smith
74e7b7d8cf
Use TCP for irccat
5 years ago
Chris Smith
91f4613d5a
Replace reportbot with irccat for now.
This needs a much better way of working.
5 years ago
Chris Smith
6b107fbbb9
Aggressively filter empty text in slack hooks.
6 years ago
Chris Smith
1c925f10a9
Slack hooks: concatenate attachments' fallbacks
6 years ago
Chris Smith
bb52fcbdc9
Return 200 because some things are dumb.
6 years ago
Chris Smith
64db7a404c
Fix slack handling so it works.
6 years ago
Chris Smith
4cc8b68c95
Fix git commit message handling.
Only include the first line. Reverse order of commits so they're
chronological.
6 years ago
Chris Smith
777ca2c739
Hook up the auto-add config for gitea.
[Pun very much intended]
6 years ago
Chris Smith
65435d54ae
Slack webhook support
6 years ago
Chris Smith
f4dc2865cf
Add type hint for request object
6 years ago
Chris Smith
3e4f44a8cd
Split reportbot messages and send line-by-line
6 years ago
Chris Smith
7d32d1b9a3
Default to an empty list of events.
6 years ago
Chris Smith
2cdc9e531e
Fix public/private.
6 years ago
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).
6 years ago
Chris Smith
e165197a70
Eagerly initialise services.
This will need to change when the config is rethought a little.
6 years ago
Chris Smith
7c939cbc97
Make docker service.
6 years ago
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.
6 years ago
Chris Smith
9e5a202931
Ignore pycache.
6 years ago
Chris Smith
003a49dfea
Post to reportbot, not get.
6 years ago
Chris Smith
e4bbd1396f
Make reportbot a service.
6 years ago
Chris Smith
31a789fe52
Add contributing info to README.
6 years ago
Chris Smith
6985fe93d4
Add pre-commit config.
6 years ago
Chris Smith
19768371b9
Rework how services are created.
6 years ago
Chris Smith
e33eedbcef
Start teasing things into separate modules.
6 years ago
Chris Smith
dc51a96fcb
Add docker registry to readme
6 years ago
Chris Smith
f73fd65be6
Add decorator for authenticating requests.
6 years ago
Chris Smith
ade63668ad
Announce git pushes.
6 years ago
Chris Smith
c7edae6059
Send messages about docker pushes
6 years ago
Chris Smith
9c3d006455
Return a 204.
6 years ago
Chris Smith
0c716b5afb
Docker registry endpoint
6 years ago
Chris Smith
a85d8e1ac3
Add README.
6 years ago
Chris Smith
7c11da7def
Add reportbot announcement method
6 years ago
Chris Smith
06666581ce
Use proper logging routines
6 years ago
Chris Smith
b5c45bf963
Pull out gitea url handling
6 years ago
Chris Smith
2034cfa6b5
POST for webhooks.
6 years ago
Chris Smith
356a4581ce
Handle gitea hooks, trigger jenkins.
6 years ago
Chris Smith
6161bc0995
Listen on all hosts.
6 years ago
Chris Smith
37d14ab064
Add cmd to dockerfile
6 years ago
Chris Smith
ea43bcffa8
Initial import.
Doesn't really do much of use yet.
6 years ago