summaryrefslogtreecommitdiff
path: root/lib/ci/api
Commit message (Collapse)AuthorAgeFilesLines
* Remove CI API v1Zeger-Jan van de Weg2017-08-186-529/+0
| | | | | | This API was mainly for internal usage, and has been moved to the general API: APIv4. The endpoints have been deprecated since 9.0, and won't see 10.0. :)
* Rename many path_with_namespace -> full_pathGabriel Mazetto2017-08-011-2/+2
|
* Merge branch '30634-protected-pipeline' into 'master'Kamil Trzciński2017-07-251-5/+6
|\ | | | | | | | | | | | | Implement "Block pipelines on protected branches" Closes #30634, #34616, and #33130 See merge request !11910
| * Use struct instead of hashLin Jen-Shin2017-07-201-2/+2
| |
| * Use hash to return multiple objectsLin Jen-Shin2017-07-201-3/+3
| |
| * Merge remote-tracking branch 'upstream/master' into 30634-protected-pipelineLin Jen-Shin2017-06-292-2/+17
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/master: (1168 commits) Job details won't scroll horizontally to show long lines Bring back branches badge to main project page Limit OpenGraph image size to 64x64 Improve changelog Split up MergeRequestsController Add parent_id back to the tests Make changelog more descriptive Improve tests text Rename members_count to members_count_with_descendants and expose only to group admins Fix a bug where an invalid sort param value was passed to Gitaly Drop default ORDER scope when calling a find method on a Sortable model Add tests for project import state transition: [:started] => [:finished] Add CHANGELOG Perform housekeeping only when an import of a fresh project is completed Strip trailing whitespace in relative submodule URL Adjust projects spec on namespace fields Add "members_count" and "parent_id" data on namespaces API Removes redundant pending delete checks Fix gitaly ref encoding bugs Add ProjectWiki#ensure_repository ...
| * | Try to report why it's failing and fix testsLin Jen-Shin2017-06-061-3/+4
| | |
* | | Fix support for old CI API when image or services are not specifiedfix-old-ci-apiKamil Trzcinski2017-07-221-1/+1
| |/ |/|
* | Fix current feature related specsTiago Botelho2017-06-281-1/+2
| |
* | Refactor old formad handling in lib/ci/api/entities.rbTomasz Maczukin2017-06-121-6/+2
| |
* | Ensure that old API v1 generates still the same outputTomasz Maczukin2017-06-121-1/+19
|/
* Enable the Style/PreferredHashMethods coprc/enable-PreferredHashMethods-copRémy Coutable2017-06-021-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Add missing specsKamil Trzcinski2017-06-011-4/+4
|
* Fix data inconsistency issue for old artifacts by moving them to a currently ↵Kamil Trzcinski2017-06-011-1/+1
| | | | used path
* Optimise trace handling code to use streaming instead of full readKamil Trzciński2017-04-061-7/+5
|
* Backport API changes needed to fix sticking in EEbackport-sticking-api-helper-changesYorick Peterse2017-03-312-11/+10
| | | | | | 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.
* Fix regression in runners registration v1 apifix/regression-in-runners-registration-v1-apiTomasz Maczukin2017-03-131-2/+2
|
* Refactor JobRequest response structureTomasz Maczukin2017-03-021-1/+1
|
* Backport new behavior to CI APIRobert Schilling2017-02-282-0/+3
|
* Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2017-02-243-56/+37
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 27762-add-default-artifacts-expiration * upstream/master: (247 commits) Switched CONTRIBUTING.md style guide recommendation for method chaining Fix new offenses Stylistic tweaks Fix OAuth/SAML user blocking behavior Revert "Enable Style/DotPosition" Revert "Prefer leading style for Style/DotPosition" Revert "Enable Style/BarePercentLiterals" Manually correct autocorrect Move up delegate calls Exclude migrations from Style/MutableConstant ActiveSupport delegation is preferred over Forwardable Update haml_lint to work with newest rubocop Add explanations to cops Update rubocop and rubocop-rspec and regenerate .rubocop_todo.yml Update rubocop and rubocop-rspec and regenerate .rubocop_todo.yml Order cops alphabetically Don’t exclude some file in lib from rubocop Fix new offenses Enable Rails/Delegate Enable Style/WordArray ...
| * Enable Style/WordArrayDouwe Maan2017-02-231-1/+1
| |
| * Enable Performance/RedundantMatchDouwe Maan2017-02-231-1/+1
| |
| * Enable Style/MutableConstantDouwe Maan2017-02-231-1/+1
| |
| * Merge branch 'grapify-ci-runners-api' into 'master' Rémy Coutable2017-02-221-26/+18
| |\ | | | | | | | | | | | | Grapify the CI::Runners API See merge request !9440
| | * Grapify the CI::Runners APIgrapify-ci-runners-apiRobert Schilling2017-02-221-26/+18
| | |
| * | Grapfiy the CI::Triggers APIgrapify-ci-triggers-apiRobert Schilling2017-02-221-27/+16
| |/
* | rubocop: Align the operands of an expressionLin Jen-Shin2017-02-151-2/+2
| | | | | | | | | | | | C: Style/MultilineOperationIndentation: Align the operands of an expression in an assignment spanning multiple lines.
* | Use the same syntax for default expirationLin Jen-Shin2017-02-151-1/+4
| | | | | | | | | | | | | | | | Feedback: * https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9219#note_23343951 * https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9219#note_23344036 * https://gitlab.com/gitlab-org/gitlab-ce/issues/27762#note_23344797
* | Initial implementation for default artifacts expirationLin Jen-Shin2017-02-151-1/+1
|/ | | | TODO: Add tests and screenshots
* Return struct instead of multiple valuesKamil Trzcinski2017-01-251-5/+5
|
* Fix specsKamil Trzcinski2017-01-251-0/+1
|
* Fix picking CI buildsKamil Trzcinski2017-01-251-9/+15
| | | | | The conflict happens when we try to update a build, but fail to do so due to fact that we update the same build concurrently for two different runners.
* Remove unneeded code and fix offensesbackport-ee-changes-for-build-minutesKamil Trzcinski2017-01-251-1/+1
|
* Backport changes introduced by ↵Kamil Trzcinski2017-01-201-2/+2
| | | | https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/1083
* Merge remote-tracking branch 'origin/master' into 21698-redis-runner-last-buildKamil Trzcinski2017-01-193-16/+30
|\
| * Don't instrument 405 Grape calls26051-fix-missing-endpoint-route-methodRémy Coutable2017-01-091-0/+10
| | | | | | | | | | | | Fixes #26051. Signed-off-by: Rémy Coutable <remy@rymai.me>
| * Ensure nil User-Agent doesn't break the CI APIRémy Coutable2016-12-211-1/+1
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
| * Use a block to insert extra check for authenticate_build!fix-forbidden-for-build-api-for-deleted-projectLin Jen-Shin2016-12-201-3/+6
| | | | | | | | | | Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8091#note_20253762
| * Prefer unless over if notLin Jen-Shin2016-12-191-1/+1
| | | | | | | | | | Feedback: https://gitlab.com/gitlab-org/gitlab-ce/builds/7606797
| * Use a separate method to skip validationLin Jen-Shin2016-12-192-3/+8
| | | | | | | | | | Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8091#note_20222666
| * Give forbidden if project for the build was deletedLin Jen-Shin2016-12-152-15/+11
| | | | | | | | Closes #25309
* | WIP: Add tests and make sure that headers are set21698-redis-runner-last-buildLin Jen-Shin2017-01-041-2/+2
| | | | | | | | | | | | | | | | | | | | * We realized that headers were not set whenever we give 204 because `render_api_error!` doesn't preserve the headers. * We also realized that `update_runner_info` would be called in POST /builds/register every time therefore runner is updated every time, ticking the queue, making this last_update didn't work very well, and the test would be failing due to that.
* | Do things in the correct orderKim "BKC" Carlbäcker2016-12-161-1/+2
| |
* | #NamingThingsKim "BKC" Carlbäcker2016-12-161-8/+4
| |
* | Move redis-logic into Ci::RunnerKim "BKC" Carlbäcker2016-12-152-12/+3
| |
* | lintingKim "BKC" Carlbäcker2016-12-151-2/+2
| |
* | typo-oKim "BKC" Carlbäcker2016-12-141-1/+1
| |
* | Add BuildQueueWorker for injecting redis-keysKim "BKC" Carlbäcker2016-12-141-0/+1
| |
* | First attemptKim "BKC" Carlbäcker2016-12-142-0/+20
|/
* Send credentials array with build dataTomasz Maczukin2016-11-211-3/+5
|