diff options
author | Tomasz Maczukin <tomasz@maczukin.pl> | 2018-02-19 17:21:00 +0100 |
---|---|---|
committer | Tomasz Maczukin <tomasz@maczukin.pl> | 2018-03-28 13:55:46 +0200 |
commit | 7b82f4bab1661d7f7e7cb044730c977329275240 (patch) | |
tree | 9ef9ed1c20b2e1391e2f5446ae9800446528f557 /doc | |
parent | fb0dec4e00f1efd637692982ba031f479103cc35 (diff) | |
download | gitlab-ce-7b82f4bab1661d7f7e7cb044730c977329275240.tar.gz |
Add support for job_upper_timeout in API
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/runners.md | 7 |
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 } ``` |