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
58844fcb
Commit
58844fcb
authored
Oct 23, 2018
by
Tomasz Maczukin
Committed by
Kamil Trzciński
Oct 23, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Runner Chart to 0.1.35
parent
a84469a3
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
app/models/clusters/applications/runner.rb
app/models/clusters/applications/runner.rb
+1
-1
changelogs/unreleased/update-runner-chart-to-0-1-35.yml
changelogs/unreleased/update-runner-chart-to-0-1-35.yml
+5
-0
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 @
58844fcb
...
@@ -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
4
'
.
freeze
VERSION
=
'0.1.3
5
'
.
freeze
self
.
table_name
=
'clusters_applications_runners'
self
.
table_name
=
'clusters_applications_runners'
...
...
changelogs/unreleased/update-runner-chart-to-0-1-35.yml
0 → 100644
View file @
58844fcb
---
title
:
Update used version of Runner Helm Chart to 0.1.35
merge_request
:
22541
author
:
type
:
other
spec/models/clusters/applications/runner_spec.rb
View file @
58844fcb
...
@@ -17,7 +17,7 @@ describe Clusters::Applications::Runner do
...
@@ -17,7 +17,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
4
'
)
expect
(
application
.
reload
.
version
).
to
eq
(
'0.1.3
5
'
)
end
end
end
end
end
end
...
@@ -45,7 +45,7 @@ describe Clusters::Applications::Runner do
...
@@ -45,7 +45,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
4
'
)
expect
(
subject
.
version
).
to
eq
(
'0.1.3
5
'
)
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
)
...
@@ -63,7 +63,7 @@ describe Clusters::Applications::Runner do
...
@@ -63,7 +63,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
4
'
)
expect
(
subject
.
version
).
to
eq
(
'0.1.3
5
'
)
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