gryf
372b525715
Update gitignore
2019-11-01 08:19:51 +01:00
gryf
57bf9556c7
Added python package setup and tox
2019-11-01 08:19:51 +01:00
gryf
e22fac98fc
Add main service which will launch both http and ssh services.
2019-11-01 08:19:51 +01:00
gryf
c87a71245c
Make ferrit a python module
2019-11-01 08:19:51 +01:00
gryf
28cd159245
moved servers into ferrit module
2019-11-01 08:19:51 +01:00
gryf
0f70f075d5
Make http server to use class, instead functions.
2019-11-01 08:19:51 +01:00
gryf
9317dc9ef3
Fix: use actual fifo queue instead of the normal file
2019-11-01 08:19:51 +01:00
gryf
da24f505bb
Added helper script for generating json payload.
...
This helper can be used with ferrit ssh server to generate appropriate
json data event meant to be sent to jenkins server.
2019-11-01 08:19:18 +01:00
gryf
9605cb22f0
Implement method /a/changes.
...
After gerrit recives an action (like creating a review, comment, and so
on) it will send appropriate json from ssh server. Jenkins, which is
listening on the ssh channel will receive this message and do
appropriate action (for example, it will do the build/test whatever),
and sends back notification back to HTTP gerrit server to /a/changes
endpoint. There are couple of requests to that url, which will indicate
what jenkins is doing (like starting build, sending result info).
2019-11-01 08:17:14 +01:00
gryf
283cb787bb
Readme update
2019-11-01 08:17:14 +01:00
gryf
05608aa2e0
Use FIFO named queue for triggering actions on Jenkins side.
2019-11-01 08:17:13 +01:00
gryf
802cce3f83
Added new REST endpoints.
...
Two new endponds added:
- /a/plugins/events-log/events/
- /a/changes
2019-11-01 08:16:43 +01:00
gryf
41b1b284a6
Simplify http server
2019-10-29 19:26:47 +01:00
gryf
7d316947b4
Wait for user interaction on interactive connection
2019-10-29 19:26:47 +01:00
gryf
867a2c4716
Return instead of closing the channel on interactive session.
2019-10-29 19:26:47 +01:00
gryf
84413a1658
Removed interactive ssh part
2019-10-29 19:26:47 +01:00
gryf
f3a5e15545
Added log to ignore
2019-10-29 19:26:47 +01:00
gryf
830a8b3077
Added logger
2019-10-29 19:26:45 +01:00
gryf
68ea17b854
Cleaned up code a bit
2019-10-29 19:23:31 +01:00
gryf
778b44292d
Initial import
2019-10-24 14:01:49 +02:00