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

remove wsl detection logic #5124

Merged
merged 1 commit into from
Dec 9, 2020

Conversation

IsaacPD
Copy link
Contributor

@IsaacPD IsaacPD commented Dec 9, 2020

Fixes: #5085
Related: #5054

Description
The previous WSL logic is antiquated as WSL is its own fully functional linux system. There does not need to be any extra hacks or logic when running within WSL so long as the necessary tools as normal are present. Thus using Docker with the WSL2 backend is a must for anyone using WSL as it allows seamless integration with the tools (e.g. skaffold) that use it.

User facing changes
None hopefully, potentially a change for the better in how users use skaffold in WSL if they are not already working with all linux binaries from within WSL.

@IsaacPD IsaacPD requested a review from a team as a code owner December 9, 2020 01:01
@IsaacPD IsaacPD requested a review from ilya-zuyev December 9, 2020 01:01
@google-cla google-cla bot added the cla: yes label Dec 9, 2020
@codecov
Copy link

codecov bot commented Dec 9, 2020

Codecov Report

Merging #5124 (2616a27) into master (272f104) will increase coverage by 0.06%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5124      +/-   ##
==========================================
+ Coverage   72.19%   72.25%   +0.06%     
==========================================
  Files         380      379       -1     
  Lines       13303    13297       -6     
==========================================
+ Hits         9604     9608       +4     
+ Misses       3006     2999       -7     
+ Partials      693      690       -3     
Impacted Files Coverage Δ
pkg/skaffold/docker/client.go 89.33% <ø> (+7.62%) ⬆️
pkg/skaffold/cluster/minikube.go 68.62% <100.00%> (+1.96%) ⬆️
pkg/skaffold/yamltags/tags.go 89.47% <0.00%> (-2.20%) ⬇️
pkg/skaffold/instrumentation/meter.go 57.14% <0.00%> (+7.14%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 272f104...2616a27. Read the comment docs.

@IsaacPD IsaacPD requested a review from gsquared94 December 9, 2020 02:33
Copy link
Contributor

@gsquared94 gsquared94 left a comment

Choose a reason for hiding this comment

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

lgtm!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WSL detection logic for minikube binary is flawed
2 participants