wiseengineering / crispy-worker Goto Github PK
View Code? Open in Web Editor NEWDaemon process to run migrations
License: MIT License
Daemon process to run migrations
License: MIT License
As we have workers that communicate with crispy-api
for the following reasons:
We need to describe it in details what kind of requests we need from API, and how crispy-cli will be used here.
Initially, the idea was to have a lot different workers to run migrations in different servers and have runners installed there.
But we need crispy-cli
as migration runner and migrations schema parser.
We would like to run particular crispy-cli
command when we receive some command from API.
As a result here, should be:
crispy-cli
whould be installed hereAs here we have https://github.com/melnychukvitaliy/mysql-migrate Percona
helper to run migrations we need something like that in worker.
The main idea of this component is to listen commands from crispy-api
and be able to make the following actions:
Let's start to init simple TS based worker with the ability to run Percona tool
as a second step we will split runner and worker
one from cases how we can use this service is to have all set of runners installed here along with crispy-cli
.
we need to provide Dockerfile where we will install
nodejs
versionalso, we need to provide the ability to mount users migrations directory to give the ability run migrations locally and avoid web
, api
usage
As the final step, we need CI configuration to build this image automatically
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.