Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
Charts
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
魏国强
Charts
Commits
7e40aa20
Commit
7e40aa20
authored
Jul 04, 2021
by
sonicaj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update nextcloud catalog item in test train
parent
59c7faee
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
3 deletions
+28
-3
test/nextcloud/1.3.0/Chart.yaml
test/nextcloud/1.3.0/Chart.yaml
+1
-1
test/nextcloud/1.3.0/ix_values.yaml
test/nextcloud/1.3.0/ix_values.yaml
+1
-1
test/nextcloud/1.3.0/test_values.yaml
test/nextcloud/1.3.0/test_values.yaml
+1
-1
test/nextcloud/upgrade_info.json
test/nextcloud/upgrade_info.json
+1
-0
test/nextcloud/upgrade_strategy
test/nextcloud/upgrade_strategy
+24
-0
No files found.
test/nextcloud/1.3.0/Chart.yaml
View file @
7e40aa20
apiVersion
:
v2
apiVersion
:
v2
name
:
nextcloud
name
:
nextcloud
version
:
1.3.0
version
:
1.3.0
appVersion
:
2
0.0.7
appVersion
:
2
1.0.2
description
:
A file sharing server that puts the control and security of your own data back into your hands.
description
:
A file sharing server that puts the control and security of your own data back into your hands.
keywords
:
keywords
:
-
nextcloud
-
nextcloud
...
...
test/nextcloud/1.3.0/ix_values.yaml
View file @
7e40aa20
image
:
image
:
repository
:
nextcloud
repository
:
nextcloud
tag
:
2
0.0.7
tag
:
2
1.0.2
pullPolicy
:
IfNotPresent
pullPolicy
:
IfNotPresent
test/nextcloud/1.3.0/test_values.yaml
View file @
7e40aa20
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
##
##
image
:
image
:
repository
:
nextcloud
repository
:
nextcloud
tag
:
19.0.3-apache
tag
:
21.0.2
pullPolicy
:
IfNotPresent
pullPolicy
:
IfNotPresent
nextcloud
:
nextcloud
:
...
...
test/nextcloud/upgrade_info.json
0 → 100644
View file @
7e40aa20
{
"filename"
:
"ix_values.yaml"
,
"keys"
:
[
"image"
]}
test/nextcloud/upgrade_strategy
0 → 100755
View file @
7e40aa20
#!/usr/bin/python3
import
json
import
sys
from
catalog_update.upgrade_strategy
import
semantic_versioning
def
newer_mapping
(
image_tags
):
key
=
list
(
image_tags
.
keys
())[
0
]
version
=
semantic_versioning
(
image_tags
[
key
])
if
not
version
:
return
{}
return
{
'tags'
:
{
key
:
version
},
'app_version'
:
version
,
}
if
__name__
==
'__main__'
:
if
len
(
sys
.
argv
)
!=
2
:
exit
(
1
)
print
(
json
.
dumps
(
newer_mapping
(
json
.
loads
(
sys
.
argv
[
1
]))))
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