Commit 7c12cb90 authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre

Merge branch '7216-rake-geo-status-doesn-t-report-ci-job-artifact-numbers' into 'master'

Rake geo:status doesn't report CI job artifact numbers

Closes #7216

See merge request gitlab-org/gitlab-ee!7307
parents ac38fed1 9298d463
---
title: "[Geo] Add CI job artifact numbers to rake geo:status"
merge_request:
author:
type: changed
...@@ -281,6 +281,11 @@ namespace :geo do ...@@ -281,6 +281,11 @@ namespace :geo do
print "#{current_node_status.attachments_synced_count}/#{current_node_status.attachments_count} " print "#{current_node_status.attachments_synced_count}/#{current_node_status.attachments_count} "
puts using_percentage(current_node_status.attachments_synced_in_percentage) puts using_percentage(current_node_status.attachments_synced_in_percentage)
print 'CI job artifacts: '.rjust(COLUMN_WIDTH)
show_failed_value(current_node_status.job_artifacts_failed_count)
print "#{current_node_status.job_artifacts_synced_count}/#{current_node_status.job_artifacts_count} "
puts using_percentage(current_node_status.job_artifacts_synced_in_percentage)
if Gitlab::CurrentSettings.repository_checks_enabled if Gitlab::CurrentSettings.repository_checks_enabled
print 'Repositories Checked: '.rjust(COLUMN_WIDTH) print 'Repositories Checked: '.rjust(COLUMN_WIDTH)
show_failed_value(current_node_status.repositories_checked_failed_count) show_failed_value(current_node_status.repositories_checked_failed_count)
......
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