gitlab-org--gitlab-foss/lib/ci
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 Fix Build#append_trace method usage when trace file doesn't exists yet 2016-04-20 11:54:06 +02:00
assets Groundwork for merging CI into CE 2015-08-25 18:42:46 -07:00
ansi2html.rb Groundwork for merging CI into CE 2015-08-25 18:42:46 -07:00
charts.rb Remove ci_ prefix from all ci related things 2015-12-11 18:02:09 +01:00
gitlab_ci_yaml_processor.rb Make rubocop happy 2016-04-18 15:19:24 -04:00
model.rb Groundwork for merging CI into CE 2015-08-25 18:42:46 -07:00
static_model.rb Groundwork for merging CI into CE 2015-08-25 18:42:46 -07:00
version_info.rb Groundwork for merging CI into CE 2015-08-25 18:42:46 -07:00