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 Olivier,

You should make sure that you use the Maven central mirror that we provide. It is very close to where the build actually happen so the download performance should be better than download from maven central itself (see https://wiki.eclipse.org/Jenkins#Custom_container_on_Jiro to learn how to do so).

We don't provide persistent volumes (at least for now) to projects that they could use as a cache. This cache would be on a NFS volume and using it would not be that different than downloading from a local maven mirror.

Cheers,

Mikaël Barbero 
Team Lead - Release Engineering | Eclipse Foundation
📱 (+33) 642 028 039 | 🐦 @mikbarbero
Eclipse Foundation: The Platform for Open Innovation and Collaboration

Le 12 mars 2019 à 15:55, Olivier Delcroix <odelcroi@xxxxxxxxx> a écrit :

Hi folks,

My gradle build jobs are finally working well on my custom container. 

The problem I'm facing now is that each time, gradle will re-download every dependencies, which takes 5-6minutes of the overall build. Usually we use gradle cache to avoid this pitfall. 

I'm not an expert of k8, but it seems that it is possible to mount a volume that could be persisted after each execution (https://kubernetes.io/docs/concepts/storage/persistent-volumes/) I would like to locate my gradle cache on that type of volume.

My question is : what kind of persistent volume can we use out of the box from the openshift architecture? should we use an external service if none is provided?

Thanks a lot,
Olivier
_______________________________________________
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

Attachment: signature.asc
Description: Message signed with OpenPGP


Back to the top