Fix more instructions

This commit is contained in:
Mark Pundsack 2016-06-07 23:50:26 -07:00
parent 9b30f26b98
commit 6ca1370c92

View file

@ -24,16 +24,16 @@ However, this requires special configuration of GitLab Runner to enable `docker`
## 1. Use shell executor ## 1. Use shell executor
The simplest approach is to install GitLab Runner in `shell` execution mode. The simplest approach is to install GitLab Runner in `shell` execution mode.
GitLab Runner then executes build scripts as `gitlab-runner` user. GitLab Runner then executes build scripts as the `gitlab-runner` user.
1. Install [GitLab Runner](https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/#installation). 1. Install [GitLab Runner](https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/#installation).
1. During GitLab Runner installation select `shell` as method of executing build scripts or use command: 1. During GitLab Runner installation select `shell` as method of executing build scripts or use command:
```bash ```bash
$ sudo gitlab-runner register -n \ $ sudo gitlab-ci-multi-runner register -n \
--url https://gitlab.com/ci \ --url https://gitlab.com/ci \
--token RUNNER_TOKEN \ --registration-token REGISTRATION_TOKEN \
--executor shell --executor shell
--description "My Runner" --description "My Runner"
``` ```