-
Notifications
You must be signed in to change notification settings - Fork 138
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
Improved build caching for s2i local build #2581
Conversation
@matejvasek: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
f5d96a7
to
9492f2e
Compare
PTAL @lkingland @gauron99 @rhuss |
Use 'RUN --mount=type=cache...' to cache build artifacts, e.g. the local maven repostory. Signed-off-by: Matej Vašek <[email protected]>
9492f2e
to
6577ffe
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2581 +/- ##
==========================================
+ Coverage 64.12% 65.40% +1.28%
==========================================
Files 130 130
Lines 15494 15513 +19
==========================================
+ Hits 9935 10147 +212
+ Misses 4621 4389 -232
- Partials 938 977 +39
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice 👍
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lkingland, matejvasek The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@aslom would you try this out? I wonder if it works with docker on mac. |
Nice finde about |
@rhuss |
Looks good to me, however I wonder whether we should hardcode the cache directory to
|
The |
It is not shared. I am setting cache |
To be clear |
@rhuss ^^^ |
Signed-off-by: Matej Vašek <[email protected]>
Signed-off-by: Matej Vašek <[email protected]>
PTAL @gauron99 @lkingland @rhuss |
@matejvasek where I can download func binary build for this PR? |
@aslom you need to build it yourself, or I could send you a binary. |
I thought one of bots was doing tests and created func binaries? |
This PR should at least fix java maven dep caching @aslom . It probably want change much for Go. I just wonder whether this would work on your setup. |
@aslom it looks like we upload artifacts only on push/merge to |
@aslom There are also some nightly builds in knative infra, but again they are on |
plz lgtm @gauron99 @lkingland @rhuss @matzew |
/lgtm |
Changes
s2i
builds, by employingRUN --mount=type=cache...
./kind enhancement