Skip to content

ci: speed up a couple Dockerfile targets w/ cache mount#10793

Merged
glours merged 1 commit intodocker:v2from
milas:dockerfile-cache-mounts
Jul 10, 2023
Merged

ci: speed up a couple Dockerfile targets w/ cache mount#10793
glours merged 1 commit intodocker:v2from
milas:dockerfile-cache-mounts

Conversation

@milas
Copy link
Copy Markdown
Contributor

@milas milas commented Jul 10, 2023

What I did
The local Go package module path was missing from a couple of jobs, which made them slower than needed since they were re-downloading a bunch of dependencies.

In particular, this makes make lint waaaay faster!

(not mandatory) A picture of a cute animal, if possible in relation to what you did
jumping ferret: https://www.flickr.com/photos/usfwsmtnprairie/5244105513

@milas milas requested a review from a team July 10, 2023 16:30
@milas milas self-assigned this Jul 10, 2023
@milas milas requested review from StefanScherer, glours, laurazard, ndeloof, nicksieger and ulyssessouza and removed request for a team July 10, 2023 16:30
Copy link
Copy Markdown
Contributor

@glours glours left a comment

Choose a reason for hiding this comment

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

Alt Text

@glours
Copy link
Copy Markdown
Contributor

glours commented Jul 10, 2023

@milas is your DCO issue back? 😅

@codecov
Copy link
Copy Markdown

codecov bot commented Jul 10, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.13 🎉

Comparison is base (dc74e6a) 59.15% compared to head (dff58d7) 59.28%.

❗ Current head dff58d7 differs from pull request most recent head 1964693. Consider uploading reports for the commit 1964693 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##               v2   #10793      +/-   ##
==========================================
+ Coverage   59.15%   59.28%   +0.13%     
==========================================
  Files         115      115              
  Lines        9869     9869              
==========================================
+ Hits         5838     5851      +13     
+ Misses       3438     3428      -10     
+ Partials      593      590       -3     

see 5 files 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.

The local Go package module path was missing from a couple of jobs,
which made them slower than needed since they were re-downloading
a bunch of dependencies.

In particular, this makes `make lint` waaaay faster!

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
@milas milas force-pushed the dockerfile-cache-mounts branch from dff58d7 to 1964693 Compare July 10, 2023 17:13
@glours glours merged commit e28b223 into docker:v2 Jul 10, 2023
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