restitux
1a9f0415d0
Added pipeline and result to runs table
2023-01-14 00:29:32 -07:00
restitux
1acd9ae025
Extended database and refactored to enable export
2023-01-14 00:19:43 -07:00
restitux
cf910aed64
Remove volume from psql container
2023-01-13 23:35:49 -07:00
restitux
420725eff8
Improve database logging
2023-01-13 23:28:46 -07:00
restitux
ddf9fda092
Add basic postgres db config
2023-01-13 23:25:41 -07:00
restitux
1864cd2bee
Add version string to log output
2023-01-09 20:28:40 -07:00
restitux
4a3fd0b902
Clean up prod docker configuration
2023-01-09 20:28:31 -07:00
restitux
62fe1cf747
Change pipeline container to python gRPC env ( #6 )
2023-01-09 20:06:23 -07:00
restitux
3d7bef3a82
Implment worker api ( fixes #3 )
2023-01-09 00:59:19 -07:00
restitux
f4798233ba
Refactor docker script to support override
2023-01-08 22:51:05 -07:00
restitux
5f754e3daa
Fix debug printing
2023-01-08 14:41:35 -07:00
restitux
cf29841c83
Fix docker script not overwriting tmp file
2023-01-08 14:41:16 -07:00
restitux
1e831ed330
Improve pipeline api debug output
2023-01-08 14:25:44 -07:00
restitux
3f5fd3ce36
Correct uuid type names
2023-01-08 13:53:45 -07:00
restitux
f95a5f9ae5
Refactor gRPC definitions into seperate repo
...
The protobuf files and the generated golang code has been moved into
git.ohea.xyz/cursorius/pipeline-api. The generated code is now imported
from that location. The version of the API has also been bumped to v2 to
avoid unsupported v1 modules in golang.
2023-01-02 01:59:51 -07:00
restitux
fc117cef39
Fix incorrectly defined RunCommand
2023-01-02 01:56:45 -07:00
restitux
01111fe676
Fix bug in runnermanager
2023-01-02 01:40:53 -07:00
restitux
6fc9af8280
Implement skeleton of RunCommand
2023-01-01 13:44:09 -07:00
restitux
ff78167325
Cleanup runnermanager code
2023-01-01 13:43:45 -07:00
restitux
711a0257fc
Changed api runner id to use a UUID
2023-01-01 13:01:55 -07:00
restitux
984321c9fc
Change all fmt.Errorfs to use %w
2022-12-31 17:24: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
0287213433
Refactor proto into single package and update api
2022-12-28 17:08:30 -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
e25ac0c01e
Improve run-dev.sh script
2022-12-24 22:12:02 -07:00
restitux
825f269710
Change pipeline api types
2022-12-24 22:11:44 -07:00
restitux
112bca1a55
Fix poller not appending refs to array
2022-12-24 22:09:23 -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
08e8104cd9
Change docker go cache dir to _working
...
This was previously breaking the go tooling as the working directly was
being searched by the lsp and go mod tidy. The go tools ignore
directories that begin with underscores.
2022-12-24 19:45:00 -07:00
restitux
176de76581
Refactor webhook handling logic into seperate pkg
2022-12-24 17:20:09 -07:00
restitux
e16444f3f1
Add stop command to run-dev.sh
2022-12-24 17:19:50 -07:00
restitux
91f0410485
Cleanup docker development setup
2022-12-24 17:05:57 -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
46245b73c9
Add webhook testing and Docker compose cleanup
2022-12-23 20:16:24 -07:00
restitux
9cb4ca687e
Add repo polling support
2022-12-20 16:24:27 -07:00
restitux
53a3a70a06
Update ports to allow standalone runner to connect
2022-10-23 19:59:36 -06:00
restitux
dffb0adfa6
Fix setting running variable on runner
2022-10-17 01:10:25 -06:00
restitux
447e269437
Remove folder jobs and add Id to runner message
2022-10-17 00:31:31 -06: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
b44d4352ff
Add docker compose dind example
2022-09-19 17:28:14 -06:00
restitux
2f4016b32a
Add docker container logic to runner
2022-09-16 14:42:25 -06:00
restitux
7154ddc700
Add docker and docker compose deployment files
2022-09-16 14:41:50 -06:00
restitux
a7bedb3dcd
Initial commit
2022-09-15 22:02:25 -06:00