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
CI, docs: remove libelf-dev from dependencies #17687
Conversation
bc23d7a
to
8aecd2d
Compare
8aecd2d
to
2f2a581
Compare
/test |
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.
Looks good. I can also see references to (elfutils-)libelf-dev in the following files:
- contrib/packaging/rpm/Dockerfile
- contrib/packaging/rpm/cilium.spec.envsubst
- contrib/ansible/roles/common/tasks/common_delete.yml
- contrib/ansible/roles/common/tasks/common_install.yml
Should they go as well?
Thanks, removed them as well. Initially, I wasn't sure about them because I had no way to test changes on these files and they don't seem to be covered by CI. It looks like they haven't been updated (apart from minor changes) in a while. Are they still used by people at all? |
2f2a581
to
a088a5f
Compare
Rebased and added a second commit to remove |
/test |
Will rebase and rebuild images once #17792 is merged. |
Since commit 4db3166 ("cilium-map-migrate: remove program and all of its references") cilium-map-migrate has been replaced by a binary written in Go and we no longer link binaries against libelf as of commit c67cf7e ("bpf: remove libelf dependency and unused nobpf.h"). Thus, drop libelf-dev from dependencies in CI and documentation. Signed-off-by: Tobias Klauser <tobias@cilium.io>
In commit b71d528 ("CI: update cilium-cli to v0.9.2"), ipset was accidentially added to the list of packages to install on Travis CI. Remove it again as it is not needed by the tests. Signed-off-by: Tobias Klauser <tobias@cilium.io>
e60a5b9
to
4d0942e
Compare
We still need libelf1 as a dependency for iproute2 and runtime though. Signed-off-by: Tobias Klauser <tobias@cilium.io>
4d0942e
to
a59ab13
Compare
/test Job 'Cilium-PR-K8s-GKE' failed and has not been observed before, so may be related to your PR: Click to show.Test Name
Failure Output
If it is a flake, comment |
GKE failure looks like #17307: https://jenkins.cilium.io/job/Cilium-PR-K8s-GKE/6891/ |
test-gke |
All tests passed and reviews are in, marking as ready to merge. |
Since commit 4db3166 ("cilium-map-migrate: remove program and all
of its references") cilium-map-migrate has been replaced by a binary
written in Go and we no longer link binaries against libelf as of commit
c67cf7e ("bpf: remove libelf dependency and unused nobpf.h"). Thus,
drop libelf-dev from dependencies in CI and documentations.
Also update the
cilium-builder
image.