Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gitlab_runner
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Carine Rey
gitlab_runner
Commits
9cb58018
Verified
Commit
9cb58018
authored
6 years ago
by
Laurent Modolo
Browse files
Options
Downloads
Patches
Plain Diff
make token an argument of the register.sh
parent
9b5e1510
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+2
-3
2 additions, 3 deletions
README.md
r_dev_runner_register.sh
+1
-1
1 addition, 1 deletion
r_dev_runner_register.sh
with
3 additions
and
4 deletions
README.md
+
2
−
3
View file @
9cb58018
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
r_dev_runner_register.sh
+
1
−
1
View file @
9cb58018
...
...
@@ -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
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment