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
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Lars Seipel
gitlab-runner
Commits
b9443284
Commit
b9443284
authored
10 years ago
by
Kamil Trzcinski
Browse files
Options
Downloads
Patches
Plain Diff
Cleanup advanced configuration
parent
22d642c1
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config.toml.example
+1
-3
1 addition, 3 deletions
config.toml.example
docs/configuration/advanced-configuration.md
+2
-5
2 additions, 5 deletions
docs/configuration/advanced-configuration.md
with
3 additions
and
8 deletions
config.toml.example
+
1
−
3
View file @
b9443284
concurrent = 4
root_dir = ""
[[runners]]
name = "ruby-2.1"
...
...
@@ -9,6 +8,7 @@ root_dir = ""
executor = "shell"
builds_dir = ""
clean_environment = false
shell = "bash"
[[runners]]
name = "ruby-2.1-docker"
...
...
@@ -22,7 +22,6 @@ root_dir = ""
image = "ruby:2.1"
privileged = false
disable_cache = false
disable_pull = false
cache_dir = ""
registry = ""
...
...
@@ -38,7 +37,6 @@ root_dir = ""
image = "ubuntu-upstart:14.04"
privileged = false
disable_cache = false
disable_pull = false
cache_dir = ""
registry = ""
[runners.ssh]
...
...
This diff is collapsed.
Click to expand it.
docs/configuration/advanced-configuration.md
+
2
−
5
View file @
b9443284
...
...
@@ -8,13 +8,11 @@ This defines global settings of multi-runner.
| Setting | Explanation |
| ------- | ----------- |
|
`concurrent`
| limits how many jobs globally can be run concurrently. The most upper limit of jobs using all defined runners |
|
`root_dir`
| allows to change relative dir where all builds, caches, etc. are stored. By default is current working directory |
Example:
```
bash
concurrent
=
4
root_dir
=
""
```
### The [[runners]] section
...
...
@@ -28,10 +26,11 @@ This defines one runner entry.
|
`token`
| runner token |
|
`limit`
| limit how many jobs can be handled concurrently by this token. 0 simply means don't limit |
|
`executor`
| select how a project should be built, see next section |
|
`shell`
| the name of shell to generate the script (default value is platform dependent) |
|
`builds_dir`
| directory where builds will be stored in context of selected executor (Locally, Docker, SSH) |
|
`clean_environment`
| do not inherit any environment variables from the multi-runner process |
|
`environment`
| append or overwrite environment variables |
|
`
shell`
| the name of shell to generate the sc
ri
p
t
(default value is platform dependent)
|
|
`
disable_verbose`
| don't p
ri
n
t
run commands
|
Example:
...
...
@@ -83,7 +82,6 @@ This defines the Docker Container parameters.
|
`image`
| use this image to run builds |
|
`privileged`
| make container run in Privileged mode (insecure) |
|
`disable_cache`
| disable automatic |
|
`disable_pull`
| disable automatic image pulling if not found |
|
`wait_for_services_timeout`
| specify how long to wait for docker services, set to 0 to disable, default: 30 |
|
`cache_dir`
| specify where Docker caches should be stored (this can be absolute or relative to current working directory) |
|
`registry`
| specify custom Docker registry to be used |
...
...
@@ -102,7 +100,6 @@ Example:
image
=
"ruby:2.1"
privileged
=
false
disable_cache
=
false
disable_pull
=
false
wait_for_services_timeout
=
30
cache_dir
=
""
registry
=
""
...
...
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