kilgaloon / leprechaun Goto Github PK
View Code? Open in Web Editor NEWYou had one job, or more then one, which can be done in steps
License: MIT License
You had one job, or more then one, which can be done in steps
License: MIT License
Remove startIn from recipes
Make use of go plugins and create mechanism to extend usage of notifications and posibility to add new notification systems through plugins
Prioritize tasks with following specifications.
If all workers are already populated to maximum, and some high priority task is standing in queue to be executed, take lowest priority task and stop it, move it to queue and wait available worker slot to continue on that task.
Started task can't be paused (needs more investigation), this can be killed and restarted again.
Enable webhooks to trigger recipes, also these recipes can't be scheduled
Recipe validator should run before in BuildQueue and AddInQueue to check is recipe is valid
Rename all functions with Create{Placeholder} -> New
Use yml format inside *.lock file.
Informations in file:
If we implement this, we will know did recipe finished properly, next time we can know which recipes to push to queue and which not.
This can take a Locking recipe functionality into considiration for change.
Generate report for every finished recipes with detailed info
socket.Registrator now has method Command where we specify commands for our app, extend command defining to provide description on how to use specific command.
This will be used to display each command and description for it when command help is passed
Wrapper for this already exists.
Take a look at client/commands.go
With latest updates server is supported with basic commands that are coming with agent
Every stdout of application needs to end up in info.log
Handle signal for terminating program and do cleanup
Display status of client:
In this case we can use config for other services.
Define how many workers can be spawned.
This can cause that some recipes can't be finished on time, if there is a lot of recipes happening in same time.
App needs to have opened socket to be available to receive commands from outside
This should be somewhere in recipe file, expand step definitions, but we need to have somewhere to defined which task is sync/async.
sync is by default
Only one instance of leprechaun can run on system.
Generating .pid file gives us ability to create stop command when process is running in background
Example:
echo "some string" > ./file.txt
"some string"
will be split and act as 2 different arguments "some
and string"
and command wont work as expected
Recipe definition cron and support same pattern for scheduling recipes
.lock
file appears when there is no recipes to be executed
Make usage of plugins and ability to extend leprechaun functionality
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.