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
8fb86a73
Commit
8fb86a73
authored
Jan 08, 2019
by
Thong Kuah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bump nginx-ingress chart to 1.1.2
parent
4a6c7661
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
app/models/clusters/applications/ingress.rb
app/models/clusters/applications/ingress.rb
+1
-1
changelogs/unreleased/bump-ingress-chart-112.yml
changelogs/unreleased/bump-ingress-chart-112.yml
+5
-0
spec/models/clusters/applications/ingress_spec.rb
spec/models/clusters/applications/ingress_spec.rb
+3
-3
No files found.
app/models/clusters/applications/ingress.rb
View file @
8fb86a73
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
module
Clusters
module
Clusters
module
Applications
module
Applications
class
Ingress
<
ActiveRecord
::
Base
class
Ingress
<
ActiveRecord
::
Base
VERSION
=
'
0.23.0
'
.
freeze
VERSION
=
'
1.1.2
'
.
freeze
self
.
table_name
=
'clusters_applications_ingress'
self
.
table_name
=
'clusters_applications_ingress'
...
...
changelogs/unreleased/bump-ingress-chart-112.yml
0 → 100644
View file @
8fb86a73
---
title
:
Bump nginx-ingress chart to 1.1.2
merge_request
:
24203
author
:
type
:
other
spec/models/clusters/applications/ingress_spec.rb
View file @
8fb86a73
...
@@ -35,7 +35,7 @@ describe Clusters::Applications::Ingress do
...
@@ -35,7 +35,7 @@ describe Clusters::Applications::Ingress do
let
(
:application
)
{
create
(
:clusters_applications_ingress
,
:scheduled
,
version:
'0.22.0'
)
}
let
(
:application
)
{
create
(
:clusters_applications_ingress
,
:scheduled
,
version:
'0.22.0'
)
}
it
'updates the application version'
do
it
'updates the application version'
do
expect
(
application
.
reload
.
version
).
to
eq
(
'
0.23.0
'
)
expect
(
application
.
reload
.
version
).
to
eq
(
'
1.1.2
'
)
end
end
end
end
end
end
...
@@ -90,7 +90,7 @@ describe Clusters::Applications::Ingress do
...
@@ -90,7 +90,7 @@ describe Clusters::Applications::Ingress do
it
'should be initialized with ingress arguments'
do
it
'should be initialized with ingress arguments'
do
expect
(
subject
.
name
).
to
eq
(
'ingress'
)
expect
(
subject
.
name
).
to
eq
(
'ingress'
)
expect
(
subject
.
chart
).
to
eq
(
'stable/nginx-ingress'
)
expect
(
subject
.
chart
).
to
eq
(
'stable/nginx-ingress'
)
expect
(
subject
.
version
).
to
eq
(
'
0.23.0
'
)
expect
(
subject
.
version
).
to
eq
(
'
1.1.2
'
)
expect
(
subject
).
to
be_rbac
expect
(
subject
).
to
be_rbac
expect
(
subject
.
files
).
to
eq
(
ingress
.
files
)
expect
(
subject
.
files
).
to
eq
(
ingress
.
files
)
end
end
...
@@ -107,7 +107,7 @@ describe Clusters::Applications::Ingress do
...
@@ -107,7 +107,7 @@ describe Clusters::Applications::Ingress do
let
(
:ingress
)
{
create
(
:clusters_applications_ingress
,
:errored
,
version:
'nginx'
)
}
let
(
:ingress
)
{
create
(
:clusters_applications_ingress
,
:errored
,
version:
'nginx'
)
}
it
'should be initialized with the locked version'
do
it
'should be initialized with the locked version'
do
expect
(
subject
.
version
).
to
eq
(
'
0.23.0
'
)
expect
(
subject
.
version
).
to
eq
(
'
1.1.2
'
)
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