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: speed up a couple Dockerfile targets w/ cache mount #10793

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

milas
Copy link
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 nicksieger, ndeloof, StefanScherer, ulyssessouza, glours and laurazard and removed request for a team July 10, 2023 16:30
Copy link
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
Contributor

glours commented Jul 10, 2023

@milas is your DCO issue back? 😅

@codecov
Copy link

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>
@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