Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] Jenkins - Kubernetes - gradle cache on persistent volume

Hi Mickael,

I did considered this option actually I'm trying to make it work. I consider it as a workaround for third party.

While building my docker image, I'm cloning the repo and downloading all dependencies to the gradle cache folder. 

In theory, when I build afterward it should reuse the dependencies already present in the cache folder. 

The problem I'm facing is a configuration/permision for the gradle cache folder. I will get it right soon :)

@Gunnar
I think we can't access any resources outside the cluster.
Yes it should update but it will save 90% of the time

Cheers


On Thu, Apr 4, 2019 at 5:24 PM Gunnar Wagenknecht <gunnar@xxxxxxxxxxxxxxx> wrote:
On Apr 4, 2019, at 16:37, Mickael Istria <mistria@xxxxxxxxxx> wrote:
>
> Hey Oliver,
>
> Have you considered adding some cache for your Gradle builds directly in the Docker image you're using?

Wouldn't the Docker image needed to be updated after every build with the new cache or when there is a dependency change/update?

Is it possible to scp the cache somewhere after a build and restore it as part of the build pipeline?

-Gunnar
_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/cbi-dev

Back to the top