Commit 94a3dbca authored by Zeger-Jan van de Weg's avatar Zeger-Jan van de Weg

Gitaly Server info for admin panel

Implements the client side for gitlab-org/gitaly#819. Which is a server
info command. This checks the server version and git binairy version on
the server.

A small UI was added for administrators, so they can check the status of
the Gitaly server. This is done for each storage the monolith knows.

Because of this commit, gitlab-org/gitlab-ce!15580 is now closed. That
MR removed the Git version too, but didn't replace it with anything.
parent e74e6fcb
...@@ -406,7 +406,7 @@ group :ed25519 do ...@@ -406,7 +406,7 @@ group :ed25519 do
end end
# Gitaly GRPC client # Gitaly GRPC client
gem 'gitaly-proto', '~> 0.78.0', require: 'gitaly' gem 'gitaly-proto', '~> 0.83.0', require: 'gitaly'
gem 'toml-rb', '~> 0.3.15', require: false gem 'toml-rb', '~> 0.3.15', require: false
......
...@@ -285,7 +285,7 @@ GEM ...@@ -285,7 +285,7 @@ GEM
po_to_json (>= 1.0.0) po_to_json (>= 1.0.0)
rails (>= 3.2.0) rails (>= 3.2.0)
gherkin-ruby (0.3.2) gherkin-ruby (0.3.2)
gitaly-proto (0.78.0) gitaly-proto (0.83.0)
google-protobuf (~> 3.1) google-protobuf (~> 3.1)
grpc (~> 1.0) grpc (~> 1.0)
github-linguist (4.7.6) github-linguist (4.7.6)
...@@ -340,7 +340,7 @@ GEM ...@@ -340,7 +340,7 @@ GEM
mime-types (~> 3.0) mime-types (~> 3.0)
representable (~> 3.0) representable (~> 3.0)
retriable (>= 2.0, < 4.0) retriable (>= 2.0, < 4.0)
google-protobuf (3.4.1.1) google-protobuf (3.5.1.1-universal-darwin)
googleapis-common-protos-types (1.0.1) googleapis-common-protos-types (1.0.1)
google-protobuf (~> 3.0) google-protobuf (~> 3.0)
googleauth (0.5.3) googleauth (0.5.3)
...@@ -369,7 +369,7 @@ GEM ...@@ -369,7 +369,7 @@ GEM
rake rake
grape_logging (1.7.0) grape_logging (1.7.0)
grape grape
grpc (1.8.3) grpc (1.8.3-universal-darwin)
google-protobuf (~> 3.1) google-protobuf (~> 3.1)
googleapis-common-protos-types (~> 1.0.0) googleapis-common-protos-types (~> 1.0.0)
googleauth (>= 0.5.1, < 0.7) googleauth (>= 0.5.1, < 0.7)
...@@ -1056,7 +1056,7 @@ DEPENDENCIES ...@@ -1056,7 +1056,7 @@ DEPENDENCIES
gettext (~> 3.2.2) gettext (~> 3.2.2)
gettext_i18n_rails (~> 1.8.0) gettext_i18n_rails (~> 1.8.0)
gettext_i18n_rails_js (~> 1.2.0) gettext_i18n_rails_js (~> 1.2.0)
gitaly-proto (~> 0.78.0) gitaly-proto (~> 0.83.0)
github-linguist (~> 4.7.0) github-linguist (~> 4.7.0)
gitlab-flowdock-git-hook (~> 1.0.1) gitlab-flowdock-git-hook (~> 1.0.1)
gitlab-markup (~> 1.6.2) gitlab-markup (~> 1.6.2)
......
class Admin::GitalyServersController < Admin::ApplicationController
def index
@gitaly_servers = Gitaly::Server.all
end
end
...@@ -138,19 +138,11 @@ ...@@ -138,19 +138,11 @@
GitLab API GitLab API
%span.pull-right %span.pull-right
= API::API::version = API::API::version
%p
Gitaly
%span.pull-right
= Gitlab::GitalyClient.expected_server_version
- if Gitlab.config.pages.enabled - if Gitlab.config.pages.enabled
%p %p
GitLab Pages GitLab Pages
%span.pull-right %span.pull-right
= Gitlab::Pages::VERSION = Gitlab::Pages::VERSION
%p
Git
%span.pull-right
= Gitlab::Git.version
%p %p
Ruby Ruby
%span.pull-right %span.pull-right
...@@ -163,6 +155,8 @@ ...@@ -163,6 +155,8 @@
= Gitlab::Database.adapter_name = Gitlab::Database.adapter_name
%span.pull-right %span.pull-right
= Gitlab::Database.version = Gitlab::Database.version
%p
= link_to "Gitaly Servers", admin_gitaly_servers_path
.row .row
.col-md-4 .col-md-4
.info-well .info-well
......
- breadcrumb_title _("Gitaly Servers")
%h3.page-title= _("Gitaly Servers")
%hr
.gitaly_servers
- if @gitaly_servers.any?
.table-holder
%table.table.responsive-table
%thead.hidden-sm.hidden-xs
%tr
%th= _("Storage")
%th= n_("Gitaly|Address")
%th= _("Server version")
%th= _("Git version")
%th= _("Up to date")
- @gitaly_servers.each do |server|
%tr
%td
= server.storage
%td
= server.address
%td
= server.server_version
%td
= server.git_binary_version
%td
= boolean_to_icon(server.up_to_date?)
- else
.empty-state
.text-center
%h4= _("No connection could be made to a Gitaly Server, please check your logs!")
---
title: Add Gitaly Servers admin dashboard
merge_request:
author:
type: added
...@@ -24,6 +24,8 @@ namespace :admin do ...@@ -24,6 +24,8 @@ namespace :admin do
resource :impersonation, only: :destroy resource :impersonation, only: :destroy
resources :abuse_reports, only: [:index, :destroy] resources :abuse_reports, only: [:index, :destroy]
resources :gitaly_servers, only: [:index]
resources :spam_logs, only: [:index, :destroy] do resources :spam_logs, only: [:index, :destroy] do
member do member do
post :mark_as_ham post :mark_as_ham
......
module Gitaly
class Server
def self.all
Gitlab.config.repositories.storages.keys.map { |s| Gitaly::Server.new(s) }
end
attr_reader :storage
def initialize(storage)
@storage = storage
end
def server_version
info.server_version
end
def git_binary_version
info.git_version
end
def up_to_date?
server_version == Gitlab::GitalyClient.expected_server_version
end
def address
Gitlab::GitalyClient.address(@storage)
rescue RuntimeError => e
"Error getting the address: #{e.message}"
end
private
def info
@info ||=
begin
Gitlab::GitalyClient::ServerService.new(@storage).info
rescue GRPC::Unavailable, GRPC::GRPC::DeadlineExceeded
# This will show the server as being out of date
Gitaly::ServerInfoResponse.new(git_version: '', server_version: '')
end
end
end
end
module Gitlab
module GitalyClient
# Meant for extraction of server data, and later maybe to perform misc task
#
# Not meant for connection logic, look in Gitlab::GitalyClient
class ServerService
def initialize(storage)
@storage = storage
end
def info
GitalyClient.call(@storage, :server_service, :server_info, Gitaly::ServerInfoRequest.new)
end
end
end
end
...@@ -8,8 +8,8 @@ msgid "" ...@@ -8,8 +8,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: gitlab 1.0.0\n" "Project-Id-Version: gitlab 1.0.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-12-05 20:31+0100\n" "POT-Creation-Date: 2018-01-30 14:59+0100\n"
"PO-Revision-Date: 2017-12-05 20:31+0100\n" "PO-Revision-Date: 2018-01-30 14:59+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n" "Language: \n"
...@@ -23,17 +23,27 @@ msgid_plural "%d commits" ...@@ -23,17 +23,27 @@ msgid_plural "%d commits"
msgstr[0] "" msgstr[0] ""
msgstr[1] "" msgstr[1] ""
msgid "%d issue"
msgid_plural "%d issues"
msgstr[0] ""
msgstr[1] ""
msgid "%d layer" msgid "%d layer"
msgid_plural "%d layers" msgid_plural "%d layers"
msgstr[0] "" msgstr[0] ""
msgstr[1] "" msgstr[1] ""
msgid "%d merge request"
msgid_plural "%d merge requests"
msgstr[0] ""
msgstr[1] ""
msgid "%s additional commit has been omitted to prevent performance issues." msgid "%s additional commit has been omitted to prevent performance issues."
msgid_plural "%s additional commits have been omitted to prevent performance issues." msgid_plural "%s additional commits have been omitted to prevent performance issues."
msgstr[0] "" msgstr[0] ""
msgstr[1] "" msgstr[1] ""
msgid "%{commit_author_link} committed %{commit_timeago}" msgid "%{commit_author_link} authored %{commit_timeago}"
msgstr "" msgstr ""
msgid "%{count} participant" msgid "%{count} participant"
...@@ -47,9 +57,6 @@ msgstr "" ...@@ -47,9 +57,6 @@ msgstr ""
msgid "%{number_of_failures} of %{maximum_failures} failures. GitLab will allow access on the next attempt." msgid "%{number_of_failures} of %{maximum_failures} failures. GitLab will allow access on the next attempt."
msgstr "" msgstr ""
msgid "%{number_of_failures} of %{maximum_failures} failures. GitLab will block access for %{number_of_seconds} seconds."
msgstr ""
msgid "%{number_of_failures} of %{maximum_failures} failures. GitLab will not retry automatically. Reset storage information when the problem is resolved." msgid "%{number_of_failures} of %{maximum_failures} failures. GitLab will not retry automatically. Reset storage information when the problem is resolved."
msgstr "" msgstr ""
...@@ -117,6 +124,21 @@ msgstr "" ...@@ -117,6 +124,21 @@ msgstr ""
msgid "Add new directory" msgid "Add new directory"
msgstr "" msgstr ""
msgid "AdminArea|Stop all jobs"
msgstr ""
msgid "AdminArea|Stop all jobs?"
msgstr ""
msgid "AdminArea|Stop jobs"
msgstr ""
msgid "AdminArea|Stopping jobs failed"
msgstr ""
msgid "AdminArea|You’re about to stop all jobs. This will halt all current jobs that are running."
msgstr ""
msgid "AdminHealthPageLink|health page" msgid "AdminHealthPageLink|health page"
msgstr "" msgstr ""
...@@ -126,12 +148,18 @@ msgstr "" ...@@ -126,12 +148,18 @@ msgstr ""
msgid "All" msgid "All"
msgstr "" msgstr ""
msgid "An error occurred previewing the blob"
msgstr ""
msgid "An error occurred when toggling the notification subscription" msgid "An error occurred when toggling the notification subscription"
msgstr "" msgstr ""
msgid "An error occurred while fetching sidebar data" msgid "An error occurred while fetching sidebar data"
msgstr "" msgstr ""
msgid "An error occurred while retrieving diff"
msgstr ""
msgid "An error occurred. Please try again." msgid "An error occurred. Please try again."
msgstr "" msgstr ""
...@@ -156,9 +184,6 @@ msgstr "" ...@@ -156,9 +184,6 @@ msgstr ""
msgid "Are you sure you want to discard your changes?" msgid "Are you sure you want to discard your changes?"
msgstr "" msgstr ""
msgid "Are you sure you want to leave this group?"
msgstr ""
msgid "Are you sure you want to reset registration token?" msgid "Are you sure you want to reset registration token?"
msgstr "" msgstr ""
...@@ -186,13 +211,13 @@ msgstr "" ...@@ -186,13 +211,13 @@ msgstr ""
msgid "Author" msgid "Author"
msgstr "" msgstr ""
msgid "Auto Review Apps and Auto Deploy need a domain name and a %{kubernetes} to work correctly." msgid "Auto Review Apps and Auto Deploy need a %{kubernetes} to work correctly."
msgstr "" msgstr ""
msgid "Auto Review Apps and Auto Deploy need a domain name to work correctly." msgid "Auto Review Apps and Auto Deploy need a domain name and a %{kubernetes} to work correctly."
msgstr "" msgstr ""
msgid "Auto Review Apps and Auto Deploy need a %{kubernetes} to work correctly." msgid "Auto Review Apps and Auto Deploy need a domain name to work correctly."
msgstr "" msgstr ""
msgid "AutoDevOps|Auto DevOps (Beta)" msgid "AutoDevOps|Auto DevOps (Beta)"
...@@ -216,6 +241,9 @@ msgstr "" ...@@ -216,6 +241,9 @@ msgstr ""
msgid "Available" msgid "Available"
msgstr "" msgstr ""
msgid "Avatar will be removed. Are you sure?"
msgstr ""
msgid "Branch" msgid "Branch"
msgid_plural "Branches" msgid_plural "Branches"
msgstr[0] "" msgstr[0] ""
...@@ -359,15 +387,24 @@ msgstr "" ...@@ -359,15 +387,24 @@ msgstr ""
msgid "ChangeTypeAction|Revert" msgid "ChangeTypeAction|Revert"
msgstr "" msgstr ""
msgid "ChangeTypeAction|This will create a new commit in order to revert the existing changes."
msgstr ""
msgid "Changelog" msgid "Changelog"
msgstr "" msgstr ""
msgid "Changes are shown as if the <b>source</b> revision was being merged into the <b>target</b> revision."
msgstr ""
msgid "Charts" msgid "Charts"
msgstr "" msgstr ""
msgid "Chat" msgid "Chat"
msgstr "" msgstr ""
msgid "Check interval"
msgstr ""
msgid "Checking %{text} availability…" msgid "Checking %{text} availability…"
msgstr "" msgstr ""
...@@ -380,6 +417,15 @@ msgstr "" ...@@ -380,6 +417,15 @@ msgstr ""
msgid "Cherry-pick this merge request" msgid "Cherry-pick this merge request"
msgstr "" msgstr ""
msgid "Choose File ..."
msgstr ""
msgid "Choose a branch/tag (e.g. %{master}) or enter a commit (e.g. %{sha}) to see what's changed or to create a merge request."
msgstr ""
msgid "Choose file..."
msgstr ""
msgid "CiStatusLabel|canceled" msgid "CiStatusLabel|canceled"
msgstr "" msgstr ""
...@@ -437,6 +483,9 @@ msgstr "" ...@@ -437,6 +483,9 @@ msgstr ""
msgid "CircuitBreakerApiLink|circuitbreaker api" msgid "CircuitBreakerApiLink|circuitbreaker api"
msgstr "" msgstr ""
msgid "Click to expand text"
msgstr ""
msgid "Clone repository" msgid "Clone repository"
msgstr "" msgstr ""
...@@ -446,27 +495,24 @@ msgstr "" ...@@ -446,27 +495,24 @@ msgstr ""
msgid "ClusterIntegration|%{appList} was successfully installed on your cluster" msgid "ClusterIntegration|%{appList} was successfully installed on your cluster"
msgstr "" msgstr ""
msgid "ClusterIntegration|%{boldNotice} This will add some extra resources like a load balancer, which incur additional costs. See %{pricingLink}"
msgstr ""
msgid "ClusterIntegration|API URL" msgid "ClusterIntegration|API URL"
msgstr "" msgstr ""
msgid "ClusterIntegration|Active"
msgstr ""
msgid "ClusterIntegration|Add an existing cluster" msgid "ClusterIntegration|Add an existing cluster"
msgstr "" msgstr ""
msgid "ClusterIntegration|Add cluster" msgid "ClusterIntegration|Add cluster"
msgstr "" msgstr ""
msgid "ClusterIntegration|All" msgid "ClusterIntegration|Advanced options on this cluster's integration"
msgstr "" msgstr ""
msgid "ClusterIntegration|Applications" msgid "ClusterIntegration|Applications"
msgstr "" msgstr ""
msgid "ClusterIntegration|Are you sure you want to remove this cluster's integration? This will not delete your actual cluster."
msgstr ""
msgid "ClusterIntegration|CA Certificate" msgid "ClusterIntegration|CA Certificate"
msgstr "" msgstr ""
...@@ -476,6 +522,9 @@ msgstr "" ...@@ -476,6 +522,9 @@ msgstr ""
msgid "ClusterIntegration|Choose how to set up cluster integration" msgid "ClusterIntegration|Choose how to set up cluster integration"
msgstr "" msgstr ""
msgid "ClusterIntegration|Choose which of your project's environments will use this cluster."
msgstr ""
msgid "ClusterIntegration|Cluster" msgid "ClusterIntegration|Cluster"
msgstr "" msgstr ""
...@@ -506,6 +555,12 @@ msgstr "" ...@@ -506,6 +555,12 @@ msgstr ""
msgid "ClusterIntegration|Clusters allow you to use review apps, deploy your applications, run your pipelines, and much more in an easy way. %{link_to_help_page}" msgid "ClusterIntegration|Clusters allow you to use review apps, deploy your applications, run your pipelines, and much more in an easy way. %{link_to_help_page}"
msgstr "" msgstr ""
msgid "ClusterIntegration|Clusters can be used to deploy applications and to provide Review Apps for this project"
msgstr ""
msgid "ClusterIntegration|Control how your cluster integrates with GitLab"
msgstr ""
msgid "ClusterIntegration|Copy API URL" msgid "ClusterIntegration|Copy API URL"
msgstr "" msgstr ""
...@@ -518,7 +573,7 @@ msgstr "" ...@@ -518,7 +573,7 @@ msgstr ""
msgid "ClusterIntegration|Copy cluster name" msgid "ClusterIntegration|Copy cluster name"
msgstr "" msgstr ""
msgid "ClusterIntegration|Create a new cluster on Google Engine right from GitLab" msgid "ClusterIntegration|Create a new cluster on Google Kubernetes Engine right from GitLab"
msgstr "" msgstr ""
msgid "ClusterIntegration|Create cluster" msgid "ClusterIntegration|Create cluster"
...@@ -530,19 +585,16 @@ msgstr "" ...@@ -530,19 +585,16 @@ msgstr ""
msgid "ClusterIntegration|Create on GKE" msgid "ClusterIntegration|Create on GKE"
msgstr "" msgstr ""
msgid "ClusterIntegration|Enable cluster integration"
msgstr ""
msgid "ClusterIntegration|Enter the details for an existing Kubernetes cluster" msgid "ClusterIntegration|Enter the details for an existing Kubernetes cluster"
msgstr "" msgstr ""
msgid "ClusterIntegration|Enter the details for your cluster" msgid "ClusterIntegration|Enter the details for your cluster"
msgstr "" msgstr ""
msgid "ClusterIntegration|Environment pattern" msgid "ClusterIntegration|Environment scope"
msgstr "" msgstr ""
msgid "ClusterIntegration|GKE pricing" msgid "ClusterIntegration|GitLab Integration"
msgstr "" msgstr ""
msgid "ClusterIntegration|GitLab Runner" msgid "ClusterIntegration|GitLab Runner"
...@@ -560,18 +612,12 @@ msgstr "" ...@@ -560,18 +612,12 @@ msgstr ""
msgid "ClusterIntegration|Helm Tiller" msgid "ClusterIntegration|Helm Tiller"
msgstr "" msgstr ""
msgid "ClusterIntegration|Inactive"
msgstr ""
msgid "ClusterIntegration|Ingress" msgid "ClusterIntegration|Ingress"
msgstr "" msgstr ""
msgid "ClusterIntegration|Install" msgid "ClusterIntegration|Install"
msgstr "" msgstr ""
msgid "ClusterIntegration|Install applications on your cluster. Read more about %{helpLink}"
msgstr ""
msgid "ClusterIntegration|Installed" msgid "ClusterIntegration|Installed"
msgstr "" msgstr ""
...@@ -581,27 +627,27 @@ msgstr "" ...@@ -581,27 +627,27 @@ msgstr ""
msgid "ClusterIntegration|Integrate cluster automation" msgid "ClusterIntegration|Integrate cluster automation"
msgstr "" msgstr ""
msgid "ClusterIntegration|Integration status"
msgstr ""
msgid "ClusterIntegration|Learn more about %{link_to_documentation}" msgid "ClusterIntegration|Learn more about %{link_to_documentation}"
msgstr "" msgstr ""
msgid "ClusterIntegration|Learn more about Clusters" msgid "ClusterIntegration|Learn more about Clusters"
msgstr "" msgstr ""
msgid "ClusterIntegration|Machine type" msgid "ClusterIntegration|Learn more about environments"
msgstr "" msgstr ""
msgid "ClusterIntegration|Make sure your account %{link_to_requirements} to create clusters" msgid "ClusterIntegration|Machine type"
msgstr "" msgstr ""
msgid "ClusterIntegration|Manage cluster integration on your GitLab project" msgid "ClusterIntegration|Make sure your account %{link_to_requirements} to create clusters"
msgstr "" msgstr ""
msgid "ClusterIntegration|Manage your cluster by visiting %{link_gke}" msgid "ClusterIntegration|Manage your cluster by visiting %{link_gke}"
msgstr "" msgstr ""
msgid "ClusterIntegration|Multiple clusters are available in GitLab Entreprise Edition Premium and Ultimate"
msgstr ""
msgid "ClusterIntegration|Note:" msgid "ClusterIntegration|Note:"
msgstr "" msgstr ""
...@@ -614,12 +660,6 @@ msgstr "" ...@@ -614,12 +660,6 @@ msgstr ""
msgid "ClusterIntegration|Please make sure that your Google account meets the following requirements:" msgid "ClusterIntegration|Please make sure that your Google account meets the following requirements:"
msgstr "" msgstr ""
msgid "ClusterIntegration|Problem setting up the cluster"
msgstr ""
msgid "ClusterIntegration|Problem setting up the clusters list"
msgstr ""
msgid "ClusterIntegration|Project ID" msgid "ClusterIntegration|Project ID"
msgstr "" msgstr ""
...@@ -629,6 +669,9 @@ msgstr "" ...@@ -629,6 +669,9 @@ msgstr ""
msgid "ClusterIntegration|Project namespace (optional, unique)" msgid "ClusterIntegration|Project namespace (optional, unique)"
msgstr "" msgstr ""
msgid "ClusterIntegration|Prometheus"
msgstr ""
msgid "ClusterIntegration|Read our %{link_to_help_page} on cluster integration." msgid "ClusterIntegration|Read our %{link_to_help_page} on cluster integration."
msgstr "" msgstr ""
...@@ -638,7 +681,7 @@ msgstr "" ...@@ -638,7 +681,7 @@ msgstr ""
msgid "ClusterIntegration|Remove integration" msgid "ClusterIntegration|Remove integration"
msgstr "" msgstr ""
msgid "ClusterIntegration|Removing cluster integration will remove the cluster configuration you have added to this project. It will not delete your cluster on Google Kubernetes Engine." msgid "ClusterIntegration|Remove this cluster's configuration from this project. This will not delete your actual cluster."
msgstr "" msgstr ""
msgid "ClusterIntegration|Request to begin installing failed" msgid "ClusterIntegration|Request to begin installing failed"
...@@ -674,9 +717,6 @@ msgstr "" ...@@ -674,9 +717,6 @@ msgstr ""
msgid "ClusterIntegration|Something went wrong while installing %{title}" msgid "ClusterIntegration|Something went wrong while installing %{title}"
msgstr "" msgstr ""
msgid "ClusterIntegration|There are no clusters to show"
msgstr ""
msgid "ClusterIntegration|This account must have permissions to create a cluster in the %{link_to_container_project} specified below" msgid "ClusterIntegration|This account must have permissions to create a cluster in the %{link_to_container_project} specified below"
msgstr "" msgstr ""
...@@ -698,6 +738,9 @@ msgstr "" ...@@ -698,6 +738,9 @@ msgstr ""
msgid "ClusterIntegration|access to Google Kubernetes Engine" msgid "ClusterIntegration|access to Google Kubernetes Engine"
msgstr "" msgstr ""
msgid "ClusterIntegration|check the pricing here"
msgstr ""
msgid "ClusterIntegration|cluster" msgid "ClusterIntegration|cluster"
msgstr "" msgstr ""
...@@ -745,15 +788,42 @@ msgstr "" ...@@ -745,15 +788,42 @@ msgstr ""
msgid "Commits feed" msgid "Commits feed"
msgstr "" msgstr ""
msgid "Commits|An error occurred while fetching merge requests data."
msgstr ""
msgid "Commits|History" msgid "Commits|History"
msgstr "" msgstr ""
msgid "Commits|No related merge requests found"
msgstr ""
msgid "Committed by" msgid "Committed by"
msgstr "" msgstr ""
msgid "Compare" msgid "Compare"
msgstr "" msgstr ""
msgid "Compare Git revisions"
msgstr ""
msgid "Compare Revisions"
msgstr ""
msgid "CompareBranches|%{source_branch} and %{target_branch} are the same."
msgstr ""
msgid "CompareBranches|Compare"
msgstr ""
msgid "CompareBranches|Source"
msgstr ""
msgid "CompareBranches|Target"
msgstr ""
msgid "CompareBranches|There isn't anything to compare."
msgstr ""
msgid "Container Registry" msgid "Container Registry"
msgstr "" msgstr ""
...@@ -805,6 +875,9 @@ msgstr "" ...@@ -805,6 +875,9 @@ msgstr ""
msgid "Contributors" msgid "Contributors"
msgstr "" msgstr ""
msgid "ContributorsPage|%{startDate} – %{endDate}"
msgstr ""
msgid "ContributorsPage|Building repository graph." msgid "ContributorsPage|Building repository graph."
msgstr "" msgstr ""
...@@ -874,9 +947,6 @@ msgstr "" ...@@ -874,9 +947,6 @@ msgstr ""
msgid "Cycle Analytics" msgid "Cycle Analytics"
msgstr "" msgstr ""
msgid "Cycle Analytics gives an overview of how much time it takes to go from idea to production in your project."
msgstr ""
msgid "CycleAnalyticsStage|Code" msgid "CycleAnalyticsStage|Code"
msgstr "" msgstr ""
...@@ -930,6 +1000,9 @@ msgstr "" ...@@ -930,6 +1000,9 @@ msgstr ""
msgid "Details" msgid "Details"
msgstr "" msgstr ""
msgid "Diffs|No file name available"
msgstr ""
msgid "Directory name" msgid "Directory name"
msgstr "" msgstr ""
...@@ -996,9 +1069,6 @@ msgstr "" ...@@ -996,9 +1069,6 @@ msgstr ""
msgid "Environments|Environments" msgid "Environments|Environments"
msgstr "" msgstr ""
msgid "Environments|Environments are places where code gets deployed, such as staging or production."
msgstr ""
msgid "Environments|Job" msgid "Environments|Job"
msgstr "" msgstr ""
...@@ -1029,6 +1099,9 @@ msgstr "" ...@@ -1029,6 +1099,9 @@ msgstr ""
msgid "Environments|You don't have any environments right now." msgid "Environments|You don't have any environments right now."
msgstr "" msgstr ""
msgid "Error fetching refs"
msgstr ""
msgid "Error occurred when toggling the notification subscription" msgid "Error occurred when toggling the notification subscription"
msgstr "" msgstr ""
...@@ -1121,12 +1194,21 @@ msgstr "" ...@@ -1121,12 +1194,21 @@ msgstr ""
msgid "GPG Keys" msgid "GPG Keys"
msgstr "" msgstr ""
msgid "Generate a default set of labels"
msgstr ""
msgid "Git storage health information has been reset" msgid "Git storage health information has been reset"
msgstr "" msgstr ""
msgid "Git version"
msgstr ""
msgid "GitLab Runner section" msgid "GitLab Runner section"
msgstr "" msgstr ""
msgid "Gitaly Servers"
msgstr ""
msgid "Go to your fork" msgid "Go to your fork"
msgstr "" msgstr ""
...@@ -1172,10 +1254,7 @@ msgstr "" ...@@ -1172,10 +1254,7 @@ msgstr ""
msgid "GroupsEmptyState|You can manage your group member’s permissions and access to each project in the group." msgid "GroupsEmptyState|You can manage your group member’s permissions and access to each project in the group."
msgstr "" msgstr ""
msgid "GroupsTreeRole|as" msgid "GroupsTree|Are you sure you want to leave the \"${group.fullName}\" group?"
msgstr ""
msgid "GroupsTree|Are you sure you want to leave the \"${this.group.fullName}\" group?"
msgstr "" msgstr ""
msgid "GroupsTree|Create a project in this group." msgid "GroupsTree|Create a project in this group."
...@@ -1223,6 +1302,11 @@ msgstr "" ...@@ -1223,6 +1302,11 @@ msgstr ""
msgid "HealthCheck|Unhealthy" msgid "HealthCheck|Unhealthy"
msgstr "" msgstr ""
msgid "Hide value"
msgid_plural "Hide values"
msgstr[0] ""
msgstr[1] ""
msgid "History" msgid "History"
msgstr "" msgstr ""
...@@ -1235,6 +1319,9 @@ msgstr "" ...@@ -1235,6 +1319,9 @@ msgstr ""
msgid "Install a Runner compatible with GitLab CI" msgid "Install a Runner compatible with GitLab CI"
msgstr "" msgstr ""
msgid "Interested parties can even contribute by pushing commits if they want to."
msgstr ""
msgid "Internal - The group and any internal projects can be viewed by any logged in user." msgid "Internal - The group and any internal projects can be viewed by any logged in user."
msgstr "" msgstr ""
...@@ -1256,6 +1343,9 @@ msgstr "" ...@@ -1256,6 +1343,9 @@ msgstr ""
msgid "Issues" msgid "Issues"
msgstr "" msgstr ""
msgid "Issues can be bugs, tasks or ideas to be discussed. Also, issues are searchable and filterable."
msgstr ""
msgid "Jan" msgid "Jan"
msgstr "" msgstr ""
...@@ -1283,6 +1373,9 @@ msgstr "" ...@@ -1283,6 +1373,9 @@ msgstr ""
msgid "Labels" msgid "Labels"
msgstr "" msgstr ""
msgid "Labels can be applied to issues and merge requests to categorize them."
msgstr ""
msgid "Last %d day" msgid "Last %d day"
msgid_plural "Last %d days" msgid_plural "Last %d days"
msgstr[0] "" msgstr[0] ""
...@@ -1327,10 +1420,8 @@ msgstr "" ...@@ -1327,10 +1420,8 @@ msgstr ""
msgid "Leave project" msgid "Leave project"
msgstr "" msgstr ""
msgid "Limited to showing %d event at most" msgid "Loading the GitLab IDE..."
msgid_plural "Limited to showing %d events at most" msgstr ""
msgstr[0] ""
msgstr[1] ""
msgid "Lock" msgid "Lock"
msgstr "" msgstr ""
...@@ -1368,9 +1459,27 @@ msgstr "" ...@@ -1368,9 +1459,27 @@ msgstr ""
msgid "Merge request" msgid "Merge request"
msgstr "" msgstr ""
msgid "Merge requests are a place to propose changes you've made to a project and discuss those changes with others"
msgstr ""
msgid "Merged"
msgstr ""
msgid "Messages" msgid "Messages"
msgstr "" msgstr ""
msgid "Milestones|Delete milestone"
msgstr ""
msgid "Milestones|Delete milestone %{milestoneTitle}?"
msgstr ""
msgid "Milestones|Failed to delete milestone %{milestoneTitle}"
msgstr ""
msgid "Milestones|Milestone %{milestoneTitle} was not found"
msgstr ""
msgid "MissingSSHKeyWarningLink|add an SSH key" msgid "MissingSSHKeyWarningLink|add an SSH key"
msgstr "" msgstr ""
...@@ -1409,6 +1518,9 @@ msgstr "" ...@@ -1409,6 +1518,9 @@ msgstr ""
msgid "New issue" msgid "New issue"
msgstr "" msgstr ""
msgid "New label"
msgstr ""
msgid "New merge request" msgid "New merge request"
msgstr "" msgstr ""
...@@ -1427,7 +1539,10 @@ msgstr "" ...@@ -1427,7 +1539,10 @@ msgstr ""
msgid "New tag" msgid "New tag"
msgstr "" msgstr ""
msgid "No container images stored for this project. Add one by following the instructions above." msgid "No connection could be made to a Gitaly Server, please check your logs!"
msgstr ""
msgid "No file chosen"
msgstr "" msgstr ""
msgid "No repository" msgid "No repository"
...@@ -1505,6 +1620,12 @@ msgstr "" ...@@ -1505,6 +1620,12 @@ msgstr ""
msgid "Notifications" msgid "Notifications"
msgstr "" msgstr ""
msgid "Notifications off"
msgstr ""
msgid "Notifications on"
msgstr ""
msgid "Nov" msgid "Nov"
msgstr "" msgstr ""
...@@ -1514,9 +1635,6 @@ msgstr "" ...@@ -1514,9 +1635,6 @@ msgstr ""
msgid "Number of access attempts" msgid "Number of access attempts"
msgstr "" msgstr ""
msgid "Number of failures before backing off"
msgstr ""
msgid "Oct" msgid "Oct"
msgstr "" msgstr ""
...@@ -1559,9 +1677,6 @@ msgstr "" ...@@ -1559,9 +1677,6 @@ msgstr ""
msgid "Password" msgid "Password"
msgstr "" msgstr ""
msgid "People without permission will never get a notification and won\\'t be able to comment."
msgstr ""
msgid "Pipeline" msgid "Pipeline"
msgstr "" msgstr ""
...@@ -1646,6 +1761,12 @@ msgstr "" ...@@ -1646,6 +1761,12 @@ msgstr ""
msgid "Pipelines for last year" msgid "Pipelines for last year"
msgstr "" msgstr ""
msgid "Pipelines|Build with confidence"
msgstr ""
msgid "Pipelines|Get started with Pipelines"
msgstr ""
msgid "Pipeline|all" msgid "Pipeline|all"
msgstr "" msgstr ""
...@@ -1658,6 +1779,15 @@ msgstr "" ...@@ -1658,6 +1779,15 @@ msgstr ""
msgid "Pipeline|with stages" msgid "Pipeline|with stages"
msgstr "" msgstr ""
msgid "Play"
msgstr ""
msgid "Please <a href=%{link_to_billing} target=\"_blank\" rel=\"noopener noreferrer\">enable billing for one of your projects to be able to create a cluster</a>, then try again."
msgstr ""
msgid "Please solve the reCAPTCHA"
msgstr ""
msgid "Preferences" msgid "Preferences"
msgstr "" msgstr ""
...@@ -1721,6 +1851,15 @@ msgstr "" ...@@ -1721,6 +1851,15 @@ msgstr ""
msgid "Project access must be granted explicitly to each user." msgid "Project access must be granted explicitly to each user."
msgstr "" msgstr ""
msgid "Project avatar"
msgstr ""
msgid "Project avatar in repository: %{link}"
msgstr ""
msgid "Project cache successfully reset."
msgstr ""
msgid "Project details" msgid "Project details"
msgstr "" msgstr ""
...@@ -1760,12 +1899,6 @@ msgstr "" ...@@ -1760,12 +1899,6 @@ msgstr ""
msgid "ProjectNetworkGraph|Graph" msgid "ProjectNetworkGraph|Graph"
msgstr "" msgstr ""
msgid "ProjectSettings|Immediately run a pipeline on the default branch"
msgstr ""
msgid "ProjectSettings|Problem setting up the CI/CD settings JavaScript"
msgstr ""
msgid "Projects" msgid "Projects"
msgstr "" msgstr ""
...@@ -1844,6 +1977,9 @@ msgstr "" ...@@ -1844,6 +1977,9 @@ msgstr ""
msgid "RefSwitcher|Tags" msgid "RefSwitcher|Tags"
msgstr "" msgstr ""
msgid "Register / Sign In"
msgstr ""
msgid "Related Commits" msgid "Related Commits"
msgstr "" msgstr ""
...@@ -1865,6 +2001,9 @@ msgstr "" ...@@ -1865,6 +2001,9 @@ msgstr ""
msgid "Remind later" msgid "Remind later"
msgstr "" msgstr ""
msgid "Remove avatar"
msgstr ""
msgid "Remove project" msgid "Remove project"
msgstr "" msgstr ""
...@@ -1883,6 +2022,11 @@ msgstr "" ...@@ -1883,6 +2022,11 @@ msgstr ""
msgid "Reset runners registration token" msgid "Reset runners registration token"
msgstr "" msgstr ""
msgid "Reveal value"
msgid_plural "Reveal values"
msgstr[0] ""
msgstr[1] ""
msgid "Revert this commit" msgid "Revert this commit"
msgstr "" msgstr ""
...@@ -1892,9 +2036,6 @@ msgstr "" ...@@ -1892,9 +2036,6 @@ msgstr ""
msgid "SSH Keys" msgid "SSH Keys"
msgstr "" msgstr ""
msgid "Save"
msgstr ""
msgid "Save changes" msgid "Save changes"
msgstr "" msgstr ""
...@@ -1916,9 +2057,6 @@ msgstr "" ...@@ -1916,9 +2057,6 @@ msgstr ""
msgid "Seconds before reseting failure information" msgid "Seconds before reseting failure information"
msgstr "" msgstr ""
msgid "Seconds to wait after a storage failure"
msgstr ""
msgid "Seconds to wait for a storage access attempt" msgid "Seconds to wait for a storage access attempt"
msgstr "" msgstr ""
...@@ -1928,6 +2066,9 @@ msgstr "" ...@@ -1928,6 +2066,9 @@ msgstr ""
msgid "Select a timezone" msgid "Select a timezone"
msgstr "" msgstr ""
msgid "Select branch/tag"
msgstr ""
msgid "Select target branch" msgid "Select target branch"
msgstr "" msgstr ""
...@@ -1937,6 +2078,9 @@ msgstr "" ...@@ -1937,6 +2078,9 @@ msgstr ""
msgid "September" msgid "September"
msgstr "" msgstr ""
msgid "Server version"
msgstr ""
msgid "Service Templates" msgid "Service Templates"
msgstr "" msgstr ""
...@@ -1975,7 +2119,7 @@ msgstr "" ...@@ -1975,7 +2119,7 @@ msgstr ""
msgid "Something went wrong on our end." msgid "Something went wrong on our end."
msgstr "" msgstr ""
msgid "Something went wrong trying to change the locked state of this ${this.issuableDisplayName}" msgid "Something went wrong when toggling the button"
msgstr "" msgstr ""
msgid "Something went wrong while fetching the projects." msgid "Something went wrong while fetching the projects."
...@@ -1984,6 +2128,9 @@ msgstr "" ...@@ -1984,6 +2128,9 @@ msgstr ""
msgid "Something went wrong while fetching the registry list." msgid "Something went wrong while fetching the registry list."
msgstr "" msgstr ""
msgid "Something went wrong. Please try again."
msgstr ""
msgid "Sort by" msgid "Sort by"
msgstr "" msgstr ""
...@@ -2104,10 +2251,10 @@ msgstr "" ...@@ -2104,10 +2251,10 @@ msgstr ""
msgid "Stopped" msgid "Stopped"
msgstr "" msgstr ""
msgid "Subgroups" msgid "Storage"
msgstr "" msgstr ""
msgid "Subscribe" msgid "Subgroups"
msgstr "" msgstr ""
msgid "Switch branch/tag" msgid "Switch branch/tag"
...@@ -2199,7 +2346,10 @@ msgstr "" ...@@ -2199,7 +2346,10 @@ msgstr ""
msgid "Team" msgid "Team"
msgstr "" msgstr ""
msgid "The circuitbreaker backoff threshold should be lower than the failure count threshold" msgid "The Issue Tracker is the place to add things that need to be improved or solved in a project"
msgstr ""
msgid "The Issue Tracker is the place to add things that need to be improved or solved in a project. You can register or sign in to create issues for this project."
msgstr "" msgstr ""
msgid "The coding stage shows the time from the first commit to creating the merge request. The data will automatically be added here once you create your first merge request." msgid "The coding stage shows the time from the first commit to creating the merge request. The data will automatically be added here once you create your first merge request."
...@@ -2214,10 +2364,10 @@ msgstr "" ...@@ -2214,10 +2364,10 @@ msgstr ""
msgid "The issue stage shows the time it takes from creating an issue to assigning the issue to a milestone, or add the issue to a list on your Issue Board. Begin creating issues to see data for this stage." msgid "The issue stage shows the time it takes from creating an issue to assigning the issue to a milestone, or add the issue to a list on your Issue Board. Begin creating issues to see data for this stage."
msgstr "" msgstr ""
msgid "The number of attempts GitLab will make to access a storage." msgid "The maximum file size allowed is 200KB."
msgstr "" msgstr ""
msgid "The number of failures after which GitLab will start temporarily disabling access to a storage shard on a host" msgid "The number of attempts GitLab will make to access a storage."
msgstr "" msgstr ""
msgid "The number of failures of after which GitLab will completely prevent access to the storage. The number of failures can be reset in the admin interface: %{link_to_health_page} or using the %{api_documentation_link}." msgid "The number of failures of after which GitLab will completely prevent access to the storage. The number of failures can be reset in the admin interface: %{link_to_health_page} or using the %{api_documentation_link}."
...@@ -2226,9 +2376,6 @@ msgstr "" ...@@ -2226,9 +2376,6 @@ msgstr ""
msgid "The phase of the development lifecycle." msgid "The phase of the development lifecycle."
msgstr "" msgstr ""
msgid "The pipelines schedule runs pipelines in the future, repeatedly, for specific branches or tags. Those scheduled pipelines will inherit limited project access based on their associated user."
msgstr ""
msgid "The planning stage shows the time from the previous step to pushing your first commit. This time will be added automatically once you push your first commit." msgid "The planning stage shows the time from the previous step to pushing your first commit. This time will be added automatically once you push your first commit."
msgstr "" msgstr ""
...@@ -2259,16 +2406,25 @@ msgstr "" ...@@ -2259,16 +2406,25 @@ msgstr ""
msgid "The time in seconds GitLab will try to access storage. After this time a timeout error will be raised." msgid "The time in seconds GitLab will try to access storage. After this time a timeout error will be raised."
msgstr "" msgstr ""
msgid "The time in seconds between storage checks. When a previous check did complete yet, GitLab will skip a check."
msgstr ""
msgid "The time taken by each data entry gathered by that stage." msgid "The time taken by each data entry gathered by that stage."
msgstr "" msgstr ""
msgid "The value lying at the midpoint of a series of observed values. E.g., between 3, 5, 9, the median is 5. Between 3, 5, 7, 8, the median is (5+7)/2 = 6." msgid "The value lying at the midpoint of a series of observed values. E.g., between 3, 5, 9, the median is 5. Between 3, 5, 7, 8, the median is (5+7)/2 = 6."
msgstr "" msgstr ""
msgid "There are no issues to show"
msgstr ""
msgid "There are no merge requests to show"
msgstr ""
msgid "There are problems accessing Git storage: " msgid "There are problems accessing Git storage: "
msgstr "" msgstr ""
msgid "This branch has changed since you started editing. Would you like to create a new branch?" msgid "This directory"
msgstr "" msgstr ""
msgid "This is a confidential issue." msgid "This is a confidential issue."
...@@ -2283,12 +2439,36 @@ msgstr "" ...@@ -2283,12 +2439,36 @@ msgstr ""
msgid "This issue is locked." msgid "This issue is locked."
msgstr "" msgstr ""
msgid "This job depends on a user to trigger its process. Often they are used to deploy code to production environments"
msgstr ""
msgid "This job depends on upstream jobs that need to succeed in order for this job to be triggered"
msgstr ""
msgid "This job has not been triggered yet"
msgstr ""
msgid "This job has not started yet"
msgstr ""
msgid "This job is in pending state and is waiting to be picked by a runner"
msgstr ""
msgid "This job requires a manual action"
msgstr ""
msgid "This means you can not push code until you create an empty repository or import existing one." msgid "This means you can not push code until you create an empty repository or import existing one."
msgstr "" msgstr ""
msgid "This merge request is locked." msgid "This merge request is locked."
msgstr "" msgstr ""
msgid "This project"
msgstr ""
msgid "This repository"
msgstr ""
msgid "Time before an issue gets scheduled" msgid "Time before an issue gets scheduled"
msgstr "" msgstr ""
...@@ -2437,6 +2617,12 @@ msgstr[1] "" ...@@ -2437,6 +2617,12 @@ msgstr[1] ""
msgid "Time|s" msgid "Time|s"
msgstr "" msgstr ""
msgid "ToggleButton|Toggle Status: OFF"
msgstr ""
msgid "ToggleButton|Toggle Status: ON"
msgstr ""
msgid "Total Time" msgid "Total Time"
msgstr "" msgstr ""
...@@ -2446,6 +2632,12 @@ msgstr "" ...@@ -2446,6 +2632,12 @@ msgstr ""
msgid "Total test time for all commits/merges" msgid "Total test time for all commits/merges"
msgstr "" msgstr ""
msgid "Trigger this manual action"
msgstr ""
msgid "Unable to reset project cache."
msgstr ""
msgid "Unlock" msgid "Unlock"
msgstr "" msgstr ""
...@@ -2455,7 +2647,7 @@ msgstr "" ...@@ -2455,7 +2647,7 @@ msgstr ""
msgid "Unstar" msgid "Unstar"
msgstr "" msgstr ""
msgid "Unsubscribe" msgid "Up to date"
msgstr "" msgstr ""
msgid "Upload New File" msgid "Upload New File"
...@@ -2464,6 +2656,9 @@ msgstr "" ...@@ -2464,6 +2656,9 @@ msgstr ""
msgid "Upload file" msgid "Upload file"
msgstr "" msgstr ""
msgid "Upload new avatar"
msgstr ""
msgid "UploadLink|click to upload" msgid "UploadLink|click to upload"
msgstr "" msgstr ""
...@@ -2497,10 +2692,13 @@ msgstr "" ...@@ -2497,10 +2692,13 @@ msgstr ""
msgid "Want to see the data? Please ask an administrator for access." msgid "Want to see the data? Please ask an administrator for access."
msgstr "" msgstr ""
msgid "We could not verify that one of your projects on GCP has billing enabled. Please try again."
msgstr ""
msgid "We don't have enough data to show this stage." msgid "We don't have enough data to show this stage."
msgstr "" msgstr ""
msgid "When access to a storage fails. GitLab will prevent access to the storage for the time specified here. This allows the filesystem to recover. Repositories on failing shards are temporarly unavailable" msgid "We want to be sure it is you, please confirm you are not a robot."
msgstr "" msgstr ""
msgid "Wiki" msgid "Wiki"
...@@ -2623,9 +2821,15 @@ msgstr "" ...@@ -2623,9 +2821,15 @@ msgstr ""
msgid "You are on a read-only GitLab instance." msgid "You are on a read-only GitLab instance."
msgstr "" msgstr ""
msgid "You can also star a label to make it a priority label."
msgstr ""
msgid "You can only add files when you are on a branch" msgid "You can only add files when you are on a branch"
msgstr "" msgstr ""
msgid "You can only edit files when you are on a branch"
msgstr ""
msgid "You cannot write to this read-only GitLab instance." msgid "You cannot write to this read-only GitLab instance."
msgstr "" msgstr ""
...@@ -2662,6 +2866,9 @@ msgstr "" ...@@ -2662,6 +2866,9 @@ msgstr ""
msgid "You won't be able to pull or push project code via SSH until you add an SSH key to your profile" msgid "You won't be able to pull or push project code via SSH until you add an SSH key to your profile"
msgstr "" msgstr ""
msgid "You'll need to use different branch names to get a valid comparison."
msgstr ""
msgid "Your comment will not be visible to the public." msgid "Your comment will not be visible to the public."
msgstr "" msgstr ""
...@@ -2682,12 +2889,113 @@ msgid_plural "days" ...@@ -2682,12 +2889,113 @@ msgid_plural "days"
msgstr[0] "" msgstr[0] ""
msgstr[1] "" msgstr[1] ""
msgid "merge request"
msgid_plural "merge requests"
msgstr[0] ""
msgstr[1] ""
msgid "mrWidget|Cancel automatic merge"
msgstr ""
msgid "mrWidget|Checking ability to merge automatically"
msgstr ""
msgid "mrWidget|Cherry-pick"
msgstr ""
msgid "mrWidget|Cherry-pick this merge request in a new merge request"
msgstr ""
msgid "mrWidget|Closed by"
msgstr ""
msgid "mrWidget|Merge"
msgstr ""
msgid "mrWidget|Merge failed."
msgstr ""
msgid "mrWidget|Merge locally"
msgstr ""
msgid "mrWidget|Merged by"
msgstr ""
msgid "mrWidget|Refresh"
msgstr ""
msgid "mrWidget|Refresh now"
msgstr ""
msgid "mrWidget|Refreshing now"
msgstr ""
msgid "mrWidget|Remove Source Branch"
msgstr ""
msgid "mrWidget|Remove source branch"
msgstr ""
msgid "mrWidget|Resolve conflicts"
msgstr ""
msgid "mrWidget|Revert"
msgstr ""
msgid "mrWidget|Revert this merge request in a new merge request"
msgstr ""
msgid "mrWidget|Set by"
msgstr ""
msgid "mrWidget|The changes were merged into"
msgstr ""
msgid "mrWidget|The changes were not merged into"
msgstr ""
msgid "mrWidget|The changes will be merged into"
msgstr ""
msgid "mrWidget|The source branch has been removed"
msgstr ""
msgid "mrWidget|The source branch is being removed"
msgstr ""
msgid "mrWidget|The source branch will be removed"
msgstr ""
msgid "mrWidget|The source branch will not be removed"
msgstr ""
msgid "mrWidget|There are merge conflicts"
msgstr ""
msgid "mrWidget|This merge request failed to be merged automatically"
msgstr ""
msgid "mrWidget|This merge request is in the process of being merged"
msgstr ""
msgid "mrWidget|This project is archived, write access has been disabled"
msgstr ""
msgid "mrWidget|You can remove source branch now"
msgstr ""
msgid "mrWidget|to be merged automatically when the pipeline succeeds"
msgstr ""
msgid "new merge request" msgid "new merge request"
msgstr "" msgstr ""
msgid "notification emails" msgid "notification emails"
msgstr "" msgstr ""
msgid "or"
msgstr ""
msgid "parent" msgid "parent"
msgid_plural "parents" msgid_plural "parents"
msgstr[0] "" msgstr[0] ""
......
require 'spec_helper'
describe Admin::GitalyServersController do
describe '#index' do
before do
sign_in(create(:admin))
end
it 'shows the gitaly servers page' do
get :index
expect(response).to have_gitlab_http_status(200)
end
end
end
require 'spec_helper'
describe Gitaly::Server do
describe '.all' do
let(:storages) { Gitlab.config.repositories.storages }
it 'includes all storages' do
expect(storages.count).to eq(described_class.all.count)
expect(storages.keys).to eq(described_class.all.map(&:storage))
end
end
subject { described_class.all.first }
it { is_expected.to respond_to(:server_version) }
it { is_expected.to respond_to(:git_binary_version) }
it { is_expected.to respond_to(:up_to_date?) }
it { is_expected.to respond_to(:address) }
describe 'request memoization' do
context 'when requesting multiple properties', :request_store do
it 'uses memoization for the info request' do
expect do
subject.server_version
subject.up_to_date?
end.to change { Gitlab::GitalyClient.get_request_count }.by(1)
end
end
end
end
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