Adding a GitLab Repository

If your repository lives in GitLab, you can connect your repository automatically, or connect via SSH if you prefer.

If you prefer SSH, buddybuild will automatically generate a secure SSH key for you to install into your source control system. Buddybuild will use this key to clone your repository.

Let’s get started!

Step 1: Enter the SSH Git Clone URL

Within the main page of your repository, look to the middle of the page for the HTTPS/SSH dropdown. Click it and select SSH (if it is not already selected).

select ssh.png

Highlight and copy the SSH URL.

copy clone url.png

Head over to dashboard, visit Select source and choose SSH.

select source ssh.png

Paste the SSH URL you copied into the Git clone URL field.

paste clone url.png

Step 2: Add the SSH Key to Your GitLab Account

Highlight and copy the generated SSH key.

copy ssh key.png

Navigate to your Profile Settings by first selecting the menu icon in the top left corner.

click settings menu.png

In the menu that slides out, select Profile Settings.

click profile settings.png

Next, select SSH Keys.

click ssh keys.png

Add a new SSH Key by pasting the copied SSH key into the Key field, and entering Buddybuild as the title.

paste ssh key.png

Next, click Add Key.

build.png

Warning

Private git submodules and private cocoapods

If your project depends on any code in other private git repos, the ssh key will need to be added to those repos as well.

Navigate back to buddybuild and click on the Build button.

build.png

Buddybuild will checkout your project code and kick off a simulator build. The build should finish within a few seconds.

That’s it. You’re now connected to buddybuild. The next step is to invite testers to try out your App.

results matching ""

    No results matching ""