Blog Company Why we chose GitLab CI for our CI/CD solution
October 17, 2016
3 min read

Why we chose GitLab CI for our CI/CD solution

Find out why we choose GitLab CI and what we've found through our experience using it.

gitlab-ci-oohlala-cover.png

At OOHLALA Mobile, our testing and deployment of code is done through Fabric, essentially a set of Python scripts (called “fabfiles”) that are executed on various servers. Recently, we started looking for a CI/CD solution that help manage our fabfile deployment system, which is growing more complex each day. In the end, we went with GitLab CI, and here’s what we found through our experience.

Simple to Use

Since the bulk of the work is done in Fabric, the CI/CD solution can be very simple, as it only needs to be able to execute fabfiles. GitLab CI’s shell executor is perfect for this. The complexities of other solutions (e.g. Jenkins) are unnecessary for us.

Fast

We will be using the system for all code deploys, including development and QA environments, so the CI/CD system needs to be fast, to keep up with the fast-paced changes required for development. Primarily Docker based solutions, such as CircleCI, took considerably longer to run due to the dependency set up stage. With GitLab CI, we can set up our own runner with all dependencies pre-installed, and jobs are executed really fast.

We would like to have a solution that can be installed on arbitrary hardware, specifically our own dedicated macOS and Windows machines that perform our mobile app CI/CD for iOS and Android respectively. The reasoning is that in the future we may use the same CI/CD service for our mobile teams as well. GitLab CI can do this for free, as we can simply install GitLab runners on our dedicated machines. Other CI solutions (e.g. Travis CI, CircleCI etc.) do offer mobile CI/CD solutions, but will not meet our requirements since we need our in-house build and deploy scripts on dedicated hardware to effectively manage the hundreds of mobile apps that we maintain.

Economical and Secure

The solution should be relatively economical, especially since our development team is still relatively small. Most CI solutions are relatively expensive (e.g. Travis CI starts at $129/month minimum), and the ones that have free tiers are very limited in capacity (e.g. CircleCI and Shippable both allow only 1 concurrent job on their free tier). GitLab CI only costs as much as the machine used to run it, which is very flexible (a $40/month DO instance can run many concurrent jobs without issue).

Ideally (i.e. not a hard requirement), we would like to keep all SSH private keys within our own infrastructure for better security. With most other CI solutions, we would have to hand them the private keys for all the servers we need to deploy to. With GitLab CI, the keys are stored on the CI runner instance, which is hosted by us and fully under our control.

In the end, we actually chose to host our code on GitLab.com, because of the seamless integration with GitLab CI. There weren’t any major differences in features (at least ones that we wanted) in the repository hosting solutions we looked at (GitHub, Gogs, and GitLab mostly), and the CI solution made the choice easier.

About the author

James Dang is the co-founder the CTO of OOHLALA Mobile, an education technology company building the mobile platform for universities and colleges to connect and engage with their students.

We want to hear from you

Enjoyed reading this blog post or have questions or feedback? Share your thoughts by creating a new topic in the GitLab community forum. Share your feedback

Ready to get started?

See what your team could do with a unified DevSecOps Platform.

Get free trial

New to GitLab and not sure where to start?

Get started guide

Learn about what GitLab can do for your team

Talk to an expert