-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Use gsed on the mac. #37562
Use gsed on the mac. #37562
Conversation
I ran through https://docs.google.com/document/d/19Q4AzWLD5jd2FNaPyKy2xdTN4JIGUUpvwDwg0tcBkyc/edit# and was able to successfully upgrade my nodes when using |
Can you add a comment explaining that you're doing this because sed doesn't work the expected way on Mac? |
In the shell code? |
yes |
d0408f1
to
2df08cc
Compare
comment and extra check added to match https://github.com/kubernetes/kubernetes/blob/master/hack/make-rules/test-cmd.sh#L177 |
@jessfraz this looks broken in the 1.4 release branch as well (https://github.com/kubernetes/kubernetes/blob/release-1.4/cluster/gce/util.sh#L1713) so I'll create a cherry pick for both 1.5 and 1.4 once it merges. |
LGTM |
@zmerlynn - can you look at the kops error? |
@k8s-bot aws e2e test this @roberthbailey: It's either the same low-grade flake I've been chasing, or it's a residual issue off this morning. I'll try to watch this space. |
Marking P0 because this is blocking manual upgrade testing on Mac. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue |
Commit found in the "release-1.5" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this is an error find help to get your PR picked. |
…-#37562-upstream-release-1.4 Automated cherry pick of #37562
Commit found in the "release-1.4" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this is an error find help to get your PR picked. |
What this PR does / why we need it: Fixes node upgrades when run from a mac
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #37474Special notes for your reviewer:
This change is