Commit graph

21 commits

Author SHA1 Message Date
Shinya Maeda
a04e1d5e32 Backport EE change
This is for merge request pipelines
2019-04-02 15:55:06 +07:00
Shinya Maeda
aee119c0cd Update pipeline detail view to accommodate post-merge pipelines
Commit changes

Add spec

Add changelog

fix

fix

Fix

Fix spec

Finish spec

ok

nice

ok

ok

ok

fix
2019-03-19 23:19:27 +07:00
Shinya Maeda
05c0377008 Add attached flag to pipeline entity
Add spec

Fix

Fix

Add changelog

Drop attached

Remove attached

Update changelog

ok
2019-03-13 21:36:27 +07:00
Shinya Maeda
b913169d88 Make all_pipelines method compatible with pipelines for merge requests
Make it sane

Include merge ref head

Fix union

Improve a bit

Add spec

remove

add spec

Add changelog

fix coding offence

Apply suggestion to spec/models/merge_request_spec.rb

ok

ok

Fix

Fix spec

Fix spec

fix

Simplify the things

Memoize

OK

a
2019-03-13 19:26:38 +07:00
Shinya Maeda
50776d2d29 Expose merge request entity for pipelines
Add preload

Fix

ok

Write tests

test only postgresql

ok

add more test
;

Improve wording

Add changelog

Fix
2019-03-06 16:30:35 +07:00
Scott Hampton
a611eab942 Resolve "Include tags into pipeline detail view" 2018-12-05 21:36:18 +00:00
Yorick Peterse
878ca2e69b
Exclude coverage data from the pipelines page
When displaying a project's pipelines
(Projects::PipelinesController#index) we now exclude the coverage data.
This data was not used by the frontend, yet getting it would require one
SQL query per pipeline. These queries in turn could be quite expensive
on GitLab.com.
2018-05-17 13:53:00 +02:00
Mayra Cabrera
d54cf868f8 Resolve "Show failure_reason and upgrade tooltips of jobs" 2018-04-05 21:04:42 +00:00
Grzegorz Bizon
123da5fbe8 Improve specs for pipeline failure reason presenter
Conflicts:
	app/presenters/ci/pipeline_presenter.rb
2017-10-05 11:41:16 +02:00
Zeger-Jan van de Weg
35b9213cd7
Add config_source to ci_pipelines
Given the user can soon have multiple config sources for CI, we now store
what type at the time of the pipeline run we chose. This will give us
insight into what triggered the new pipeline so we can display it to the
enduser.
2017-08-31 22:25:26 +02:00
Robert Speicher
72a7b30c9f Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
Lin Jen-Shin
7bd5e57125 Instead of adding master, stub_not_protect_default_branch 2017-07-18 23:48:14 +08:00
Lin Jen-Shin
28553dbc05 Update tests due to permission changes 2017-07-04 21:56:41 +08:00
Robert Speicher
a6ec5121f0 Correct RSpec/SingleLineHook cop offenses 2017-06-14 13:18:56 -05:00
Z.J. van de Weg
6c87239653 Merge remote-tracking branch 'origin/master' into zj-job-view-goes-real-time 2017-06-01 15:54:58 +02:00
Z.J. van de Weg
68569584b7 Create PipelineDetailsEntity
Now we have a PipelineEntity which is a bit smaller, mostly in bytes
needing to send to the frontend. PipelineDetailsEntity is the default
for the PipelineSerializer, limiting the changes needed.

This commit also incorporates the review.
2017-05-31 21:44:53 +02:00
Kamil Trzcinski
161af17c1b Introduce source to pipeline entity 2017-05-31 14:17:49 +02:00
Fatih Acet
0151325dac Merge request widget redesign 2017-05-09 04:15:34 +00:00
Shinya Maeda
617292046c Add spec for entity and serializer 2017-03-23 17:11:49 +09:00
Grzegorz Bizon
1f314195ea Do not generate pipeline ref path if ref not present 2017-01-20 12:44:31 +01:00
Grzegorz Bizon
c8b16068be Add specs for pipeline entity and improve factory
[ci skip]
2016-12-21 14:26:47 +01:00