-
Notifications
You must be signed in to change notification settings - Fork 1.4k
📖 fixing clusterctl.exe installation directions for curl.exe #6995
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
Welcome @luthermonson! |
Hi @luthermonson. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
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.
Thanks for fixing this up! We definitely have a problem reviewing Windows workflows 🙂 Hopefully someone who can run this locally is able to confirm it's the right approach!
@killianmuldoon can this get merged? |
I'd prefer to wait until other Windows-using folks chime in here to be sure this is the correct solution. I'll raise it in the slack channel and see if anyone can help. |
cc @marosset |
Using /ok-to-test |
Thanks for helping review this @marosset! /lgtm |
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vincepri The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/cherry-pick release-1.2 |
@killianmuldoon: new pull request created: #7048 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What this PR does / why we need it:
Fixes clusterctl.exe installation on Windows, first it was missing the -L for the redirect and was returning empty content for the http request. but... curl is sometimes an alias in PowerShell for
Invoke-WebRequest
so the best and most cross compatible way for cmd and powershell I ever found was to just callcurl.exe
explicitly which always ends up being the curl everyone expects.This is what happens using the docs as they exist today in powershell
This is what happens after this patch
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #