Skip to content

Honor the build.crossCompile.enabled value - #37

Closed
migrym wants to merge 2 commits into
nokia:mainfrom
migrym:honor-crosscompile-enabled
Closed

migrym wants to merge 2 commits into
nokia:mainfrom
migrym:honor-crosscompile-enabled

Conversation

@migrym

@migrym migrym commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

The configuration value build.crossCompile.enabled is always assumed to be true, and the image to enable it is always run regardless. This change will skip this step if enabled is set to false. Since the default value is true, the default behavior remains the same.

This is a fix for issue #16.

The configuration value build.crossCompile.enabled is always assumed to be
true, and the image to enable it is always run regardless. This change will
skip this step if enabled is set to false. Since the default value is true,
the default behavior remains the same.

This is a fix for issue nokia#16.

Signed-off-by: Michael Grymporounis <michail.grymporounis@nokia.com>
@codecov

codecov Bot commented Jul 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 37.73%. Comparing base (b686f68) to head (4a83ada).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #37   +/-   ##
=======================================
  Coverage   37.73%   37.73%           
=======================================
  Files          23       23           
  Lines        1569     1569           
=======================================
  Hits          592      592           
  Misses        917      917           
  Partials       60       60           
Flag Coverage Δ
unittests 37.73% <ø> (ø)

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

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tsopokis

tsopokis commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

I don't think it is the best approach to add the check inside the function enableCrossCompilation. We should do it one level above. Check #44

@mptrk

mptrk commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

I merged #44 so closing this as deprecated.

@mptrk mptrk closed this Sep 8, 2026
@migrym
migrym deleted the honor-crosscompile-enabled branch September 9, 2026 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants