Closed PhilTaken closed 10 months ago
Looks good in general, but could you please add a test case?
done
Great. Thanks!
@elikoga can you merge and backport?
@ctheune I can open a backport PR, but merging is restricted for me
Ok, I'm merging this one then, would appreciate the backport.
Add a check to the SyncDirectory component for the target directory.
The SyncDirectory component's
verify()
stage fails when the target directory does not exist yet, because it uses rsync to determine if there is a diff between left and right. In cases where the target directory is part of the deployment and has thusly not been created yet this leads to unexpected errors.