Commit Graph

58 Commits

Author SHA1 Message Date
restitux bfd05b6a8a Add secrets support (#14) 2023-02-14 20:18:41 -07:00
restitux 6d2936393b Persist repo ref hashes in db 2023-02-08 18:44:54 -07:00
restitux e4043ae3be Correct case of member name 2023-02-08 18:06:54 -07:00
restitux 7a665aa348 Add support for access repos with credentials 2023-02-07 21:34:32 -07:00
restitux d870335d25 Disable vcs info embedding because of git perms 2023-02-07 19:27:19 -07:00
restitux 4bda3c7a3b Add admin_api and database logging of runs #9 #10 2023-01-31 20:25:52 -07:00
restitux 724757b23c Cleanup gitea override docker logic 2023-01-31 18:48:17 -07:00
restitux 1e0526a599 Add logging to pipeline create graphql mutation 2023-01-31 18:47:44 -07:00
restitux c1d4f3cc16 Fix createWebhook endpoint location 2023-01-20 23:03:59 -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 b58b1ab5d9 Update go modules 2023-01-14 01:35:19 -07:00
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