Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
a5f50a52
Commit
a5f50a52
authored
Jul 31, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
8be301fe
7f198de9
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
16 additions
and
11 deletions
+16
-11
app/views/projects/mirrors/_instructions.html.haml
app/views/projects/mirrors/_instructions.html.haml
+1
-1
changelogs/unreleased/jramsay-fix-mirroring-help-text-typo.yml
...elogs/unreleased/jramsay-fix-mirroring-help-text-typo.yml
+5
-0
spec/controllers/admin/clusters/applications_controller_spec.rb
...ontrollers/admin/clusters/applications_controller_spec.rb
+1
-1
spec/controllers/groups/clusters/applications_controller_spec.rb
...ntrollers/groups/clusters/applications_controller_spec.rb
+1
-1
spec/factories/clusters/applications/helm.rb
spec/factories/clusters/applications/helm.rb
+1
-1
spec/lib/gitlab/usage_data_spec.rb
spec/lib/gitlab/usage_data_spec.rb
+1
-1
spec/models/clusters/applications/cert_manager_spec.rb
spec/models/clusters/applications/cert_manager_spec.rb
+5
-5
spec/models/clusters/cluster_spec.rb
spec/models/clusters/cluster_spec.rb
+1
-1
No files found.
app/views/projects/mirrors/_instructions.html.haml
View file @
a5f50a52
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
%ul
%ul
%li
%li
=
_
(
'
The
repository
must
be
accessible
over
<
code
>
http
:/
/<
/code>,
=
_
(
'
The
repository
must
be
accessible
over
<
code
>
http
:/
/<
/code>,
<code>https:/
/<
/code>, <code>ssh:/
/<
/code>
and
<code>git:/
/<
/code>.').html_safe
<code>https:/
/<
/code>, <code>ssh:/
/<
/code>
or
<code>git:/
/<
/code>.').html_safe
%li
=
_
(
'Include the username in the URL if required: <code>https://username@gitlab.company.com/group/project.git</code>.'
).
html_safe
%li
=
_
(
'Include the username in the URL if required: <code>https://username@gitlab.company.com/group/project.git</code>.'
).
html_safe
%li
%li
-
minutes
=
Gitlab
.
config
.
gitlab_shell
.
git_timeout
/
60
-
minutes
=
Gitlab
.
config
.
gitlab_shell
.
git_timeout
/
60
...
...
changelogs/unreleased/jramsay-fix-mirroring-help-text-typo.yml
0 → 100644
View file @
a5f50a52
---
title
:
Fix mirroring help text
merge_request
:
31348
author
:
jramsay
type
:
other
spec/controllers/admin/clusters/applications_controller_spec.rb
View file @
a5f50a52
...
@@ -84,7 +84,7 @@ describe Admin::Clusters::ApplicationsController do
...
@@ -84,7 +84,7 @@ describe Admin::Clusters::ApplicationsController do
patch
:update
,
params:
params
patch
:update
,
params:
params
end
end
let!
(
:application
)
{
create
(
:clusters_applications_cert_manager
s
,
:installed
,
cluster:
cluster
)
}
let!
(
:application
)
{
create
(
:clusters_applications_cert_manager
,
:installed
,
cluster:
cluster
)
}
let
(
:application_name
)
{
application
.
name
}
let
(
:application_name
)
{
application
.
name
}
let
(
:params
)
{
{
application:
application_name
,
id:
cluster
.
id
,
email:
"new-email@example.com"
}
}
let
(
:params
)
{
{
application:
application_name
,
id:
cluster
.
id
,
email:
"new-email@example.com"
}
}
...
...
spec/controllers/groups/clusters/applications_controller_spec.rb
View file @
a5f50a52
...
@@ -91,7 +91,7 @@ describe Groups::Clusters::ApplicationsController do
...
@@ -91,7 +91,7 @@ describe Groups::Clusters::ApplicationsController do
patch
:update
,
params:
params
.
merge
(
group_id:
group
)
patch
:update
,
params:
params
.
merge
(
group_id:
group
)
end
end
let!
(
:application
)
{
create
(
:clusters_applications_cert_manager
s
,
:installed
,
cluster:
cluster
)
}
let!
(
:application
)
{
create
(
:clusters_applications_cert_manager
,
:installed
,
cluster:
cluster
)
}
let
(
:application_name
)
{
application
.
name
}
let
(
:application_name
)
{
application
.
name
}
let
(
:params
)
{
{
application:
application_name
,
id:
cluster
.
id
,
email:
"new-email@example.com"
}
}
let
(
:params
)
{
{
application:
application_name
,
id:
cluster
.
id
,
email:
"new-email@example.com"
}
}
...
...
spec/factories/clusters/applications/helm.rb
View file @
a5f50a52
...
@@ -60,7 +60,7 @@ FactoryBot.define do
...
@@ -60,7 +60,7 @@ FactoryBot.define do
cluster
factory:
%i(cluster with_installed_helm provided_by_gcp)
cluster
factory:
%i(cluster with_installed_helm provided_by_gcp)
end
end
factory
:clusters_applications_cert_manager
s
,
class:
Clusters
::
Applications
::
CertManager
do
factory
:clusters_applications_cert_manager
,
class:
Clusters
::
Applications
::
CertManager
do
email
'admin@example.com'
email
'admin@example.com'
cluster
factory:
%i(cluster with_installed_helm provided_by_gcp)
cluster
factory:
%i(cluster with_installed_helm provided_by_gcp)
end
end
...
...
spec/lib/gitlab/usage_data_spec.rb
View file @
a5f50a52
...
@@ -24,7 +24,7 @@ describe Gitlab::UsageData do
...
@@ -24,7 +24,7 @@ describe Gitlab::UsageData do
create
(
:cluster
,
:group
,
:disabled
)
create
(
:cluster
,
:group
,
:disabled
)
create
(
:clusters_applications_helm
,
:installed
,
cluster:
gcp_cluster
)
create
(
:clusters_applications_helm
,
:installed
,
cluster:
gcp_cluster
)
create
(
:clusters_applications_ingress
,
:installed
,
cluster:
gcp_cluster
)
create
(
:clusters_applications_ingress
,
:installed
,
cluster:
gcp_cluster
)
create
(
:clusters_applications_cert_manager
s
,
:installed
,
cluster:
gcp_cluster
)
create
(
:clusters_applications_cert_manager
,
:installed
,
cluster:
gcp_cluster
)
create
(
:clusters_applications_prometheus
,
:installed
,
cluster:
gcp_cluster
)
create
(
:clusters_applications_prometheus
,
:installed
,
cluster:
gcp_cluster
)
create
(
:clusters_applications_runner
,
:installed
,
cluster:
gcp_cluster
)
create
(
:clusters_applications_runner
,
:installed
,
cluster:
gcp_cluster
)
create
(
:clusters_applications_knative
,
:installed
,
cluster:
gcp_cluster
)
create
(
:clusters_applications_knative
,
:installed
,
cluster:
gcp_cluster
)
...
...
spec/models/clusters/applications/cert_manager_spec.rb
View file @
a5f50a52
...
@@ -3,11 +3,11 @@
...
@@ -3,11 +3,11 @@
require
'rails_helper'
require
'rails_helper'
describe
Clusters
::
Applications
::
CertManager
do
describe
Clusters
::
Applications
::
CertManager
do
let
(
:cert_manager
)
{
create
(
:clusters_applications_cert_manager
s
)
}
let
(
:cert_manager
)
{
create
(
:clusters_applications_cert_manager
)
}
include_examples
'cluster application core specs'
,
:clusters_applications_cert_manager
s
include_examples
'cluster application core specs'
,
:clusters_applications_cert_manager
include_examples
'cluster application status specs'
,
:clusters_applications_cert_manager
s
include_examples
'cluster application status specs'
,
:clusters_applications_cert_manager
include_examples
'cluster application version specs'
,
:clusters_applications_cert_manager
s
include_examples
'cluster application version specs'
,
:clusters_applications_cert_manager
include_examples
'cluster application initial status specs'
include_examples
'cluster application initial status specs'
describe
'#can_uninstall?'
do
describe
'#can_uninstall?'
do
...
@@ -72,7 +72,7 @@ describe Clusters::Applications::CertManager do
...
@@ -72,7 +72,7 @@ describe Clusters::Applications::CertManager do
end
end
context
'application failed to install previously'
do
context
'application failed to install previously'
do
let
(
:cert_manager
)
{
create
(
:clusters_applications_cert_manager
s
,
:errored
,
version:
'0.0.1'
)
}
let
(
:cert_manager
)
{
create
(
:clusters_applications_cert_manager
,
:errored
,
version:
'0.0.1'
)
}
it
'is initialized with the locked version'
do
it
'is initialized with the locked version'
do
expect
(
subject
.
version
).
to
eq
(
'v0.5.2'
)
expect
(
subject
.
version
).
to
eq
(
'v0.5.2'
)
...
...
spec/models/clusters/cluster_spec.rb
View file @
a5f50a52
...
@@ -451,7 +451,7 @@ describe Clusters::Cluster, :use_clean_rails_memory_store_caching do
...
@@ -451,7 +451,7 @@ describe Clusters::Cluster, :use_clean_rails_memory_store_caching do
context
'when applications are created'
do
context
'when applications are created'
do
let!
(
:helm
)
{
create
(
:clusters_applications_helm
,
cluster:
cluster
)
}
let!
(
:helm
)
{
create
(
:clusters_applications_helm
,
cluster:
cluster
)
}
let!
(
:ingress
)
{
create
(
:clusters_applications_ingress
,
cluster:
cluster
)
}
let!
(
:ingress
)
{
create
(
:clusters_applications_ingress
,
cluster:
cluster
)
}
let!
(
:cert_manager
)
{
create
(
:clusters_applications_cert_manager
s
,
cluster:
cluster
)
}
let!
(
:cert_manager
)
{
create
(
:clusters_applications_cert_manager
,
cluster:
cluster
)
}
let!
(
:prometheus
)
{
create
(
:clusters_applications_prometheus
,
cluster:
cluster
)
}
let!
(
:prometheus
)
{
create
(
:clusters_applications_prometheus
,
cluster:
cluster
)
}
let!
(
:runner
)
{
create
(
:clusters_applications_runner
,
cluster:
cluster
)
}
let!
(
:runner
)
{
create
(
:clusters_applications_runner
,
cluster:
cluster
)
}
let!
(
:jupyter
)
{
create
(
:clusters_applications_jupyter
,
cluster:
cluster
)
}
let!
(
:jupyter
)
{
create
(
:clusters_applications_jupyter
,
cluster:
cluster
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment