A task execution system
Go to file
R Tyler Croy 23c2d64eef Correctly match capabilities when the agent has more than the project 2023-03-12 20:56:26 -07:00
apidocs Rename the project to Synchronik 2023-03-12 19:50:37 -07:00
examples Implement support for inline commands definition for projects 2023-03-12 19:50:37 -07:00
migrations Add the projects table to keep track of the projects configured 2023-01-29 17:42:06 -08:00
scripts Add shoreman.sh and a Procfile for easily running a local setup 2023-03-12 19:50:37 -07:00
src Correctly match capabilities when the agent has more than the project 2023-03-12 20:56:26 -07:00
static Add tango icons 2023-01-28 22:48:42 -08:00
views Correctly match capabilities when the agent has more than the project 2023-03-12 20:56:26 -07:00
.gitignore Output the logs to the file and return the log URL to the server 2023-01-28 17:46:50 -08:00
.ignore Output the logs to the file and return the log URL to the server 2023-01-28 17:46:50 -08:00
Cargo.toml Refactor the ServerConfig to allow for loading configuration from a directory 2023-03-12 19:50:37 -07:00
LICENSE Initial commit 2023-01-27 10:48:50 -08:00
Procfile Switch the demo over to using a directory for configuration 2023-03-12 19:50:37 -07:00
README.adoc Rename the project to Synchronik 2023-03-12 19:50:37 -07:00
api-description.yml Rename the project to Synchronik 2023-03-12 19:50:37 -07:00
ci.synchronik.yml Rename the project to Synchronik 2023-03-12 19:50:37 -07:00
sqlx-data.json Render projects from the database and starting in on the Project page 2023-01-29 21:33:54 -08:00

README.adoc

<html lang="en"> <head> </head>

Synchronik

Synchronik is a simple task execution system built in Rust. This is performative coding and not intended to be a production system you can actually use.

  • Two binaries:

  • synchronik-server

  • Listens HTTP

  • Does web things

  • Interacts with agents

  • synchronik-agent:

  • Run workloads

  • Listen HTTP

  • executes commands

Basic Agent/Server Project Execution Flow
┌────────┐                                       │            │http
│        │sqlite3                                │   Agent    │ws
│ Server │http                                   │            │
│        │ws                                     └──────┬─────┘
└───┬────┘                                              │
    │             What are your caps?                   │
    ├──────────────────────────────────────────────────►│
    │             git,svn,bash,rustc,cargo              │
    │◄──────────────────────────────────────────────────┤
    │           great, here's some commands             │
    ├──────────────────────────────────────────────────►│
    │         kewl, here's the logs, id, etc            │
    │◄──────────────────────────────────────────────────┤
</html>