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

Fix rpm build after CNI 0.6.0 changes #486

Merged
merged 4 commits into from Dec 14, 2017

Conversation

pipejakob
Copy link
Contributor

This builds on top of the changes in #446 to start using CNI 0.6.0 in Kubernetes 1.9, but fixes the rpm build:

  • Version kubernetes-cni package on the CNI version actually used.
  • Fix Source5 parse problem with Kubernetes < 1.9.0
  • Extract cni-plugins to its own directory and fix mv commands

See the newer commit for my fixes. I've tested that the rpms actually build for both Kubernetes 1.8.x and 1.9.0-beta.2, and that their contents look reasonable, but haven't actually started real clusters using them for deep end-to-end testing (yet).

CC @enisoc @dixudx

dixudx and others added 2 commits December 11, 2017 16:57
- Version kubernetes-cni package on the cni version actually used.
- Fix Source5 parse problem with Kubernetes < 1.9.0
- Extract cni-plugins to its own directory and fix mv commands
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Dec 12, 2017
@pipejakob pipejakob mentioned this pull request Dec 12, 2017
- Fix kubelet CNI dependency for 1.9 prerelease versions.
@pipejakob
Copy link
Contributor Author

I also added a third commit with a minor fix to the deb building code, so that prerelease 1.9 versions also use the correct CNI dependency.

@pipejakob
Copy link
Contributor Author

/assign @dixudx

@pipejakob
Copy link
Contributor Author

Added a commit to set the dependency on kubernetes-cni to use = <version> instead of <= or >=, as discussed here.

@dixudx
Copy link
Member

dixudx commented Dec 13, 2017

use = instead of <= or >=

+1
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 13, 2017
@dixudx
Copy link
Member

dixudx commented Dec 13, 2017

@enisoc @luxas I think it's ready to ship this for v1.9.

@dixudx
Copy link
Member

dixudx commented Dec 13, 2017

/cc @ixdy PTAL. Thanks.

With several fixes for #446.

@pipejakob
Copy link
Contributor Author

/assign @ixdy

@ixdy
Copy link
Member

ixdy commented Dec 14, 2017

LGTM

Do we need to republish older versions of the debs/rpms with the = fix?

@enisoc
Copy link
Member

enisoc commented Dec 14, 2017

@ixdy Yes, @pipejakob jacob is working on republishing older versions and expects to have it done by today.

@ixdy ixdy merged commit ae34da9 into kubernetes:master Dec 14, 2017
@dixudx
Copy link
Member

dixudx commented Dec 16, 2017

@pipejakob @enisoc Thanks for pushing it forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. 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.

None yet

6 participants