Get started with CI for Gitlab repos

- By Shrivara K S on May 05, 2016

GitLab is a fast-growing choice for enterprises managing their application code and team collaboration both on-premises and in the cloud. Today we are excited to announce Shippable support for application delivery pipelines for GitLab developers.



Shippable now extends GitLab's combination of Git-based source code repositories and enterprise features such as authentication and security with CI/CD pipelines. Shippable connects with GitLab self-hosted community and enterprise editions as well as their cloud offering so we work the way you want to. 

"We're excited that Shippable now integrates with GitLab. With Shippable anyone using GitLab can now easily deploy their code, independent of their stack and cloud environment." says Job van der Voort VP of Product at GitLab. "Like GitLab, Shippable works with established technologies, as well as with containers, making this an excellent solution for organizations of any size to bring their code from their repositories in GitLab to production."

Our new Shippable integration for GitLab supports running builds for your push commits, merge requests and even show the build status in GitLab, so you can enjoy the power of Shippable within GitLab. To know more about how to setup Shippable CI with GitLab, read on.


Setting Up GitLab Account Integration

To start off, sign into Shippable. ( identity support is coming soon.) Once signed into Shippable:

  • Click on the gear icon for 'Account Settings' in the top right navigation bar
  • Click on the 'Integrations' tab
  • Click on 'Add Integration'


  • Select the drop down under the 'Master Integration' & select 'GitLab'
  • For the 'Integration Name', use a distinctive name that's easy to recall
  • For 'url', enter the API end-point of your GitLab instance, this is usually of the format If you're using, this will be
  • For 'token', navigate to your GitLab Profile Settings in your GitLab instance and copy the Private Token provided under Account.


  • Click 'Save'
Next, let's sync the Account to ensure the permissions are up to date. To do this, go to the 'Accounts' tab & click 'Sync'.


Once synced, your GitLab subscription should be available from the 'Subscriptions' drop down in the dashboard page. You can now proceed to enable any repository (project) and configure your Continuous Integration. 

Build Triggers

Shippable automatically triggers build runs for all GitLab code commits or merge requests, indepenedent of the user who initiated it. Once the build triggers, you can view the build status and build details. In addition, Shippable integrates with GitLab build status API and displays the build status directly in GitLab as shown below


Get a Build Going

To get a build going for a project, add the Shippable config to it and then proceed to enable the project from your subscription in Shippable. Any build failures are notified instantly via email, and in Gitlab's build status. Slack, and Hipchat, IRC notifications can also be configured.

You can even proceed to configure Continuous Delivery using Shippable Pipelines and Docker. With Continuous Integration ensuring that the features are working fine, and Continuous Delivery automatically deploying the successful builds, you can ensure a smooth, fast, bug-less transition from development to production.

It's that simple. Now focus on building great applications on GitLab and leave the automation of builds & tests to Shippable. If you have any questions or run into any other issues while using GitLab, reach out by opening a new Support Issue and we'll gladly assist you.

Try Shippable



Topics: GitLab