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
1d241206
Commit
1d241206
authored
Dec 11, 2018
by
Chris Baumbauer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upgrade Knative from 0.1.3 to 0.2.2
parent
185f8a5d
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/knative.rb
app/models/clusters/applications/knative.rb
+1
-1
changelogs/unreleased/triggermesh-knative-version.yml
changelogs/unreleased/triggermesh-knative-version.yml
+5
-0
spec/models/clusters/applications/knative_spec.rb
spec/models/clusters/applications/knative_spec.rb
+3
-3
No files found.
app/models/clusters/applications/knative.rb
View file @
1d241206
...
...
@@ -3,7 +3,7 @@
module
Clusters
module
Applications
class
Knative
<
ActiveRecord
::
Base
VERSION
=
'0.
1.3
'
.
freeze
VERSION
=
'0.
2.2
'
.
freeze
REPOSITORY
=
'https://storage.googleapis.com/triggermesh-charts'
.
freeze
FETCH_IP_ADDRESS_DELAY
=
30
.
seconds
...
...
changelogs/unreleased/triggermesh-knative-version.yml
0 → 100644
View file @
1d241206
---
title
:
Knative version bump 0.1.3 -> 0.2.2
merge_request
:
author
:
Chris Baumbauer
type
:
changed
spec/models/clusters/applications/knative_spec.rb
View file @
1d241206
...
...
@@ -33,10 +33,10 @@ describe Clusters::Applications::Knative do
end
context
'application install previously errored with older version'
do
let
(
:application
)
{
create
(
:clusters_applications_knative
,
:scheduled
,
version:
'0.
1.3
'
)
}
let
(
:application
)
{
create
(
:clusters_applications_knative
,
:scheduled
,
version:
'0.
2.2
'
)
}
it
'updates the application version'
do
expect
(
application
.
reload
.
version
).
to
eq
(
'0.
1.3
'
)
expect
(
application
.
reload
.
version
).
to
eq
(
'0.
2.2
'
)
end
end
end
...
...
@@ -105,7 +105,7 @@ describe Clusters::Applications::Knative do
it
'should be initialized with knative arguments'
do
expect
(
subject
.
name
).
to
eq
(
'knative'
)
expect
(
subject
.
chart
).
to
eq
(
'knative/knative'
)
expect
(
subject
.
version
).
to
eq
(
'0.
1.3
'
)
expect
(
subject
.
version
).
to
eq
(
'0.
2.2
'
)
expect
(
subject
.
files
).
to
eq
(
knative
.
files
)
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