Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
42d2551d
Commit
42d2551d
authored
Feb 21, 2018
by
Tomasz Maczukin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update documentation
parent
78a4189e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
6 deletions
+48
-6
doc/ci/runners/README.md
doc/ci/runners/README.md
+39
-6
doc/ci/runners/img/shared_runners_admin.png
doc/ci/runners/img/shared_runners_admin.png
+0
-0
doc/user/project/pipelines/settings.md
doc/user/project/pipelines/settings.md
+9
-0
No files found.
doc/ci/runners/README.md
View file @
42d2551d
...
...
@@ -231,6 +231,38 @@ To make a Runner pick tagged/untagged jobs:
1.
Check the
**Run untagged jobs**
option
1.
Click
**Save changes**
for the changes to take effect
### Setting maximum job timeout for a Runner
For each Runner you can specify a _maximum job timeout_. Such timeout,
if smaller than [project defined timeout], will take the precedence. This
feature can be used to prevent Shared Runner from being appropriated
by a project by setting a ridiculous big timeout (e.g. one week).
When not configured, Runner will not override project timeout.
How this feature will work:
**Example 1 - Runner timeout bigger than project timeout**
1.
You set the _maximum job timeout_ for a Runner to 24 hours
1.
You set the _CI/CD Timeout_ for a project to
**2 hours**
1.
You start a job
1.
The job, if running longer, will be timeouted after
**2 hours**
**Example 2 - Runner timeout not configured**
1.
You remove the _maximum job timeout_ configuration from a Runner
1.
You set the _CI/CD Timeout_ for a project to
**2 hours**
1.
You start a job
1.
The job, if running longer, will be timeouted after
**2 hours**
**Example 3 - Runner timeout smaller than project timeout**
1.
You set the _maximum job timeout_ for a Runner to
**30 minutes**
1.
You set the _CI/CD Timeout_ for a project to 2 hours
1.
You start a job
1.
The job, if running longer, will be timeouted after
**30 minutes**
### Be careful with sensitive information
With some
[
Runner Executors
](
https://docs.gitlab.com/runner/executors/README.html
)
,
...
...
@@ -259,12 +291,6 @@ Mentioned briefly earlier, but the following things of Runners can be exploited.
We're always looking for contributions that can mitigate these
[
Security Considerations
](
https://docs.gitlab.com/runner/security/
)
.
[
install
]:
http://docs.gitlab.com/runner/install/
[
fifo
]:
https://en.wikipedia.org/wiki/FIFO_(computing_and_electronics)
[
register
]:
http://docs.gitlab.com/runner/register/
[
protected branches
]:
../../user/project/protected_branches.md
[
protected tags
]:
../../user/project/protected_tags.md
## Determining the IP address of a Runner
> [Introduced](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/17286) in GitLab 10.6.
...
...
@@ -297,3 +323,10 @@ You can find the IP address of a Runner for a specific project by:
1.
On the details page you should see a row for "IP Address"
![
specific Runner IP address
](
img/specific_runner_ip_address.png
)
[
install
]:
http://docs.gitlab.com/runner/install/
[
fifo
]:
https://en.wikipedia.org/wiki/FIFO_(computing_and_electronics)
[
register
]:
http://docs.gitlab.com/runner/register/
[
protected branches
]:
../../user/project/protected_branches.md
[
protected tags
]:
../../user/project/protected_tags.md
[
project defined timeout
]:
../../user/project/pipelines/settings.html#timeout
doc/ci/runners/img/shared_runners_admin.png
View replaced file @
78a4189e
View file @
42d2551d
28.5 KB
|
W:
|
H:
85.4 KB
|
W:
|
H:
2-up
Swipe
Onion skin
doc/user/project/pipelines/settings.md
View file @
42d2551d
...
...
@@ -27,6 +27,13 @@ The default value is 60 minutes. Decrease the time limit if you want to impose
a hard limit on your jobs' running time or increase it otherwise. In any case,
if the job surpasses the threshold, it is marked as failed.
### Timeout overriding on Runner level
> - [Introduced][ce-17221] in GitLab 10.6.
Project defined timeout (either specific timeout set by user or the default
60 minutes timeout) may be
[
overridden on Runner level
][
timeout overriding
]
.
## Custom CI config path
> - [Introduced][ce-12509] in GitLab 9.4.
...
...
@@ -152,5 +159,7 @@ into your `README.md`:
[
var
]:
../../../ci/yaml/README.md#git-strategy
[
coverage report
]:
#test-coverage-parsing
[
timeout overriding
]:
../../../ci/runners/README.html#setting-maximum-job-timeout-for-a-runner
[
ce-9362
]:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9362
[
ce-12509
]:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/12509
[
ce-17221
]:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/17221
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment