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

[release-v3.27] Sync Calico node arm64 Dockerfile with amd64 #8533

Merged
merged 3 commits into from
Feb 20, 2024

Conversation

hjiawei
Copy link
Contributor

@hjiawei hjiawei commented Feb 19, 2024

Description

This change syncs Calico node arm64 Dockerfile with amd64. It also removes an ARCH environment variable definition as it conflicts with the same variable defined in other Makefiles. Calico node Dockerfiles are architecture dependent so arch info are hard-coded now until we unify them.

Related issues/PRs

Pick #8532 into release-v3.27 release branch.

Fixes #8407 for arm64.

Todos

  • Tests
  • Documentation
  • Release note

Release Note

TBD

Reminder for the reviewer

Make sure that this PR has the correct labels and milestone set.

Every PR needs one docs-* label.

  • docs-pr-required: This change requires a change to the documentation that has not been completed yet.
  • docs-completed: This change has all necessary documentation completed.
  • docs-not-required: This change has no user-facing impact and requires no docs.

Every PR needs one release-note-* label.

  • release-note-required: This PR has user-facing changes. Most PRs should have this label.
  • release-note-not-required: This PR has no user-facing changes.

Other optional labels:

  • cherry-pick-candidate: This PR should be cherry-picked to an earlier release. For bug fixes only.
  • needs-operator-pr: This PR is related to install and requires a corresponding change to the operator.

This change syncs Calico node arm64 Dockerfile with amd64. It also removes
an `ARCH` environment variable definition as it conflicts with the same
variable defined in other Makefiles. Calico node Dockerfiles are architecture
dependent so arch info are hard-coded now until we unify them.
@marvin-tigera marvin-tigera added this to the Calico v3.27.2 milestone Feb 19, 2024
@marvin-tigera marvin-tigera added release-note-required Change has user-facing impact (no matter how small) docs-pr-required Change is not yet documented labels Feb 19, 2024
@hjiawei hjiawei force-pushed the node-dockerfile-sync-327 branch from 687be26 to cd811e1 Compare February 19, 2024 22:25
@hjiawei hjiawei marked this pull request as ready for review February 20, 2024 01:41
@hjiawei hjiawei requested a review from a team as a code owner February 20, 2024 01:41
Comment on lines 240 to 242
# Node is build on a debian image with pcap 1.8, but there is no 1.8 available so we copy 1.9 over. Ideally we should
# should build node on a centos image so we can have correct pcap version alignment.
RUN ln -s $(ls /usr/lib64/libpcap.so.1.9.* | tail -n 1) /usr/lib64/libpcap.so.0.8
Copy link
Contributor Author

@hjiawei hjiawei Feb 20, 2024

Choose a reason for hiding this comment

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

This change should fix #8407 for v3.27 arm64. They are not needed in the main branch as we reworked our toolchain.

@hjiawei hjiawei requested review from coutinhop and mazdakn February 20, 2024 17:30
node/Dockerfile.arm64 Outdated Show resolved Hide resolved
@hjiawei hjiawei merged commit 98bee9a into release-v3.27 Feb 20, 2024
2 checks passed
@hjiawei hjiawei deleted the node-dockerfile-sync-327 branch February 20, 2024 23:05
ScheererJ added a commit to gardener/gardener that referenced this pull request Apr 2, 2024
gardener-prow bot pushed a commit to gardener/gardener that referenced this pull request Apr 2, 2024
* Update dependency projectcalico/calico to v3.27.3

* Remove comment as projectcalico/calico#8533 resolved the issue for v3.27.3

---------

Co-authored-by: Johannes Scheerer <johannes.scheerer@sap.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-pr-required Change is not yet documented release-note-required Change has user-facing impact (no matter how small)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants