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

Allow running test-cmd on osx #25981

Merged
merged 1 commit into from
May 30, 2016
Merged

Conversation

liggitt
Copy link
Member

@liggitt liggitt commented May 20, 2016

No description provided.

@k8s-github-robot k8s-github-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. release-note-label-needed labels May 20, 2016
@@ -310,7 +320,7 @@ runTests() {
kubectl config set clusters.test-cluster.certificate-authority-data "$cert_data" --set-raw-bytes
r_writen=$(kubectl config view --raw -o jsonpath='{.clusters[?(@.name == "test-cluster")].cluster.certificate-authority-data}')

encoded=$(echo -n "$cert_data" | base64 --wrap=0)
encoded=$(echo -n "$cert_data" | base64)
Copy link
Contributor

Choose a reason for hiding this comment

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

--wrap=0 seems important here; why get rid of it?

Copy link
Member Author

Choose a reason for hiding this comment

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

it's nonstandard, so it breaks on osx, and it's unnecessary, because the go base64 decoder skips newlines

@ikehz ikehz added the release-note-none Denotes a PR that doesn't merit a release note. label May 23, 2016
@ikehz ikehz added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 26, 2016
@ikehz
Copy link
Contributor

ikehz commented May 26, 2016

LGTM

@wojtek-t wojtek-t added this to the v1.3 milestone May 30, 2016
@k8s-github-robot
Copy link

@k8s-bot test this [submit-queue is verifying that this PR is safe to merge]

@k8s-bot
Copy link

k8s-bot commented May 30, 2016

GCE e2e build/test passed for commit 33ae2b8.

@k8s-github-robot
Copy link

Automatic merge from submit-queue

@k8s-github-robot k8s-github-robot merged commit 6136d4c into kubernetes:master May 30, 2016
@liggitt liggitt deleted the test-cmd-osx branch June 15, 2016 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants