Configuring the Git repository in GitLab

You need to configure the Git repository so that it can communicate with the IBM® Engineering Workflow Management (EWM) server with which it is registered.

Before you begin

A shared user base, such as a common LDAP, between EWM and the GitLab/GitLab Enterprise server is optional. It is recommended to add an EWM functional user ID to the post-receive hook configuration by setting the REMOTE_USER variable.. Ensure that the functional user is authorized for Git requests.

About this task

On Linux, the Git repositories are located by default under /var/opt/gitlab/git-data/repositories. The following steps assume that the GitLab repositories are in this location. Repeat this task for each Git repository.


  1. Locate the GitLab repository folder under /var/opt/gitlab/git-data/repositories.
  2. Update the GitLab repository config file to identify the EWM server URL and the value of the Key field in the Git repository that is registered with EWM.
    1. In the web client, log on to the Change and Configuration Management page. For example, go to https://host_name:9443/ccm/web.
    2. Click Source Control > Work with Git.
    3. Click Browse Registered Git Repositories.
    4. Select the repository that you registered.
    5. Copy the value next to the Key field.
    6. Open the config file under /var/opt/gitlab/git-data/repositories/repository-name in a text editor.
    7. Add the following lines to the end of the file:
               repourl = URL-of-the-server
               repokey = key-from-step-e
    8. Save the config file.

video icon Video channel
Software Education channel

learn icon Courses

IoT Academy
Skills Gateway

ask icon Community forums library

support icon Support

IBM Support Community
Deployment wiki