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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
9eed610f
Commit
9eed610f
authored
Jan 25, 2018
by
Fabio Busatto
Committed by
Rémy Coutable
Jan 25, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve "Link to Clusters in Auto DevOps instead of Kubernetes service"
parent
567b3826
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
13 deletions
+17
-13
app/helpers/auto_devops_helper.rb
app/helpers/auto_devops_helper.rb
+3
-3
changelogs/unreleased/42053-link-to-clusters-in-auto-devops-instead-of-kubernetes-service.yml
...clusters-in-auto-devops-instead-of-kubernetes-service.yml
+5
-0
doc/topics/autodevops/index.md
doc/topics/autodevops/index.md
+3
-4
locale/gitlab.pot
locale/gitlab.pot
+2
-2
spec/views/projects/pipelines_settings/_show.html.haml_spec.rb
...views/projects/pipelines_settings/_show.html.haml_spec.rb
+4
-4
No files found.
app/helpers/auto_devops_helper.rb
View file @
9eed610f
...
@@ -14,13 +14,13 @@ module AutoDevopsHelper
...
@@ -14,13 +14,13 @@ module AutoDevopsHelper
if
missing_service
if
missing_service
params
=
{
params
=
{
kubernetes:
link_to
(
'Kubernetes
service'
,
edit_project_service_path
(
project
,
'kubernetes'
))
kubernetes:
link_to
(
'Kubernetes
cluster'
,
project_clusters_path
(
project
))
}
}
if
missing_domain
if
missing_domain
_
(
'Auto Review Apps and Auto Deploy need a domain name and
the
%{kubernetes} to work correctly.'
)
%
params
_
(
'Auto Review Apps and Auto Deploy need a domain name and
a
%{kubernetes} to work correctly.'
)
%
params
else
else
_
(
'Auto Review Apps and Auto Deploy need
the
%{kubernetes} to work correctly.'
)
%
params
_
(
'Auto Review Apps and Auto Deploy need
a
%{kubernetes} to work correctly.'
)
%
params
end
end
elsif
missing_domain
elsif
missing_domain
_
(
'Auto Review Apps and Auto Deploy need a domain name to work correctly.'
)
_
(
'Auto Review Apps and Auto Deploy need a domain name to work correctly.'
)
...
...
changelogs/unreleased/42053-link-to-clusters-in-auto-devops-instead-of-kubernetes-service.yml
0 → 100644
View file @
9eed610f
---
title
:
Link Auto DevOps settings to Clusters page
merge_request
:
16641
author
:
type
:
changed
doc/topics/autodevops/index.md
View file @
9eed610f
...
@@ -66,9 +66,8 @@ To make full use of Auto DevOps, you will need:
...
@@ -66,9 +66,8 @@ To make full use of Auto DevOps, you will need:
a domain configured with wildcard DNS which is gonna be used by all of your
a domain configured with wildcard DNS which is gonna be used by all of your
Auto DevOps applications.
[
Read the specifics
](
#auto-devops-base-domain
)
.
Auto DevOps applications.
[
Read the specifics
](
#auto-devops-base-domain
)
.
1.
**Kubernetes**
(needed for Auto Review Apps, Auto Deploy, and Auto Monitoring) -
1.
**Kubernetes**
(needed for Auto Review Apps, Auto Deploy, and Auto Monitoring) -
To enable deployments, you will need Kubernetes 1.5+. The
[
Kubernetes service
][
kubernetes-service
]
To enable deployments, you will need Kubernetes 1.5+. You need a
[
Kubernetes cluster
][
kubernetes-clusters
]
integration will need to be enabled for the project, or enabled as a
for the project, or a Kubernetes
[
default service template
](
../../user/project/integrations/services_templates.md
)
[
default service template
](
../../user/project/integrations/services_templates.md
)
for the entire GitLab installation.
for the entire GitLab installation.
1.
**A load balancer**
- You can use NGINX ingress by deploying it to your
1.
**A load balancer**
- You can use NGINX ingress by deploying it to your
Kubernetes cluster using the
Kubernetes cluster using the
...
@@ -587,7 +586,7 @@ curl --data "value=true" --header "PRIVATE-TOKEN: personal_access_token" https:/
...
@@ -587,7 +586,7 @@ curl --data "value=true" --header "PRIVATE-TOKEN: personal_access_token" https:/
```
```
[
ce-37115
]:
https://gitlab.com/gitlab-org/gitlab-ce/issues/37115
[
ce-37115
]:
https://gitlab.com/gitlab-org/gitlab-ce/issues/37115
[
kubernetes-
service
]:
../../user/project/integrations/kubernetes
.md
[
kubernetes-
clusters
]:
../../user/project/clusters/index
.md
[
docker-in-docker
]:
../../docker/using_docker_build.md#use-docker-in-docker-executor
[
docker-in-docker
]:
../../docker/using_docker_build.md#use-docker-in-docker-executor
[
review-app
]:
../../ci/review_apps/index.md
[
review-app
]:
../../ci/review_apps/index.md
[
container-registry
]:
../../user/project/container_registry.md
[
container-registry
]:
../../user/project/container_registry.md
...
...
locale/gitlab.pot
View file @
9eed610f
...
@@ -186,13 +186,13 @@ msgstr ""
...
@@ -186,13 +186,13 @@ msgstr ""
msgid "Author"
msgid "Author"
msgstr ""
msgstr ""
msgid "Auto Review Apps and Auto Deploy need a domain name and
the
%{kubernetes} 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 domain name to work correctly."
msgid "Auto Review Apps and Auto Deploy need a domain name to work correctly."
msgstr ""
msgstr ""
msgid "Auto Review Apps and Auto Deploy need
the
%{kubernetes} to work correctly."
msgid "Auto Review Apps and Auto Deploy need
a
%{kubernetes} to work correctly."
msgstr ""
msgstr ""
msgid "AutoDevOps|Auto DevOps (Beta)"
msgid "AutoDevOps|Auto DevOps (Beta)"
...
...
spec/views/projects/pipelines_settings/_show.html.haml_spec.rb
View file @
9eed610f
...
@@ -13,8 +13,8 @@ describe 'projects/pipelines_settings/_show' do
...
@@ -13,8 +13,8 @@ describe 'projects/pipelines_settings/_show' do
render
render
expect
(
rendered
).
to
have_css
(
'.settings-message'
)
expect
(
rendered
).
to
have_css
(
'.settings-message'
)
expect
(
rendered
).
to
have_text
(
'Auto Review Apps and Auto Deploy need a domain name and
the
'
)
expect
(
rendered
).
to
have_text
(
'Auto Review Apps and Auto Deploy need a domain name and
a
'
)
expect
(
rendered
).
to
have_link
(
'Kubernetes
service
'
)
expect
(
rendered
).
to
have_link
(
'Kubernetes
cluster
'
)
end
end
end
end
...
@@ -27,8 +27,8 @@ describe 'projects/pipelines_settings/_show' do
...
@@ -27,8 +27,8 @@ describe 'projects/pipelines_settings/_show' do
render
render
expect
(
rendered
).
to
have_css
(
'.settings-message'
)
expect
(
rendered
).
to
have_css
(
'.settings-message'
)
expect
(
rendered
).
to
have_text
(
'Auto Review Apps and Auto Deploy need
the
'
)
expect
(
rendered
).
to
have_text
(
'Auto Review Apps and Auto Deploy need
a
'
)
expect
(
rendered
).
to
have_link
(
'Kubernetes
service
'
)
expect
(
rendered
).
to
have_link
(
'Kubernetes
cluster
'
)
end
end
end
end
end
end
...
...
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