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
Boxiang Sun
gitlab-ce
Commits
2d2d6cb5
Commit
2d2d6cb5
authored
Nov 22, 2018
by
Tomasz Maczukin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update used version of Runner Helm Chart to 0.1.38
parent
d993f4b1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
app/models/clusters/applications/runner.rb
app/models/clusters/applications/runner.rb
+1
-1
spec/models/clusters/applications/runner_spec.rb
spec/models/clusters/applications/runner_spec.rb
+3
-3
No files found.
app/models/clusters/applications/runner.rb
View file @
2d2d6cb5
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
module
Clusters
module
Clusters
module
Applications
module
Applications
class
Runner
<
ActiveRecord
::
Base
class
Runner
<
ActiveRecord
::
Base
VERSION
=
'0.1.3
5
'
.
freeze
VERSION
=
'0.1.3
8
'
.
freeze
self
.
table_name
=
'clusters_applications_runners'
self
.
table_name
=
'clusters_applications_runners'
...
...
spec/models/clusters/applications/runner_spec.rb
View file @
2d2d6cb5
...
@@ -18,7 +18,7 @@ describe Clusters::Applications::Runner do
...
@@ -18,7 +18,7 @@ describe Clusters::Applications::Runner do
let
(
:application
)
{
create
(
:clusters_applications_runner
,
:scheduled
,
version:
'0.1.30'
)
}
let
(
:application
)
{
create
(
:clusters_applications_runner
,
:scheduled
,
version:
'0.1.30'
)
}
it
'updates the application version'
do
it
'updates the application version'
do
expect
(
application
.
reload
.
version
).
to
eq
(
'0.1.3
5
'
)
expect
(
application
.
reload
.
version
).
to
eq
(
'0.1.3
8
'
)
end
end
end
end
end
end
...
@@ -46,7 +46,7 @@ describe Clusters::Applications::Runner do
...
@@ -46,7 +46,7 @@ describe Clusters::Applications::Runner do
it
'should be initialized with 4 arguments'
do
it
'should be initialized with 4 arguments'
do
expect
(
subject
.
name
).
to
eq
(
'runner'
)
expect
(
subject
.
name
).
to
eq
(
'runner'
)
expect
(
subject
.
chart
).
to
eq
(
'runner/gitlab-runner'
)
expect
(
subject
.
chart
).
to
eq
(
'runner/gitlab-runner'
)
expect
(
subject
.
version
).
to
eq
(
'0.1.3
5
'
)
expect
(
subject
.
version
).
to
eq
(
'0.1.3
8
'
)
expect
(
subject
).
not_to
be_rbac
expect
(
subject
).
not_to
be_rbac
expect
(
subject
.
repository
).
to
eq
(
'https://charts.gitlab.io'
)
expect
(
subject
.
repository
).
to
eq
(
'https://charts.gitlab.io'
)
expect
(
subject
.
files
).
to
eq
(
gitlab_runner
.
files
)
expect
(
subject
.
files
).
to
eq
(
gitlab_runner
.
files
)
...
@@ -64,7 +64,7 @@ describe Clusters::Applications::Runner do
...
@@ -64,7 +64,7 @@ describe Clusters::Applications::Runner do
let
(
:gitlab_runner
)
{
create
(
:clusters_applications_runner
,
:errored
,
runner:
ci_runner
,
version:
'0.1.13'
)
}
let
(
:gitlab_runner
)
{
create
(
:clusters_applications_runner
,
:errored
,
runner:
ci_runner
,
version:
'0.1.13'
)
}
it
'should be initialized with the locked version'
do
it
'should be initialized with the locked version'
do
expect
(
subject
.
version
).
to
eq
(
'0.1.3
5
'
)
expect
(
subject
.
version
).
to
eq
(
'0.1.3
8
'
)
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