11.7.4 Central Git Repository Setup

You may choose any central git repository though it will need to be able to fire the same kind of trigger as GitHub or GitLab when a push occurs. So we highly recommend that you one of these. And if the idea of creating a public repository does not work for you, then either pay for the ability to create private repositories in GitHub or use GitLab which has free private repositories. LANSA's demonstration repositories are all private.

The rest of this section refers to using GitHub to setup. If you are using GitLab it's quite similar.

1.  Create or login to your GitHub account.

     The type of GitHub account dictates what security options are available for auto-deployment machines.

2.  Create an empty repository. The names that the LANSA demonstration uses indicate the target location and the partition. DO NOT initialize with a README otherwise the commit will stop a later push to the repo. There is no need to add a license or add ".gitignore". as you will be importing an existing repository. The example shows Private repository selected. To use this option you will need to pay for the ability. It may suit your organisation better if you choose a private repository. Here is an example of the repository settings:

3.  Once you have created the repository a screen of choices will be presented for how to continue with your repository. Take the first option - the Quick Setup option - by clicking on the indicated button to copy the git repository address: