summaryrefslogtreecommitdiff
path: root/lib/api/commit_statuses.rb
Commit message (Collapse)AuthorAgeFilesLines
* Introduce source to pipeline entitytrigger-sourceKamil Trzcinski2017-05-311-1/+8
|
* Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced ↵Rémy Coutable2017-03-161-3/+4
| | | | | | API routes Signed-off-by: Rémy Coutable <remy@rymai.me>
* Fix updaing commit status with optional attributesGrzegorz Bizon2017-03-011-4/+5
| | | | | Passing different optional attributes in case of updating an existing commit status should not create a new commit status with the same name.
* Enable Style/WordArrayDouwe Maan2017-02-231-1/+1
|
* Make it possible to pass coverage value to commit status APIwendy04022017-02-141-1/+3
|
* Respond with validation errors in commit status APIfix/external-status-badge-linksGrzegorz Bizon2017-01-181-0/+2
| | | | | | If validation errors are present, include validation errors in the commit status API payload, instead of depending on state machine errors caused by invalid record.
* Use the pagination helper in the APIuse-pagination-helperRobert Schilling2016-12-041-1/+3
|
* Don't convert data which already is the target typeapi-no-convertRobert Schilling2016-11-241-1/+1
|
* Don't use Hash#slice since it's not supported in Ruby 2.1fix-ruby-2-1-failuresRémy Coutable2016-10-201-3/+8
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Grapify the commit status APIgrapify-commit-statuses-apiRobert Schilling2016-10-191-26/+27
|
* Fix an error where we were unable to create a CommitStatus for running statefix-commit-statusKamil Trzcinski2016-09-121-26/+28
|
* Reverse ref and sha in args and rename pipeline to pipeline_forLin Jen-Shin2016-08-111-1/+1
|
* Replace parse_boolean with to_booleanRobert Schilling2016-07-201-1/+1
|
* Track a user who created a pipelineKamil Trzcinski2016-07-151-1/+1
|
* Rename all ci_commit[s] in application code to pipeline[s]Kamil Trzcinski2016-06-031-5/+5
|
* Fix other places where we still use commit attribute of BuildKamil Trzcinski2016-06-031-3/+3
|
* Use pipelines in context of ProjectKamil Trzcinski2016-06-031-2/+2
|
* Rename Ci::Commit to Ci::Pipeline and rename some of the ci_commit to pipelineKamil Trzcinski2016-06-021-1/+1
|
* Fix a few places where autoloading would failRémy Coutable2016-05-101-1/+1
| | | | | | | | | | | - Fix naming of API::CommitStatuses - Ensure we use require_dependency instead of require - Ensure the namespace is right in lib/api/api.rb, otherwise, we might require Grape::API::Helpers which defines the `#params` method. This is to avoid requiring a file multiple times and getting an "Already initialized constant" error. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Write specs for this featureKamil Trzcinski2016-04-161-6/+13
|
* Fix specsKamil Trzcinski2016-04-111-4/+10
|
* Use Ci::Commit as PipelineKamil Trzcinski2016-04-111-1/+1
|
* Check if commit exists first in commit status APIGrzegorz Bizon2016-03-011-1/+1
|
* Return empty array when commit has no statuses in APIGrzegorz Bizon2016-02-291-4/+6
| | | | | | | This makes API endpoint for Commit Statuses return empty array instead of 404 when commit exists, but has no statuses. Closes #3080
* Make the CI permission model simplerKamil Trzcinski2016-02-021-1/+1
| | | | | | | | | | | | | This MR simplifies CI permission model: - read_build: allows to read a list of builds, artifacts and trace - update_build: allows to cancel and retry builds - create_build: allows to create builds from gitlab-ci.yml (not yet implemented) - admin_build: allows to manage triggers, runners and variables - read_commit_status: allows to read a list of commit statuses (including the overall of builds) - create_commit_status: allows to create a new commit status using API Remove all extra methods to manage permission. Made all controllers to use explicitly the new permissions.
* Migrate CI::Project to ProjectKamil Trzcinski2015-12-111-1/+1
|
* Fix broken testsKamil Trzcinski2015-10-121-1/+1
|
* Update renderingKamil Trzcinski2015-10-121-1/+1
|
* Small bug fixesKamil Trzcinski2015-10-121-2/+3
|
* Add Commit Status documentationKamil Trzcinski2015-10-121-10/+10
|
* Add author to statusesKamil Trzcinski2015-10-121-1/+1
|
* Fix commit status POST URLKamil Trzcinski2015-10-121-1/+1
|
* Implement Commit Status APIKamil Trzcinski2015-10-121-0/+79