How to set up a Git server installation

Talend Version          6.1.1

Summary

How to set up a Git server installation
Additional Versions 6.2.1
Key words Git
Product Talend Data Integration
Component  
Article Type Configuration
Problem Description How to set up a Git server installation with GitBlit. This is useful if you want an on-premise Git solution that runs on a web application server. If you don't want to use an enterprise solution such as Github or Bitbucket, then this would be an option.
Problem root cause  
Solution or Workaround

Create an HTTPS connection on TAC

  1. Log in to your GitBlit Server URL.
  2. Click Repositories from the top menu bar, which will switch to the repository page.

    repo.png

     

  3. Click new repository.

    new_repo.png

     

  4. Create a new repository as shown below:

    create_repo.png

     

  5. After the repository is successfully created, you will see your repository listed on the Repositories page.

    new_repo2.png

     

  6. To ensure that HTTPS works, launch Git bash, then run git config --global --bool --add http.sslVerify false.

    git_config.png

     

  7. Navigate to TAC > configuration > git, then fill in the correct parameters.

    git_param.png

     

    • To find the URL of the HTTPS connection, click the repository you created to display the page below, but remove your account information from the URL before adding it to the Git server url field.

    • For Username and Password, use the account and password you use to log on to Git.

     

    https_url.png

  8. When you have finished these steps, Git is configured for use with TAC, so you can create a project.

Create an SSH connection on TAC

  1. To create a key for SSH, open Git bash and run ssh-keygen.

    ssh-keygen.png

     

  2. Switch to the .ssh folder, where you will see two generated files: id_rsa and id_rsa.pub.
  3. Log in to your GitBlit Server URL.
  4. To upload your ssh key, copy the contents of the id_rsa.pub file, then paste it into the SSH Keys field under My Profile.

    ssh_key.png

     

  5. To find the URL of the SSH connection, click the repository you created to display the page below, then add the URL to the Git server url field.

    ssh_url.png 

  6. Navigate to TAC > configuration > git, then fill in the correct parameters.

    git_param_ssh.png

JIRA ticket number  
Version history
Revision #:
6 of 6
Last update:
‎07-11-2017 02:21 PM
Updated by:
 
Labels (3)
Tags (1)