Remove references to '/ci' path while describing Runner's registration
This commit is contained in:
parent
e261b4b851
commit
cd06310123
4 changed files with 10 additions and 10 deletions
|
@ -9,7 +9,7 @@
|
|||
(checkout the #{link_to 'GitLab Runner section', 'https://about.gitlab.com/gitlab-ci/#gitlab-runner', target: '_blank'} for information on how to install it).
|
||||
%li
|
||||
Specify the following URL during the Runner setup:
|
||||
%code= ci_root_url(only_path: false)
|
||||
%code= root_url(only_path: false)
|
||||
%li
|
||||
Use the following registration token during setup:
|
||||
%code= @project.runners_token
|
||||
|
|
|
@ -37,7 +37,7 @@ GitLab Runner then executes job scripts as the `gitlab-runner` user.
|
|||
|
||||
```bash
|
||||
sudo gitlab-ci-multi-runner register -n \
|
||||
--url https://gitlab.com/ci \
|
||||
--url https://gitlab.com/ \
|
||||
--registration-token REGISTRATION_TOKEN \
|
||||
--executor shell \
|
||||
--description "My Runner"
|
||||
|
@ -94,7 +94,7 @@ In order to do that, follow the steps:
|
|||
|
||||
```bash
|
||||
sudo gitlab-ci-multi-runner register -n \
|
||||
--url https://gitlab.com/ci \
|
||||
--url https://gitlab.com/ \
|
||||
--registration-token REGISTRATION_TOKEN \
|
||||
--executor docker \
|
||||
--description "My Docker Runner" \
|
||||
|
@ -112,7 +112,7 @@ In order to do that, follow the steps:
|
|||
|
||||
```
|
||||
[[runners]]
|
||||
url = "https://gitlab.com/ci"
|
||||
url = "https://gitlab.com/"
|
||||
token = TOKEN
|
||||
executor = "docker"
|
||||
[runners.docker]
|
||||
|
@ -179,7 +179,7 @@ In order to do that, follow the steps:
|
|||
|
||||
```bash
|
||||
sudo gitlab-ci-multi-runner register -n \
|
||||
--url https://gitlab.com/ci \
|
||||
--url https://gitlab.com/ \
|
||||
--registration-token REGISTRATION_TOKEN \
|
||||
--executor docker \
|
||||
--description "My Docker Runner" \
|
||||
|
@ -197,7 +197,7 @@ In order to do that, follow the steps:
|
|||
|
||||
```
|
||||
[[runners]]
|
||||
url = "https://gitlab.com/ci"
|
||||
url = "https://gitlab.com/"
|
||||
token = REGISTRATION_TOKEN
|
||||
executor = "docker"
|
||||
[runners.docker]
|
||||
|
|
|
@ -55,11 +55,11 @@ You can do this through the [Dashboard](https://dashboard.heroku.com/).
|
|||
### Create runner
|
||||
First install [Docker Engine](https://docs.docker.com/installation/).
|
||||
To build this project you also need to have [GitLab Runner](https://about.gitlab.com/gitlab-ci/#gitlab-runner).
|
||||
You can use public runners available on `gitlab.com/ci`, but you can register your own:
|
||||
You can use public runners available on `gitlab.com`, but you can register your own:
|
||||
```
|
||||
gitlab-ci-multi-runner register \
|
||||
--non-interactive \
|
||||
--url "https://gitlab.com/ci/" \
|
||||
--url "https://gitlab.com/" \
|
||||
--registration-token "PROJECT_REGISTRATION_TOKEN" \
|
||||
--description "python-3.5" \
|
||||
--executor "docker" \
|
||||
|
|
|
@ -50,11 +50,11 @@ You can do this through the [Dashboard](https://dashboard.heroku.com/).
|
|||
### Create runner
|
||||
First install [Docker Engine](https://docs.docker.com/installation/).
|
||||
To build this project you also need to have [GitLab Runner](https://about.gitlab.com/gitlab-ci/#gitlab-runner).
|
||||
You can use public runners available on `gitlab.com/ci`, but you can register your own:
|
||||
You can use public runners available on `gitlab.com`, but you can register your own:
|
||||
```
|
||||
gitlab-ci-multi-runner register \
|
||||
--non-interactive \
|
||||
--url "https://gitlab.com/ci/" \
|
||||
--url "https://gitlab.com/" \
|
||||
--registration-token "PROJECT_REGISTRATION_TOKEN" \
|
||||
--description "ruby-2.2" \
|
||||
--executor "docker" \
|
||||
|
|
Loading…
Reference in a new issue