Commit 7c91a466 authored by Dietrich Stein's avatar Dietrich Stein Committed by Kushal Pandya

Perform more redactions in Redis performance bar traces

HMSET and AUTH commands were not properly redacted. This commit
does that and adds a test.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/64309
parent 90a188d8
...@@ -2,12 +2,9 @@ ...@@ -2,12 +2,9 @@
- page_title _('CI / CD Charts') - page_title _('CI / CD Charts')
%div{ class: container_class } %div{ class: container_class }
#charts.ci-charts #charts.ci-charts
.row
.col-md-6
= render 'projects/pipelines/charts/overall' = render 'projects/pipelines/charts/overall'
.col-md-6
= render 'projects/pipelines/charts/pipeline_times'
%hr %hr
= render 'projects/pipelines/charts/pipelines' = render 'projects/pipelines/charts/pipelines'
%h4= s_("PipelineCharts|Overall statistics") %h4.mt-4.mb-4= s_("PipelineCharts|Overall statistics")
%ul .row
%li .col-md-6
= s_("PipelineCharts|Total:") = render 'projects/pipelines/charts/pipeline_statistics'
%strong= n_("1 pipeline", "%d pipelines", @counts[:total]) % @counts[:total] .col-md-6
%li = render 'projects/pipelines/charts/pipeline_times'
= s_("PipelineCharts|Successful:")
%strong= n_("1 pipeline", "%d pipelines", @counts[:success]) % @counts[:success]
%li
= s_("PipelineCharts|Failed:")
%strong= n_("1 pipeline", "%d pipelines", @counts[:failed]) % @counts[:failed]
%li
= s_("PipelineCharts|Success ratio:")
%strong
#{success_ratio(@counts)}%
%ul
%li
= s_("PipelineCharts|Total:")
%strong= n_("1 pipeline", "%d pipelines", @counts[:total]) % @counts[:total]
%li
= s_("PipelineCharts|Successful:")
%strong= n_("1 pipeline", "%d pipelines", @counts[:success]) % @counts[:success]
%li
= s_("PipelineCharts|Failed:")
%strong= n_("1 pipeline", "%d pipelines", @counts[:failed]) % @counts[:failed]
%li
= s_("PipelineCharts|Success ratio:")
%strong
#{success_ratio(@counts)}%
%h4= _("Pipelines charts") %h4.mt-4.mb-4= _("Pipelines charts")
%p %p
   
%span.legend-success %span.legend-success
......
---
title: Improves section header whitespace on the CI/CD Charts page
merge_request: 30531
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment