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.

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.

Procedure

  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:
      [rtc] 
               repourl = URL-of-the-server
               repokey = key-from-step-e
    8. Save the config file.

video icon Video

Jazz.net channel
Software Education channel

learn icon Courses

IoT Academy
Skills Gateway

ask icon Community

Jazz.net
Jazz.net forums
Jazz.net library

support icon Support

IBM Support Community
Deployment wiki