summaryrefslogtreecommitdiff
path: root/app/views/projects/pipelines/charts.html.haml
blob: 55f1b9098c3365480ca28b59f93c780166620dbc (plain)
1
2
3
4
5
6
7
- page_title _('CI / CD Analytics')

#js-project-pipelines-charts-app{ data: { counts: @counts, success_ratio: success_ratio(@counts),
  times_chart: { labels: @charts[:pipeline_times].labels, values: @charts[:pipeline_times].pipeline_times },
  last_week_chart: { labels: @charts[:week].labels, totals: @charts[:week].total, success: @charts[:week].success },
  last_month_chart: { labels: @charts[:month].labels, totals: @charts[:month].total, success: @charts[:month].success },
  last_year_chart: { labels: @charts[:year].labels, totals: @charts[:year].total, success: @charts[:year].success } } }