-
Hey all, trying around with kargo a lot at the moment and I encountered a question about it. I have the following setup for my source repo:
I created stages that subscribe to each other in the following order:
So now the problem:
So in short: If I only change an environment specific config in my helm chart, I will not be able to commit to the previous stages as there are not changes. I understand I can make a manual promotion (and it works) but I was wondering if there's a better way to handle this which I might have missed. Or maybe I'm using the wrong approach here. Thx! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 11 replies
-
This could be a bug in the git commit step and I will look into it today. In the legacy promotion mechanisms that were retired when we went GA, git-based promotions were tolerant of promotions with no diffs that resulted in no commit. The git commit step is supposed to work the same way, but it seems perhaps that it is not. I'll look into it. |
Beta Was this translation helpful? Give feedback.
We assume the
path
for steps likegit-commit
orgit-push
to be the path to the root of working tree, but you have provided the path to a directory within a working tree.I have a suspicion that defying this assumption is indirectly the cause of some unanticipated behavior. I need to put this theory to the test to see if this actually is a problem. If it is, we'll either eliminate that assumption or validate it before proceeding.
We're working hard right now to release v1.1 before the (American) Thanksgiving holiday, so this may have to wait until after then.
In the meantime, you could perhaps try pointing at the root of the working tree instead. I suspect you've done it the way you have t…