Skip to content

Use the squash option from image configuration when building with buildx#1605

Merged
rohanKanojia merged 1 commit into
fabric8io:masterfrom
kevinleturc:feature-buildx-use-squash-option
Sep 20, 2022
Merged

Use the squash option from image configuration when building with buildx#1605
rohanKanojia merged 1 commit into
fabric8io:masterfrom
kevinleturc:feature-buildx-use-squash-option

Conversation

@kevinleturc

Copy link
Copy Markdown
Contributor

I noticed that the image/squash option is not passed honored when having also the buildx option to build our images for multiple architecture.

There's probably others options that is not honored, I will be happy to contribute them too in another PRs.
This PR is also a way for me to have initial feedback on the format & coding style before moving forward.

Let me know if it needs anything else.

@codecov

codecov Bot commented Sep 16, 2022

Copy link
Copy Markdown

Codecov Report

Merging #1605 (922b44a) into master (3d917de) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #1605      +/-   ##
============================================
+ Coverage     63.53%   63.56%   +0.02%     
- Complexity     2166     2168       +2     
============================================
  Files           170      170              
  Lines          9922     9924       +2     
  Branches       1358     1359       +1     
============================================
+ Hits           6304     6308       +4     
+ Misses         3087     3086       -1     
+ Partials        531      530       -1     
Impacted Files Coverage Δ
...io/fabric8/maven/docker/service/BuildXService.java 71.01% <100.00%> (+0.42%) ⬆️
...8/maven/docker/config/BuildImageConfiguration.java 84.31% <0.00%> (+0.78%) ⬆️

Signed-off-by: Kevin Leturc <kevinleturc@users.noreply.github.com>
@kevinleturc
kevinleturc force-pushed the feature-buildx-use-squash-option branch from c20c26c to 922b44a Compare September 17, 2022 07:21
@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@rohanKanojia
rohanKanojia merged commit 694b146 into fabric8io:master Sep 20, 2022
@kevinleturc
kevinleturc deleted the feature-buildx-use-squash-option branch September 21, 2022 14:03
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.

2 participants