Replies: 2 comments 1 reply
-
Hi @sjurgis I think there are multiple ways to deal with this kind of situation. What I can suggest here is to use git tags with a format you can easily parse and compare. Or you could have only one tag per env. Each time deployment is done on the env you could move the tag. I'm sure there are many other workflows, and I can't wait to see those 😄 |
Beta Was this translation helpful? Give feedback.
-
I'm using tags with this format
when a deploy succeeds in a particular environment I update this tag in remote with the hash that deployed the changes. I also have tags for vlocity datapacks
Approved changes that can go to production are tagged with |
Beta Was this translation helpful? Give feedback.
-
Apologies, but this is more of a practical question for community members, than about sgd.
Lets say deployment #1 fails and a fix is submitted. Comparing changes between HEAD~1 and HEAD will discard changes from deployment #1.
My idea is to query last n pipeline runs to get commit hash from latest successful run and then compare that to HEAD.
How do you solve this? Is there some gold standard?
Beta Was this translation helpful? Give feedback.
All reactions