-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resource "File" correctly uses scmID #564
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch!
Can you:
- rebase against master (to only embed the commits related to this PR). easier to review.
- Add unit test(s) to cover the new code block
?
Signed-off-by: Olblak <me@olblak.com>
Co-authored-by: Damien Duportal <damien.duportal@gmail.com>
Co-authored-by: Damien Duportal <damien.duportal@gmail.com>
Signed-off-by: Olblak <me@olblak.com>
@dduportal I had to slightly modify the test struct |
Signed-off-by: Olblak <me@olblak.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@olblak you did not "slightly change" the test struct: you fixed it as it was incorrect (I don't know how did I mess it up, but it's fix with your change). Thanks!
Well, you did a great job for those UT, that was just a minor mistake which to be honest confused me initially :D |
Fix #558
If a relative file path is provided with a scmID, then like for condition and target, we want to use the git repository directory as the file root directory
Test
To test this pull request, I used the following updatecli configuration:
.updatecli.yaml
Additional Information
Tradeoff
/
Potential improvement
/