Commit based status pull and merge functionality for Rsync
In this MR,
- Function for obtaining the latest commit SHA key has been added.
- We are using this commit SHA key to decide if the status files for the deployment have changed.
- This will help us pull status files only when they have changed contrary to the current method wherein we are pulling the status files in a fixed interval irrespective of them being the same.
- Also, in order to solve the race condition faced during the deployment of composite apps using GitOps, git merge functionality has been added.
- Monitor has also been updated accordingly to solve the race condition issue mentioned above.
Refers to issue #178 (closed)
Signed-off-by: chitti-intel adarsh.chittilappilly@intel.com
Edited by Adarsh Chittilappilly