-
Notifications
You must be signed in to change notification settings - Fork 116
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
Upgrade Spring Boot & Gradle Wrapper versions across the board #615
Conversation
is it stuck because of Spring Boot gradle upgrades? |
No, this one is stuck because of caching problem. We cache all of the gradle/maven downloads on the host runner and then volume map those into the build containers so that each application doesn't need to re-download the world. This requires getting the permissions correct so that the build containers can write to these locations. At the moment, that is failing and it can't write. It was working, so something has changed but we're not sure what yet. When this happened previously, something had changed in the Github Ubuntu "latest" image. Basically, someone has to go through and check permissions/ownership outside of the container and inside of the container and then compare the two. Hopefully, we can spot what changed and adjust the workflow. |
12a0768
to
823617b
Compare
1a4bb5b
to
e95274a
Compare
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.
Thoughts
33df53e
to
f036465
Compare
Hello @dmikusa |
That's interesting, so instead of using the trigger to execute the workflow based on the path, you have one workflow that runs and then determines what to execute and kicks off other things via a matrix. Did I follow that right? I don't have strong feelings about the approach so long as we are only testing things that have changed. I do generally have an aversion to lots of inline bash. We have that in a few places and it's a nightmare to maintain. You might want to consider replacing that with an action (i.e. some Go code and unit tests). If your concern with generalizing stuff is reducing duplication in the workflows, you might also consider a reusable workflow. |
That is correct: there's the first job, named
Right, this is exactly what it does
I understand your concern. I usually also dislike
oh, interesting; but my concern was not only about copy/pasting (which re usable workflows in a way solve); but also in the fact of creating a |
71c8050
to
f8abe4c
Compare
Yes, I get the time crunch here. My counter-proposal would be make sure it's using |
348d998
to
c906eb9
Compare
It's looking good. Only question. I see that the caching host-level caching for Gradle/Maven was removed. Even splitting things up, that's going to help speed up runs. The download time for dependencies is about 1/3 of the build time for Java apps (non-native). Still seems significant. Wondering your thoughts on removing it. |
Signed-off-by: Daniel Mikusa <[email protected]>
Signed-off-by: Daniel Mikusa <[email protected]>
* so that it can be used for every Java samples
dd7c24c
to
432e52a
Compare
Hello 👋
What caching precisely are you referring to? In any way, I believe caching for the samples to not be helping. |
Summary
Update everything in one PR.
Use Cases
Checklist