summaryrefslogtreecommitdiff
path: root/doc/api/runners.md
diff options
context:
space:
mode:
authorTomasz Maczukin <tomasz@maczukin.pl>2018-02-19 17:21:00 +0100
committerTomasz Maczukin <tomasz@maczukin.pl>2018-03-28 13:55:46 +0200
commit7b82f4bab1661d7f7e7cb044730c977329275240 (patch)
tree9ef9ed1c20b2e1391e2f5446ae9800446528f557 /doc/api/runners.md
parentfb0dec4e00f1efd637692982ba031f479103cc35 (diff)
downloadgitlab-ce-7b82f4bab1661d7f7e7cb044730c977329275240.tar.gz
Add support for job_upper_timeout in API
Diffstat (limited to 'doc/api/runners.md')
-rw-r--r--doc/api/runners.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/api/runners.md b/doc/api/runners.md
index 7495c6cdedb..4c6fc029a66 100644
--- a/doc/api/runners.md
+++ b/doc/api/runners.md
@@ -153,7 +153,8 @@ Example response:
"mysql"
],
"version": null,
- "access_level": "ref_protected"
+ "access_level": "ref_protected",
+ "job_upper_timeout": 3600
}
```
@@ -174,6 +175,7 @@ PUT /runners/:id
| `run_untagged` | boolean | no | Flag indicating the runner can execute untagged jobs |
| `locked` | boolean | no | Flag indicating the runner is locked |
| `access_level` | string | no | The access_level of the runner; `not_protected` or `ref_protected` |
+| `job_upper_timeout` | integer | no | Upper timeout set when this Runner will handle the job |
```
curl --request PUT --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v4/runners/6" --form "description=test-1-20150125-test" --form "tag_list=ruby,mysql,tag1,tag2"
@@ -211,7 +213,8 @@ Example response:
"tag2"
],
"version": null,
- "access_level": "ref_protected"
+ "access_level": "ref_protected",
+ "job_upper_timeout": null
}
```