-
- Downloads
Merge branch 'store-variables-and-when-in-builds-table' into 'master'
Store when and yaml variables in builds table ## What does this MR do? Stores `when` and `yaml_variables` in `ci_builds` table. ## Why was this MR needed? This is done in order to simplify the code responsible for creating a pipeline builds. ## What are the relevant issue numbers? This made as a pre-step for https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5295. ## Does this MR meet the acceptance criteria? - [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added - [x] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md) - [x] API support added - Tests - [x] Added for this feature/bug - [x] All builds are passing - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [x] Branch has no merge conflicts with `master` (if you do - rebase it please) - [ ] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) See merge request !5296
No related branches found
No related tags found
Showing
- CHANGELOG 1 addition, 0 deletionsCHANGELOG
- app/models/ci/build.rb 9 additions, 25 deletionsapp/models/ci/build.rb
- app/services/ci/create_builds_service.rb 3 additions, 1 deletionapp/services/ci/create_builds_service.rb
- db/migrate/20160716115710_add_when_and_yaml_variables_to_ci_builds.rb 8 additions, 0 deletions...0160716115710_add_when_and_yaml_variables_to_ci_builds.rb
- db/schema.rb 3 additions, 1 deletiondb/schema.rb
- lib/ci/gitlab_ci_yaml_processor.rb 38 additions, 15 deletionslib/ci/gitlab_ci_yaml_processor.rb
- spec/factories/ci/builds.rb 5 additions, 0 deletionsspec/factories/ci/builds.rb
- spec/lib/ci/gitlab_ci_yaml_processor_spec.rb 83 additions, 66 deletionsspec/lib/ci/gitlab_ci_yaml_processor_spec.rb
- spec/models/build_spec.rb 1 addition, 17 deletionsspec/models/build_spec.rb
Loading
Please register or sign in to comment