Skip to content
Snippets Groups Projects
Commit 09322516 authored by Marin Jankovski's avatar Marin Jankovski
Browse files

Fix spelling and typos.

parent c6600ffc
No related branches found
No related tags found
1 merge request!764Bundle registry
buildfrombranch:docker-registry
master
Loading
Loading
@@ -111,7 +111,7 @@ module Gitlab
 
def generate_registry_keypair
key = OpenSSL::PKey::RSA.new(4096)
subject = "/C=USA/O=GitLab/OU=Docker/CN=Registry"
subject = "/C=USA/O=GitLab/OU=Container/CN=Registry"
 
cert = OpenSSL::X509::Certificate.new
cert.subject = cert.issuer = OpenSSL::X509::Name.parse(subject)
Loading
Loading
@@ -379,7 +379,7 @@ module Gitlab
uri = URI(ci_external_url.to_s)
 
unless uri.host
raise "GitLab CI external URL must must include a schema and FQDN, e.g. http://ci.example.com/"
raise "GitLab CI external URL must include a schema and FQDN, e.g. http://ci.example.com/"
end
Gitlab['gitlab_ci']['gitlab_ci_host'] = uri.host
Gitlab['gitlab_ci']['gitlab_ci_email_from'] ||= "gitlab-ci@#{uri.host}"
Loading
Loading
@@ -420,7 +420,7 @@ module Gitlab
uri = URI(pages_external_url.to_s)
 
unless uri.host
raise "GitLab Pages external URL must must include a schema and FQDN, e.g. http://pages.example.com/"
raise "GitLab Pages external URL must include a schema and FQDN, e.g. http://pages.example.com/"
end
 
Gitlab['gitlab_rails']['pages_host'] = uri.host
Loading
Loading
@@ -466,7 +466,7 @@ module Gitlab
uri = URI(mattermost_external_url.to_s)
 
unless uri.host
raise "GitLab Mattermost external URL must must include a schema and FQDN, e.g. http://mattermost.example.com/"
raise "GitLab Mattermost external URL must include a schema and FQDN, e.g. http://mattermost.example.com/"
end
 
Gitlab['mattermost']['host'] = uri.host
Loading
Loading
@@ -507,7 +507,7 @@ module Gitlab
uri = URI(registry_external_url.to_s)
 
unless uri.host
raise "GitLab Registry external URL must must include a schema and FQDN, e.g. https://registry.example.com/"
raise "GitLab Container Registry external URL must include a schema and FQDN, e.g. https://registry.example.com/"
end
 
if registry['enable'].nil?
Loading
Loading
Loading
Loading
@@ -30,7 +30,7 @@ gitlab_ci_dir = node['gitlab']['gitlab-ci']['dir']
gitlab_ci_builds_dir = node['gitlab']['gitlab-ci']['builds_directory']
upgrade_status_dir = File.join(gitlab_rails_dir, "upgrade-status")
 
# Set path to the private key used for communication betwee registry and Gitlab.
# Set path to the private key used for communication between registry and Gitlab.
node.default['gitlab']['gitlab-rails']['registry_key_path'] = File.join(gitlab_rails_etc_dir, "gitlab-registry.key")
 
ssh_dir = File.join(node['gitlab']['user']['home'], ".ssh")
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment