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
e5d0b1ed
Commit
e5d0b1ed
authored
Feb 20, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
b37f5b87
9c7363db
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
5 deletions
+12
-5
changelogs/unreleased/gitlab_kubernetes_helm_bump.yml
changelogs/unreleased/gitlab_kubernetes_helm_bump.yml
+5
-0
lib/gitlab/kubernetes/helm.rb
lib/gitlab/kubernetes/helm.rb
+2
-2
qa/qa/runtime/namespace.rb
qa/qa/runtime/namespace.rb
+3
-1
qa/qa/specs/features/browser_ui/3_create/merge_request/squash_merge_request_spec.rb
...er_ui/3_create/merge_request/squash_merge_request_spec.rb
+1
-1
spec/lib/gitlab/kubernetes/helm/pod_spec.rb
spec/lib/gitlab/kubernetes/helm/pod_spec.rb
+1
-1
No files found.
changelogs/unreleased/gitlab_kubernetes_helm_bump.yml
0 → 100644
View file @
e5d0b1ed
---
title
:
Bump Helm and kubectl used in Kubernetes integration to 2.12.3 and 1.11.7 respectively
merge_request
:
25268
author
:
type
:
other
lib/gitlab/kubernetes/helm.rb
View file @
e5d0b1ed
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
module
Gitlab
module
Gitlab
module
Kubernetes
module
Kubernetes
module
Helm
module
Helm
HELM_VERSION
=
'2.12.
2
'
.
freeze
HELM_VERSION
=
'2.12.
3
'
.
freeze
KUBECTL_VERSION
=
'1.11.
0
'
.
freeze
KUBECTL_VERSION
=
'1.11.
7
'
.
freeze
NAMESPACE
=
'gitlab-managed-apps'
.
freeze
NAMESPACE
=
'gitlab-managed-apps'
.
freeze
SERVICE_ACCOUNT
=
'tiller'
.
freeze
SERVICE_ACCOUNT
=
'tiller'
.
freeze
CLUSTER_ROLE_BINDING
=
'tiller-admin'
.
freeze
CLUSTER_ROLE_BINDING
=
'tiller-admin'
.
freeze
...
...
qa/qa/runtime/namespace.rb
View file @
e5d0b1ed
...
@@ -8,7 +8,9 @@ module QA
...
@@ -8,7 +8,9 @@ module QA
end
end
def
name
def
name
Runtime
::
Env
.
namespace_name
||
"qa-test-
#{
time
.
strftime
(
'%Y-%m-%d-%H-%M-%S'
)
}
"
# If any changes are made to the name tag, following script has to be considered:
# https://ops.gitlab.net/gitlab-com/gl-infra/traffic-generator/blob/master/bin/janitor.bash
@name
||=
Runtime
::
Env
.
namespace_name
||
"qa-test-
#{
time
.
strftime
(
'%Y-%m-%d-%H-%M-%S'
)
}
-
#{
SecureRandom
.
hex
(
8
)
}
"
end
end
def
path
def
path
...
...
qa/qa/specs/features/browser_ui/3_create/merge_request/squash_merge_request_spec.rb
View file @
e5d0b1ed
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
module
QA
module
QA
# Failure issue: https://gitlab.com/gitlab-org/quality/staging/issues/31
# Failure issue: https://gitlab.com/gitlab-org/quality/staging/issues/31
context
'Create'
,
:quarantine
do
context
'Create'
do
describe
'Merge request squashing'
do
describe
'Merge request squashing'
do
it
'user squashes commits while merging'
do
it
'user squashes commits while merging'
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
...
...
spec/lib/gitlab/kubernetes/helm/pod_spec.rb
View file @
e5d0b1ed
...
@@ -30,7 +30,7 @@ describe Gitlab::Kubernetes::Helm::Pod do
...
@@ -30,7 +30,7 @@ describe Gitlab::Kubernetes::Helm::Pod do
it
'should generate the appropriate specifications for the container'
do
it
'should generate the appropriate specifications for the container'
do
container
=
subject
.
generate
.
spec
.
containers
.
first
container
=
subject
.
generate
.
spec
.
containers
.
first
expect
(
container
.
name
).
to
eq
(
'helm'
)
expect
(
container
.
name
).
to
eq
(
'helm'
)
expect
(
container
.
image
).
to
eq
(
'registry.gitlab.com/gitlab-org/cluster-integration/helm-install-image/releases/2.12.
2-kube-1.11.0
'
)
expect
(
container
.
image
).
to
eq
(
'registry.gitlab.com/gitlab-org/cluster-integration/helm-install-image/releases/2.12.
3-kube-1.11.7
'
)
expect
(
container
.
env
.
count
).
to
eq
(
3
)
expect
(
container
.
env
.
count
).
to
eq
(
3
)
expect
(
container
.
env
.
map
(
&
:name
)).
to
match_array
([
:HELM_VERSION
,
:TILLER_NAMESPACE
,
:COMMAND_SCRIPT
])
expect
(
container
.
env
.
map
(
&
:name
)).
to
match_array
([
:HELM_VERSION
,
:TILLER_NAMESPACE
,
:COMMAND_SCRIPT
])
expect
(
container
.
command
).
to
match_array
([
"/bin/sh"
])
expect
(
container
.
command
).
to
match_array
([
"/bin/sh"
])
...
...
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