summaryrefslogtreecommitdiff
path: root/lib/api
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix testsDmitriy Zaporozhets2014-11-051-1/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Refactor commits/builds logicDmitriy Zaporozhets2014-11-051-2/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add Commits APIDmitriy Zaporozhets2014-11-054-2/+82
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix testsDmitriy Zaporozhets2014-11-041-0/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Commit creates multiple builds nowDmitriy Zaporozhets2014-11-031-1/+4
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge branch 'enhancement/separate-commits-from-builds' of ↵Dmitriy Zaporozhets2014-10-311-3/+6
|\ | | | | | | | | | | | | | | | | | | | | | | https://gitlab.com/kestred/gitlab-ci into kestred/gitlab-ci-enhancement/separate-commits-from-builds Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: CHANGELOG app/models/build.rb app/services/create_build_service.rb db/schema.rb
| * Separate Commit model and logic from Build model|etc...Kestred2014-08-231-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an entirely non-user facing change which prepares GitLab CI for future support of Parallel Builds. See https://about.gitlab.com/2013/12/19/gitlab-ci-with-parallel-builds-and-deployments/. These changes specifically avoid changing the supported API or changing any of the website views. Changes to the website views will come in tandem with future features like "Multiple build scripts". The supported API won't change as part of any future changes on this vein, to maintain support for the unofficial GitLab CI runners. This closes the following implementation step: 1. A commit has many builds Signed-off-by: Kestred <kestred@riotcave.com>
* | Add pagination to project APIKevin Houdebert2014-09-071-2/+6
|/
* Remove added file and rename runners token constant to registration token.Sytse Sijbrandij2014-06-131-1/+1
|
* Remove public key from runner modelDmitriy Zaporozhets2014-05-061-3/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge branch 'upgrader' into 'master'Dmitriy Zaporozhets2014-01-301-1/+1
|\ | | | | | | Feature: Upgrade script
| * Uppercase constantsDmitriy Zaporozhets2014-01-301-1/+1
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Merge branch 'fix/deprecations' of github.com:pgolm/gitlab-ci into ↵Dmitriy Zaporozhets2014-01-302-3/+3
|\ \ | |/ |/| | | | | | | | | | | | | pgolm-fix/deprecations Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: config/initializers/secret_token.rb
| * fix deprections warningsPeter Golm2014-01-092-3/+3
| |
* | CreateBuildService for build creation and more validation to build modelDmitriy Zaporozhets2014-01-291-1/+1
|/ | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* expose project namegdunkle2013-10-291-1/+1
|
* API: create buildDmitriy Zaporozhets2013-10-292-4/+50
|
* Assign runner id to build at start. Allow update only of running buildsDmitriy Zaporozhets2013-10-241-2/+4
|
* Runner is shared between all projects now unless it is assigned to any of themDmitriy Zaporozhets2013-10-241-2/+5
|
* Allow selecting git fetch or git clone for builds. Send build timeout with APIDmitriy Zaporozhets2013-10-231-1/+1
|
* Extending Runners API to include GET /runners callAngelo Lakra2013-10-141-1/+18
| | | | | * The GET /runners call retrieves a list of all runners registered on the Gitlab CI instance.
* Adding further documentation and corrections on builds and runnersAngelo Lakra2013-10-093-13/+14
|
* Added passing specs for remainder of projects APIAngelo Lakra2013-10-081-30/+28
|
* Adding user access checking per projectAngelo Lakra2013-10-081-8/+30
| | | | | | | | * Made :per_page and :page on Project.from_gitlab optional for API calls * Added call to retrieve Gitlab CI projects that are not only authorized, but "owned"
* Adding Project manipulation support via APIAngelo Lakra2013-10-082-1/+125
| | | | | | | | | | | * The following actions are now supported: GET /projects/:id - returns information about a project GET /projects - returns list of all projects PUT /projects/:id - updates project information (see docs for more info) DELETE /projects/:id - removes a project POST /projects/:id/runners/:runner_id - links a project to a runner DELETE /projects/:id/runners/:runner_id - removes link between project and runner
* Adding POST /projects (for creation) and several rspec unit stubs forAngelo Lakra2013-10-081-0/+25
| | | | projects api
* Adding specs for Project API end pointsAngelo Lakra2013-10-081-1/+1
|
* Implementing method for authentication via tokenAngelo Lakra2013-10-084-0/+41
|
* adding before commit to available info for build.Nick Huanca2013-09-031-1/+1
| | | adding before commit to available info for build. will help with diff for using like post-receive hook (oldrev / newrev)
* You should add runners to project. WHen runner added -> deploy key for ↵Dmitriy Zaporozhets2013-06-032-6/+8
| | | | runner added to gitlab project
* Runner resource. Now only registered runners can use gitlab-ciDmitriy Zaporozhets2013-05-315-38/+43
|
* Remove repo reading logic from project. GitLab CI does not store repos any moreDmitriy Zaporozhets2013-05-311-1/+1
|
* Remove runner functionality. Added api for buildsDmitriy Zaporozhets2013-05-304-0/+184