by MuffinFlavored · 7y ago · 0 comments
1. branch off of master
2. write a bunch of code that runs the risk of breaking stuff
3. deploy it to our already existing developer/staging environment
4. test it. if it is good, promote it to QA/UAT/CAT
does Dockup assume that companies don't already have the 3 main environments (dev/CAT/prod) set up?
Why would my service be worth anything in isolation? Usually when I deploy to staging, it is after I've already made e2e+unit+integration tests work locally, so I'm checking how live databases/load balancers/routers/etc. work in staging.
How can you deploy multiple staging environments?
I guess I kind of get it now that I think through it.
Say you need 10 services for staging to work. They all talk to the staging database...
Does this DockUp thing also allow you to configure to deploy a database so developers aren't fighting over data/migrations in staging?
It sounds like a containerized development environment, but it's really only as good as the configuration job that is done for it.
How do I test new load balancer rules? Gotta have all of the load balancer images + configuration files in.
At the company I worked at, we built something similar using Heroku free dynos :) So that you can tag a PR and it automatically created a staging app using free Heroku dyno, it even came with a free database. The setup works but also quite spotty.
This is incredibly useful with many interconnected codebases have related changes (I know, bad SoA. best practices are hard). Then I can point review-3918.SERVICENAME.service.XXX.stag's connection string to review-1111.SERVICENAME.service.XXX.stag to ensure that everything is working as expected.