Skip to content

Conversation

mikedanese
Copy link
Member

Some functionality in hack/lib is currently depended on by cluster/common.sh
so kube-up from the full release tar (which does not include hack/) is currently
broken. With this PR we create cluster/lib/ and move the necessary bits from
hack/ over to get kube-up working again.

https://github.com/kubernetes/kubernetes/blob/master/cluster/common.sh#L27-L28

Fixes: 96d1b8d

@k8s-github-robot k8s-github-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Dec 24, 2015
@k8s-bot
Copy link

k8s-bot commented Dec 24, 2015

GCE e2e test build/test passed for commit af04cc72e92cb490f9aa74b209d7c2ead4d455dc.

@mikedanese
Copy link
Member Author

ping @zmerlynn

@zmerlynn
Copy link
Member

zmerlynn commented Jan 8, 2016

Glancing at the existing contents, the intent of hack is not to be shipped. There's actually no place for common shell code other than cluster/ right now, I don't think.

@mikedanese
Copy link
Member Author

@zmerlynn can we move hack/lib/ into cluster? that would mean build/ would have to depend on cluster (which doesn't seem like a big deal).

@zmerlynn
Copy link
Member

zmerlynn commented Jan 8, 2016

Alternately, we create some common ground somewhere, but I don't know where. Maybe for simplification that's cluster/lib and we let hack/lib live on as the "don't ship this"?

@k8s-github-robot k8s-github-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jan 11, 2016
@k8s-github-robot
Copy link

Labelling this PR as size/M

@zmerlynn
Copy link
Member

Change the commit message / PR? Otherwise LGTM. (I know you didn't say PTAL yet, but I was scanning PRs.)

@mikedanese mikedanese force-pushed the fix-build branch 2 times, most recently from 7220c46 to c111819 Compare January 12, 2016 00:02
@mikedanese mikedanese changed the title build: include hack/lib/ in release tar build: move some of hack/lib/ into a new cluster/lib/ Jan 12, 2016
@mikedanese
Copy link
Member Author

@zmerlynn updated commit and description PTAL

@k8s-bot
Copy link

k8s-bot commented Jan 12, 2016

GCE e2e build/test failed for commit c098f9a4fb4e36666145c2b3c3988c0e9e1ca60c.

@k8s-bot
Copy link

k8s-bot commented Jan 12, 2016

GCE e2e build/test failed for commit 1f90f5a350a03b6863c164f6523d86f0150792e4.

Some functionality in hack/lib is currently depended on by
cluster/common.sh so kube-up from the full release tar (which
does not include hack/) is currently broken. With this PR we
create cluster/lib/ and move the necessary bits from hack/
over to get kube-up working again.

Fixes: 96d1b8d
Signed-off-by: Mike Danese <mikedanese@google.com>
@k8s-bot
Copy link

k8s-bot commented Jan 12, 2016

GCE e2e test build/test passed for commit 22cfa5e.

@zmerlynn
Copy link
Member

@k8s-bot unit test this

@zmerlynn zmerlynn added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 12, 2016
@zmerlynn
Copy link
Member

LGTM

@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 Jan 13, 2016

GCE e2e test build/test passed for commit 22cfa5e.

@k8s-github-robot
Copy link

Automatic merge from submit-queue

k8s-github-robot pushed a commit that referenced this pull request Jan 13, 2016
@k8s-github-robot k8s-github-robot merged commit cf7d2af into kubernetes:master Jan 13, 2016
@mikedanese mikedanese deleted the fix-build branch January 13, 2016 15:54
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. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants