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

Make it possible to build the spectral image also on ARM #20506

Merged
merged 5 commits into from
Sep 26, 2024

Conversation

Vad1mo
Copy link
Member

@Vad1mo Vad1mo commented May 28, 2024

Local image build for ARM CPU Architecture

This change makes it possible to build the spectra image not only for the x86 architecture but also for ARM.
This also updates SPECTRAL_VERSION to 6.11.1 because 6.1 does not provide binaries apart from x86.

The main problem this fix solves is that users can better develop and compile Harbor locally on ARM systems.

Issue being resolved

Fixes various issues on building and running Harbor locally on ARM
https://github.com/goharbor/harbor/issues?q=is%3Aissue+ARM

Please indicate you've done the following:

  • Well Written Title and Summary of the PR
  • Label the PR as needed. "release-note/ignore-for-release, release-note/new-feature, release-note/update, release-note/enhancement, release-note/community, release-note/breaking-change, release-note/docs, release-note/infra, release-note/deprecation"
  • Accepted the DCO. Commits without the DCO will delay acceptance.
  • Made sure tests are passing and test coverage is added if needed.
  • Considered the docs impact and opened a new docs issue or PR with docs changes if needed in website repository.

@Vad1mo Vad1mo requested a review from a team as a code owner May 28, 2024 22:49
@Vad1mo Vad1mo added the release-note/enhancement Label to mark PR to be added under release notes as enhancement label May 28, 2024
Copy link

codecov bot commented May 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.70%. Comparing base (c8c11b4) to head (c1b5f3c).
Report is 282 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##             main   #20506       +/-   ##
===========================================
+ Coverage   45.36%   66.70%   +21.33%     
===========================================
  Files         244     1047      +803     
  Lines       13333   114302   +100969     
  Branches     2719     2850      +131     
===========================================
+ Hits         6049    76245    +70196     
- Misses       6983    34164    +27181     
- Partials      301     3893     +3592     
Flag Coverage Δ
unittests 66.70% <ø> (+21.33%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 1287 files with indirect coverage changes

Signed-off-by: Vadim Bauer <vb@container-registry.com>
@Vad1mo Vad1mo enabled auto-merge (squash) June 29, 2024 13:39
Signed-off-by: Vadim Bauer <vb@container-registry.com>
@Vad1mo Vad1mo force-pushed the fix/build_spectral_on_arm branch from 81db8f1 to 65ccf4a Compare June 29, 2024 13:49
Signed-off-by: Vadim Bauer <vb@container-registry.com>
@wy65701436
Copy link
Contributor

as for ARM support, can we have a overall solution rather than just updating the spectral individually?

Copy link
Member

@chlins chlins left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Contributor

@MinerYang MinerYang left a comment

Choose a reason for hiding this comment

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

lgtm

@stonezdj stonezdj removed the request for review from a team September 13, 2024 03:11
@chlins
Copy link
Member

chlins commented Sep 13, 2024

@Vad1mo Please rebase the main branch, then we can merge this PR.

Copy link
Contributor

@wy65701436 wy65701436 left a comment

Choose a reason for hiding this comment

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

lgtm

@Vad1mo Vad1mo enabled auto-merge (squash) September 26, 2024 06:37
@Vad1mo Vad1mo merged commit d42c347 into goharbor:main Sep 26, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
candidate/2.12.0 release-note/enhancement Label to mark PR to be added under release notes as enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants