Skip to content
Snippets Groups Projects

Add pipeline graph

Merged Annabel Dunstone Gray requested to merge 18141-pipeline-graph into master

What does this MR do?

Adds pipeline visualization

What are the relevant issue numbers?

Closes #18141 (closed)
Part of #19982 (closed)

Screenshots (if relevant)

Screen_Shot_2016-08-16_at_7.59.52_PM Screen_Shot_2016-08-16_at_7.55.49_PM

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
97 97 end
98 98
99 99 def playable?
100 project.builds_enabled? && commands.present? && manual?
100 project.builds_enabled? && commands.present? && manual? && skipped?
  • Is this change related to this MR? Shouldn't we have a separate MR for that?

  • Playable should be only actions that are skipped. Since this is when you can run this manual action (change the state from skipped to pending).

    I'm think that we should introduce a additional status for playable actions.

    Up till now I wanted to reduce number of statuses that we use, because it complicates how things works, but probably having a separate status for that makes sense.

  • Please register or sign in to reply
  • 24 28 = time_interval_in_words pipeline.duration
    25 29
    30 .row-content-block.build-content.middle-block.pipeline-graph
    31 .pipeline-visualization
    32 %ul.stage-column-list
    33 - stages = pipeline.stages_with_latest_statuses
    34 - stages.each do |stage, statuses|
    35 %li.stage-column
    36 .stage-name
    37 %a{name: stage}
    38 - if stage
    39 = stage.titleize
    40 .builds-container
    41 %ul
    42 - statuses.each do |status|
    43 = render "projects/#{status.to_partial_path}_pipeline", subject: status
  • Added 1 commit:

    • 1fd6498b - Add deploy btn in graph; fix JS to toggle one graph at a time if multiple pipelines
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading