Deploy Ad Hoc branches to lower risk stages #3411
Replies: 2 comments 4 replies
-
One way I'm thinking about it, is for feature branches to create a tag when they're ready to deploy? warehouse(allowtags: ^dev-blah-blah) -> dev warehouse(git branch: main) -> dev -> stage -> main |
Beta Was this translation helpful? Give feedback.
-
Remember Kargo is about promotions and not deployments -- the difference being that deployments (Argo CD's job) reconcile cluster state against desired state in git, while promotions are about changing "the state of the desired state." So I'm wondering if a shift of perspective perhaps makes your problem more solvable... Instead of thinking in terms of "how do I get the contents of some arbitrary branch into dev?" what if you look at it in terms of, "how do I get the things I want in dev into the branch that dev already syncs to?" |
Beta Was this translation helpful? Give feedback.
-
I know it's not perfect Gitops, but we have pretty strict
main
branch requirements so it would be a huge slowdown if Engineers wanted PR things for a dev environmentHere's what I imagine
Warehouse(git: ^feature-branch/*) -> dev
Warehouse(git: main) -> dev -> stage -> prod
Issue seems to be here: #2907
But I am curious how people are doing it with the current implementation. Thanks
Beta Was this translation helpful? Give feedback.
All reactions