Skip to content

refactor(MinikubeDownload): expose extension executable path #170

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

Conversation

axel7083
Copy link
Contributor

Following @benoitf comment #165 (comment) trying to make very small changes.

This PR expose the path where the executable will be located inside the extension folder. This will be useful in other component to be able to use it to execute <minikube-path> --version.

Notable change

The MinikubeDownload was saving the executable in <extension-folder>/bin/minikube(.exe) but the MinikubeInstaller is saving to <extension-folder>/minikube-<platform>-<arch>(.exe). To simplify that, this PR remove the bin folder, as it is not used by any extensions (kind, compose, etc.)

Tests

  • unit tests has been added

@axel7083 axel7083 requested a review from benoitf as a code owner October 18, 2024 08:50
Copy link
Contributor

@benoitf benoitf left a comment

Choose a reason for hiding this comment

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

much more smaller chunk to review 🎉

@benoitf
Copy link
Contributor

benoitf commented Oct 18, 2024

(just need to fix the formatting)

Signed-off-by: axel7083 <[email protected]>
@axel7083 axel7083 enabled auto-merge (squash) October 18, 2024 08:56
@axel7083 axel7083 merged commit c700dd4 into podman-desktop:main Oct 18, 2024
5 checks passed
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.

2 participants