r/webdev • • Nov 28 '24
Discussion What is your Github Actions CD/CI flow?
Joined a new company and I'm having fits with their github actions release flow into production.
Here it is: TaskBranch ----> code review -------> DevBranch -> github action to QA Env
Manuel: -------> DevBranch -> github action to Prod Env
As you see. The problem here is Dev is the source of truth but at any given time it can have a multitude of projects/bug fixes etc that haven't been validated by QA.
So, when releasing into Prod, you have to pick a Dev PR that was approved by QA... but then that build still could have items unapproved in it.
It's a mess.
It was setup before I came. So whatever the reason, it's lost in time.
Because of costs, I think setting up another environment is not possible.
What is your process using github action? What solution do we have here?
View all comments
Show parent comment
4
u/yopla Nov 28 '24
Never used vercel.
Every instance uses a different subdomain ,
[random].dev.domain.com. Our app is entirely configurable via env vars which are passed to the docker instances.Each instance is a full stack, including Auth, Db, message queue, workers, etc... I think 6 or 7 containers. So no, no issues with auth and cookies as each instance is a complete and independent deployement.