Skip to content

build: fix missing proxy build args for classic builder#10887

Merged
milas merged 1 commit into
docker:mainfrom
milas:classic-build-args
Aug 10, 2023
Merged

build: fix missing proxy build args for classic builder#10887
milas merged 1 commit into
docker:mainfrom
milas:classic-build-args

Conversation

@milas

@milas milas commented Aug 8, 2023

Copy link
Copy Markdown
Contributor

What I did
Refactor to use a consistent code path for determining the build args for a service image regardless of whether BuildKit or the classic builder is being used.

After recent changes, these code paths had diverged, so the classic builder was missing the proxy variables from the Docker client config.

Related issue

(not mandatory) A picture of a cute animal, if possible in relation to what you did
a very cute weasel on a tree branch looking at the camera

Refactor to use a consistent code path for determining the build
args for a service image regardless of whether BuildKit or the
classic builder is being used.

After recent changes, these code paths had diverged, so the classic
builder was missing the proxy variables from the Docker client
config.

Signed-off-by: Milas Bowman <[email protected]>
@milas
milas requested review from a team, StefanScherer, glours, laurazard, ndeloof, nicksieger and ulyssessouza and removed request for a team August 8, 2023 19:28
@milas

milas commented Aug 8, 2023

Copy link
Copy Markdown
Contributor Author

GitHub broke on #10876, it wasn't seeing the rebase with the fixed merge conflict, so I closed it, and now I can't re-open it (because NOW it could see the rebase) 🤦🏻

@codecov

codecov Bot commented Aug 8, 2023

Copy link
Copy Markdown

Codecov Report

Patch coverage: 82.60% and project coverage change: +0.06% 🎉

Comparison is base (fd8ab2f) 58.81% compared to head (e3d155a) 58.87%.

Additional details and impacted files
@@            Coverage Diff             @@
##               v2   #10887      +/-   ##
==========================================
+ Coverage   58.81%   58.87%   +0.06%     
==========================================
  Files         120      120              
  Lines       10454    10446       -8     
==========================================
+ Hits         6148     6150       +2     
+ Misses       3706     3698       -8     
+ Partials      600      598       -2     
Files Changed Coverage Δ
pkg/compose/build.go 75.89% <76.47%> (-0.51%) ⬇️
pkg/compose/build_classic.go 52.86% <100.00%> (+0.30%) ⬆️

... and 2 files with indirect coverage changes

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

@milas
milas merged commit bfa5408 into docker:main Aug 10, 2023
@milas
milas deleted the classic-build-args branch August 10, 2023 12:57
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