Commit Graph

15 Commits

Author SHA1 Message Date
restitux 954966db58 Start/restart poll job when created or updated
This currently contains the logic for restarting updated jobs,
but nothing exercises this logic. The logic for starting polling
for a newly created pipeline is implemented.
2023-04-07 18:31:59 -06:00
restitux fe53a17160 Runners are removed from manager when alloacted
This removes an existing unlocked shared access to runner.running.
This also sets us up for better management of the runners.
2023-03-08 00:13:40 -07:00
restitux 4bda3c7a3b Add admin_api and database logging of runs #9 #10 2023-01-31 20:25:52 -07:00
restitux 4a4b6fd185 Add basic graphql api 2023-01-14 06:02:17 -07:00
restitux 30fed27126 Refactor pipeline api lister to inside listen 2023-01-14 01:35:29 -07:00
restitux 3cbe670bc1 Implement getRunner grpc endpoint
This includes refactoring the jobscheduler into the runnermanager. This
service manages runner connections and allocating them to pipelines.
These requests are done via the pipeline grpc api
2022-12-31 17:22:00 -07:00
restitux 663306c3be Cleanup jobschedule channel passing 2022-12-28 17:13:33 -07:00
restitux 8e4e45047d Job exection logic now runs pipeline in container
This container's network is configured based on parameters in the config
file. If configured correctly, this will allow the pipeline script to
speak to the cursorius server over the pipeline api.
2022-12-24 22:12:30 -07:00
restitux cd098d794d Add prototype of pipeline api using connect
This includes refactoring of the http listener to use
a custom mux.
2022-12-24 19:45:25 -07:00
restitux 176de76581 Refactor webhook handling logic into seperate pkg 2022-12-24 17:20:09 -07:00
restitux c1ad692817 Webhook now type asserts payload and reads ref 2022-12-24 15:29:00 -07:00
restitux c731e560af Change launch logic to receive config in scheduler 2022-12-24 00:10:06 -07:00
restitux b29d3a8f80 Add WIP proper webhook support (for gitea) 2022-12-23 23:54:53 -07:00
restitux bbe9dcaf2a WIP: Replace job execution with runner delegation
Server now accepts runner connections via websockets. Jobs
will be delegated to these runners. This is currently a WIP,
as it is still hardcoded to use the first available runner.
2022-10-16 14:54:49 -06:00
restitux a7bedb3dcd Initial commit 2022-09-15 22:02:25 -06:00