Verified Commit 9cb58018 authored by Laurent Modolo's avatar Laurent Modolo
Browse files

make token an argument of the register.sh

parent 9b5e1510
......@@ -44,11 +44,10 @@ The `gitlab_runner` container will be able to pull them and launch them (within
To register a runner you need to use the `*_runner_register.sh` scripts.
For a `r_dev:3.5.1` runner, edit the `r_dev_runner_register.sh` file to add your group token.
Specify the tag and the name of the runner and register it with the following command:
For example, for a `r_dev:3.5.1` runner register it with the following command, where `<group_token>` is the token of your group :
```sh
./r_dev_runner_register.sh
./r_dev_runner_register.sh <group_token>
```
You can check the runners registered in the **CI/CD** settings of your group.
......
......@@ -4,7 +4,7 @@ docker run --rm -t -i -v /srv/gitlab-runner/config:/etc/gitlab-runner -v /var/ru
--executor "docker" \
--docker-image lmodolo/r_dev:3.5.1 \
--url "https://gitlab.biologie.ens-lyon.fr/" \
--registration-token "TOCKEN" \
--registration-token "$1" \
--description "docker-runner for r_dev:3.5.1" \
--tag-list "docker, r, devtools" \
--run-untagged \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment