Git cache for continuous integration jobs

In this article, I will explain how I solved a large git repository clone issue we had during our continuous integration job.

The fact is that we have a Cordova project using multiple plugins. Most of these plugins are stored in git repositories and some of them or their dependencies are really large. This can slow our job execution or even make it fail (due to timeout) as it depends on our internet connection..

I decided to find a way to “cache” repository so the build jobs wouldn’t use internet connection each time they need to clone the plugin repository without changing plugins files.

The solution I found was to use our  locally hosted gitlab as a mirror for the large repository and force git to use it using the git configuration “insteadOf”

I created a new repository in our gitlab to host the large plugin repository and I cloned it’s content from remote location once. I then added the following configuration for git inside the CI job runner machine:

Continue reading

Email this to someoneTweet about this on TwitterShare on FacebookShare on Google+Share on LinkedInShare on Reddit

Easy blog post translation with Yarakuzen

I am running a bilingual blog and I have recently discover Yarakuzen. This is an innovative tool for text translation and they offer a free plan for personnal use. They also have premium plans for an extensive use.

This app is not like other translation tool but offers the ability to adjust translation as I want and save them. The more I translate my content, the more it become accurate and customized for my taste.

So to use it on my wordpress blog, I had to create an account here and generate and API key. I also downloaded the Yarakuzen wordpress plugin than is perfectly integrated to WordPress.

The plugin will ask for a public and a private key I get from my Yarakuzen account :

YarakuZen ‹ Mika A. — WordPress

Now, when I start a new post, I see a new box from the Yarakuzen plugin, it allows me to send my post content to Yarakuzen for translation.

Ajouter un nouvel article ‹ Mika A. — WordPress

This is how I use it :

  • I create my first post in any language (say english) and save it
  • I create another post for translation and paste content from source post
  • I send translation to Yarakuzen through the box and when ready
  • I click the “Retrieve translation” button from the Yarakuzen box


This will replace my content with the translated text and it will also keep medias so I don’t need to add them again in the translation.

This is a service that is really helpful for me and I will use really often. You can learn more about Yarakuzen and their plans and services in

Email this to someoneTweet about this on TwitterShare on FacebookShare on Google+Share on LinkedInShare on Reddit