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

[ci] Specify 7 as arm version for arm build in CI #7873

Merged
merged 1 commit into from
Jun 12, 2023
Merged

[ci] Specify 7 as arm version for arm build in CI #7873

merged 1 commit into from
Jun 12, 2023

Conversation

Wal8800
Copy link
Contributor

@Wal8800 Wal8800 commented Jun 11, 2023

Description:

Previously, we introduced linux/arm to the cross build tests in the CI to add an armv7 release.

However, without specifying the GOARM variable, it falls back to the default value. The default value is not always 7 as it depends on the platform that we are building on. There are changes to default to GOARM=7 for all non-arm systems in the upcoming golang version

We are building on linux/amd64 machine in github action so GOARM defaults to 5 which is different from what we want.

In this pull request, I added GOARM as an environment variable and goarm in the arm matrix option so we can explicit set GOARM=7.

Testing:

Able to run make otelcoreol with the following configurations locally

  • GOOS=linux, GOARCH=arm, GOARM=7
  • GOOS=linux, GOARCH=arm64, GOARM=
  • GOOS=darwin, GOARCH=amd64, GOARM=

@Wal8800 Wal8800 requested review from a team and jpkrohling June 11, 2023 04:03
@codeboten codeboten added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Jun 12, 2023
@codecov
Copy link

codecov bot commented Jun 12, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.03 ⚠️

Comparison is base (ed8547a) 91.14% compared to head (1388519) 91.12%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7873      +/-   ##
==========================================
- Coverage   91.14%   91.12%   -0.03%     
==========================================
  Files         298      298              
  Lines       14915    14915              
==========================================
- Hits        13594    13591       -3     
- Misses       1045     1047       +2     
- Partials      276      277       +1     

see 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@codeboten codeboten merged commit 94490ae into open-telemetry:main Jun 12, 2023
@github-actions github-actions bot added this to the next release milestone Jun 12, 2023
@Wal8800 Wal8800 deleted the specify-arm-version-ci branch June 12, 2023 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants