4 ms·
It' not open source, but I'll try to sell the idea to our CTO. :) Just to give you more details about its inner workings, this function is written in JavaScrip
by danielmartins 10y ago
It' not open source, but I'll try to sell the idea to our CTO. :)
Just to give you more details about its inner workings, this function is written in JavaScript that gets called when certain events come from GitHub ('pull_request', 'status', and 'push'), and uses kubectl to modify the corresponding deployments depending on the event.
Nothing fancy there, trust me.
- Perceptes 10y agoDo you only create copies of the stateless pieces of each stack, or do you also copy databases?
- danielmartins 10y agoWe currently only run stateless apps on Kubernetes. All databases are hosted elsewhere (RDS, MongoDB Cloud, etc)
- Perceptes 10y agoLet me rephrase that: Do you spin up a new copy of any necessary data stores when you deploy a topic branch of an app, or do all versions of the app share the same view of data in their environment (e.g. staging/production)?
- danielmartins 10y agoNo, these 'development' environments point to other services in 'staging'.