Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-07-20Update grape gemDmitriy Zaporozhets
New version of the gem returns 200 status code on delete with content instead of 204 so we explicitly set status code to keep existing behavior Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2017-06-02Enable the Style/PreferredHashMethods copRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-06-01Add missing specsKamil Trzcinski
2017-06-01Fix data inconsistency issue for old artifacts by moving them to a currently ↵Kamil Trzcinski
used path
2017-04-06Optimise trace handling code to use streaming instead of full readKamil Trzciński
2017-03-31Backport API changes needed to fix sticking in EEYorick Peterse
These changes are ported over from https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/1502 to reduce the number of merge conflicts that may occur.
2017-03-20Remove legacy Runners support in /api/v4/jobs/requestTomasz Maczukin
In Runner v1.3.0 we've started to send User-Agent header with Runner's version data. Since GitLab v8.12.0 we've started to use this header to check if used Runner's version supports 204 status code instead of 404 as a response when there is no jobs to execute by a Runner. In APIv4 (introduced in GitLab 9.0.0) will require Runner v9.0.0. And writing more accurately: GitLab Runner v9.0.0 will require GitLab at least 9.0.0. Because of such breaking change we are able to switch entirely to 204 response code and there is no need to do check of User-Agent. This commit removes useless code and complexity.
2017-03-20Make runner's veryfication working againTomasz Maczukin
In APIv1 we were using UpdateJob to verify if the runner exists. It was the only method that was using Runner's token and used in special way had no side effects (like scheduling a new job or unregisterring a Runner). In APIv4 we've change UpdateJob to use job's token as authentication credentials, and that way we've removed the only endpoint that could be used to verify if the Runner with a certain token exists in target GitLab installation. This commit adds `POST /api/v4/runners/verify` endpoint whose only responsibility is to respond if Runner with posted credentials exists or not.
2017-03-07Add minor refactoringTomasz Maczukin
2017-03-02Add some fixes and refactoring after reviewTomasz Maczukin
2017-03-02Fix rubocop offensesTomasz Maczukin
2017-03-02Add artifacts downloading APITomasz Maczukin
2017-03-02Add artifacts uploading APITomasz Maczukin
2017-03-02Add artifacts uploading authorize APITomasz Maczukin
2017-03-02Add job patch trace APITomasz Maczukin
2017-03-02Add job update APITomasz Maczukin
2017-03-02Add missing param description for POST /api/v4/jobs/requestTomasz Maczukin
2017-03-02Refactor JobRequest response structureTomasz Maczukin
2017-03-02Add jobs requesting APITomasz Maczukin
2017-02-28New runner API returns 204Robert Schilling
2017-02-16Rename API::Ci to API::RunnerTomasz Maczukin