GitLab shows us how to install GitLab Runner on a FreeBSD operating system. GitLab Runner, used in conjunction with GitLab CI, is an open source application created to run jobs and send results back to GitLab. See the link below for the full set of instructions.

Here are the steps to install and configure GitLab Runner under FreeBSD:

  1. Create the gitlab-runner user and group:
    sudo pw group add -n gitlab-runner
    sudo pw user add -n gitlab-runner -g gitlab-runner -s /usr/local/bin/bash
    sudo mkdir /home/gitlab-runner
    sudo chown gitlab-runner:gitlab-runner /home/gitlab-runner
  2. Download the binary for your system:
    # For amd64
    sudo wget -O /usr/local/bin/gitlab-runner
    # For i386
    sudo wget -O /usr/local/bin/gitlab-runner

    You can download a binary for every available version as described in Bleeding Edge – download any other tagged release.

  3. Give it permissions to execute:

Full tutorial: