README.md 620 Bytes
Newer Older
Jacob Vosmaer's avatar
Jacob Vosmaer committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Installing GitLab Runner

Below we describe the one-time steps you need to perform to set up a new
gitlab-runner instance.

## Ubuntu 12.04, 14.04 and Centos 6

```
# Create the user that will run your builds
sudo useradd -m -r gitlab-runner

# Register your runner instance with a GitLab CI Coordinator
sudo /opt/gitlab-runner/bin/setup -C /home/gitlab-runner

# Install and start the gitlab-runner Upstart script
sudo cp /opt/gitlab-runner/doc/install/upstart/gitlab-runner.conf /etc/init/
sudo service gitlab-runner start
```

The runner will write log messages via Upstart to
`/var/log/upstart/gitlab-runner.log`.