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
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
Show 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 @@
...
@@ -3,7 +3,7 @@
module
Clusters
module
Clusters
module
Applications
module
Applications
class
Knative
<
ActiveRecord
::
Base
class
Knative
<
ActiveRecord
::
Base
VERSION
=
'0.
1.3
'
.
freeze
VERSION
=
'0.
2.2
'
.
freeze
REPOSITORY
=
'https://storage.googleapis.com/triggermesh-charts'
.
freeze
REPOSITORY
=
'https://storage.googleapis.com/triggermesh-charts'
.
freeze
FETCH_IP_ADDRESS_DELAY
=
30
.
seconds
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
...
@@ -33,10 +33,10 @@ describe Clusters::Applications::Knative do
end
end
context
'application install previously errored with older version'
do
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
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
end
end
end
...
@@ -105,7 +105,7 @@ describe Clusters::Applications::Knative do
...
@@ -105,7 +105,7 @@ describe Clusters::Applications::Knative do
it
'should be initialized with knative arguments'
do
it
'should be initialized with knative arguments'
do
expect
(
subject
.
name
).
to
eq
(
'knative'
)
expect
(
subject
.
name
).
to
eq
(
'knative'
)
expect
(
subject
.
chart
).
to
eq
(
'knative/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
)
expect
(
subject
.
files
).
to
eq
(
knative
.
files
)
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