gitlab-org--gitlab-foss/lib/api
Kamil Trzciński d240666800 Merge branch 'ci-commit-as-pipeline' into 'master'
Ci::Commit becomes a Pipeline object

1. Ci::Commit receives context: ref, :tag.
1. One Ci::Commit describes a one Pipeline
1. Pipeline is created from `.gitlab-ci.yml`
1. Pipeline is a ordered group of builds
1. We test MR against Pipeline
1. Pipelines have a separate view (https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3703)
1. Pipeline can be triggered from UI (https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3703)
1. Later we change `Trigger -> TriggerRequest -> Build` to `Trigger -> Pipeline` (future)
1. We add a Pipeline Hook that will be triggered on Pipeline status change  (future)
1. We extend notifications to use `Pipeline Hook` to send summary on pipeline changes (future)

After merging that I'll prepare a separate MR that will unify naming, database columns, table names:
```
Ci::Commit -> Pipeline
Ci::Build -> Build
CommitStatus -> Job
GenericCommitStatus -> ExternalJob

ci_commits -> pipelines
ci_builds -> jobs
```

This MR implements first 5 points.

This is made to solve this issue https://gitlab.com/gitlab-org/gitlab-ce/issues/14149.

See merge request !3653
2016-04-21 08:10:37 +00:00
..
api.rb Initial implementation if license template selector and /licenses/:key API endpoint 2016-04-18 14:47:50 +02:00
api_guard.rb Fix documentation and improve permissions code 2016-04-18 11:12:28 -03:00
branches.rb Changed the argument of not_found for 'unprotect' 2016-04-06 15:07:31 +05:30
builds.rb Fix API implementation 2016-02-19 18:30:43 +01:00
commit_statuses.rb Write specs for this feature 2016-04-16 22:43:40 +02:00
commits.rb Use Gitlab::Git::DiffCollections 2016-03-03 18:38:44 +01:00
deploy_keys.rb
entities.rb Rename License entity to RepoLicense to avoid conflict with EE 2016-04-19 11:08:48 +02:00
files.rb WIP lazy blobs 2016-02-01 10:41:52 +01:00
group_members.rb
groups.rb Fix minor issues according development guidelines 2016-04-12 19:08:35 +02:00
helpers.rb Merge branch 'api-star-project' into 'master' 2016-04-13 15:05:21 +00:00
internal.rb Fix setting of "action" for Grape transactions 2016-04-20 22:42:52 +02:00
issues.rb Allow back dating issues on update 2016-04-13 12:04:09 -05:00
keys.rb Add API method for get user by ID of an SSH key 2015-09-03 15:47:22 +03:00
labels.rb api - expose label description 2016-03-24 18:44:52 +00:00
licenses.rb Rename License entity to RepoLicense to avoid conflict with EE 2016-04-19 11:08:48 +02:00
merge_requests.rb Make subscription API more RESTful 2016-04-13 13:52:13 +02:00
milestones.rb API: Add iid filter to milestones 2016-04-12 12:37:16 +02:00
namespaces.rb Make namespace API available to all users 2015-05-28 11:39:12 -07:00
notes.rb Allow back dating notes on creation 2016-04-13 12:04:09 -05:00
project_hooks.rb Migrate CI::Services and CI::WebHooks to Services and WebHooks 2015-12-10 16:04:08 +01:00
project_members.rb Allow a project member to leave the projected through the API 2016-04-12 14:30:42 +02:00
project_snippets.rb Rename abilities to correspond contoller/model action names 2015-06-26 15:55:56 +02:00
projects.rb Styling changes to code and docs 2016-04-13 16:25:24 +02:00
repositories.rb Move RepositoryArchiveCacheWorker to sidekiq-cron 2016-04-12 11:12:05 -04:00
runners.rb Move :runner_id param to POST body when enabling specific runner in project 2016-02-19 13:18:48 +01:00
services.rb Hide passwords to non-admin users in the services API 2015-10-12 15:24:00 +02:00
session.rb
settings.rb Add tests and improve logic 2015-07-06 16:47:19 +02:00
system_hooks.rb Added X-GitLab-Event header for web hooks 2015-05-08 16:49:03 +03:00
tags.rb API: Present an array of Gitlab::Git::Tag instead of array of rugged tags 2016-04-17 11:03:10 +02:00
triggers.rb Make the CI permission model simpler 2016-02-02 09:18:08 +01:00
users.rb Add changelog entry 2016-04-18 11:12:28 -03:00
variables.rb Make the CI permission model simpler 2016-02-02 09:18:08 +01:00