6c191910d21185788f69513b50c05b1eb22c7ba7
GhostRunner
This project aims to create a way to schedule commands to be run as soon as possible when they offline initialy.
The way to accomplish this is to create a tracked task list, and keep track of it has been successfully done.
Technical details.
Go(lang) backend server which exposes an HTTP API which can be used to add tasks to the process.
Python executor/runner which actually executes the commands, Python was chosen because of the availability of: LibMeshCtrl Python Library.
Create a python virtual environment inside the runner folder.
JSON Templates:
TokenBody:
{
"tokenname": "NewUsableToken",
"authtoken": "admintokengoeshereofcourse",
"selectedtoken": "thetokenyouwanttoremove"
}
TaskBody:
{
"name": "DeployTask",
"authtoken": "abc123securetoken",
"data": {
"command": "deploy-app",
"nodeids": "node1,node2,node3"
}
}
Description
Languages
Go
83.5%
Python
15.2%
Shell
1.3%