Skip to content
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

Fix issue mounting files #460

Merged
merged 1 commit into from
Dec 14, 2024
Merged

Conversation

cpuguy83
Copy link
Member

@cpuguy83 cpuguy83 commented Dec 6, 2024

Mounts were using the destination path as the source name when generating a source, this made it so mounts would only work correctly if mounted at the root of the filesystem since source names generally should not have path separators.

Fixes #459

@cpuguy83 cpuguy83 requested a review from a team as a code owner December 6, 2024 19:27
@cpuguy83 cpuguy83 force-pushed the 459_http_souce_mount branch 2 times, most recently from 2d05550 to c0baa5c Compare December 6, 2024 21:19
@cpuguy83 cpuguy83 requested a review from adamperlin December 10, 2024 22:47
Copy link
Contributor

@adamperlin adamperlin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does frontend.RunTests need to be updated with this fix as well since it also uses source mounts?

@cpuguy83
Copy link
Member Author

Does frontend.RunTests need to be updated with this fix as well since it also uses source mounts?

Yep, I actually thought I did do that.

Mounts were using the destination path as the source name when
generating a source, this made it so mounts would only work correctly if
mounted at the root of the filesystem since source names generally should
not have path separators.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
@cpuguy83 cpuguy83 force-pushed the 459_http_souce_mount branch from c0baa5c to 823a7c3 Compare December 12, 2024 22:57
@cpuguy83
Copy link
Member Author

Good catch, fixed it.

@cpuguy83 cpuguy83 requested a review from adamperlin December 12, 2024 23:14
@cpuguy83 cpuguy83 merged commit c404433 into Azure:main Dec 14, 2024
9 checks passed
@cpuguy83 cpuguy83 deleted the 459_http_souce_mount branch December 14, 2024 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Mounting HTTP source into image cmd source causes error
2 participants