-
- Downloads
Add pipeline.type key to PipelineEntity
This commit adds pipeline.type key to PipelineEntity. This key will be used in MR widget in the next iteration.
Showing
- app/models/ci/pipeline.rb 23 additions, 0 deletionsapp/models/ci/pipeline.rb
- app/models/merge_request.rb 4 additions, 0 deletionsapp/models/merge_request.rb
- app/presenters/ci/pipeline_presenter.rb 12 additions, 0 deletionsapp/presenters/ci/pipeline_presenter.rb
- app/serializers/pipeline_entity.rb 12 additions, 4 deletionsapp/serializers/pipeline_entity.rb
- locale/gitlab.pot 9 additions, 0 deletionslocale/gitlab.pot
- spec/fixtures/api/schemas/pipeline.json 8 additions, 0 deletionsspec/fixtures/api/schemas/pipeline.json
- spec/models/ci/pipeline_spec.rb 63 additions, 1 deletionspec/models/ci/pipeline_spec.rb
- spec/models/merge_request_spec.rb 34 additions, 0 deletionsspec/models/merge_request_spec.rb
- spec/presenters/ci/pipeline_presenter_spec.rb 34 additions, 0 deletionsspec/presenters/ci/pipeline_presenter_spec.rb
- spec/serializers/pipeline_entity_spec.rb 5 additions, 1 deletionspec/serializers/pipeline_entity_spec.rb
Please register or sign in to comment