mirror of
https://github.com/truenas/charts.git
synced 2026-04-09 13:48:48 +08:00
initial commit
This commit is contained in:
committed by
Stavros Kois
parent
6b23be8232
commit
f21a450701
6
library/ix-dev/community/dashy/Chart.lock
Normal file
6
library/ix-dev/community/dashy/Chart.lock
Normal file
@@ -0,0 +1,6 @@
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: file://../../../common
|
||||
version: 1.2.3
|
||||
digest: sha256:e6ff49b06bf5d4d159e505ae6d153f36cd46170bb519caf90462cd5caebfd0fb
|
||||
generated: "2023-11-13T17:15:19.01883842+02:00"
|
||||
25
library/ix-dev/community/dashy/Chart.yaml
Normal file
25
library/ix-dev/community/dashy/Chart.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
name: dashy
|
||||
description: Dashy is a self-hostable personal dashboard built for you.
|
||||
annotations:
|
||||
title: Dashy
|
||||
type: application
|
||||
version: 1.0.0
|
||||
apiVersion: v2
|
||||
appVersion: 2.1.1
|
||||
kubeVersion: '>=1.16.0-0'
|
||||
maintainers:
|
||||
- name: truenas
|
||||
url: https://www.truenas.com/
|
||||
email: dev@ixsystems.com
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: file://../../../common
|
||||
version: 1.2.3
|
||||
home: https://dashy.to/
|
||||
icon: https://media.sys.truenas.net/apps/dashy/icons/icon.png
|
||||
sources:
|
||||
- https://dashy.to/
|
||||
- https://github.com/truenas/charts/tree/master/library/ix-dev/community/dashy
|
||||
- https://github.com/lissy93/dashy
|
||||
keywords:
|
||||
- dashboard
|
||||
BIN
library/ix-dev/community/dashy/charts/common-1.2.3.tgz
Normal file
BIN
library/ix-dev/community/dashy/charts/common-1.2.3.tgz
Normal file
Binary file not shown.
8
library/ix-dev/community/dashy/item.yaml
Normal file
8
library/ix-dev/community/dashy/item.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
icon_url: https://media.sys.truenas.net/apps/dashy/icons/icon.png
|
||||
categories:
|
||||
- productivity
|
||||
screenshots:
|
||||
- https://media.sys.truenas.net/apps/dashy/screenshots/screenshot1.gif
|
||||
- https://media.sys.truenas.net/apps/dashy/screenshots/screenshot2.gif
|
||||
tags:
|
||||
- dashboard
|
||||
1
library/ix-dev/community/dashy/templates/NOTES.txt
Normal file
1
library/ix-dev/community/dashy/templates/NOTES.txt
Normal file
@@ -0,0 +1 @@
|
||||
{{ include "ix.v1.common.lib.chart.notes" $ }}
|
||||
1
library/ix-dev/community/dashy/upgrade_info.json
Normal file
1
library/ix-dev/community/dashy/upgrade_info.json
Normal file
@@ -0,0 +1 @@
|
||||
{ "filename": "values.yaml", "keys": ["image"] }
|
||||
31
library/ix-dev/community/dashy/upgrade_strategy
Executable file
31
library/ix-dev/community/dashy/upgrade_strategy
Executable file
@@ -0,0 +1,31 @@
|
||||
#!/usr/bin/python3
|
||||
import json
|
||||
import re
|
||||
import sys
|
||||
|
||||
from catalog_update.upgrade_strategy import semantic_versioning
|
||||
|
||||
|
||||
RE_STABLE_VERSION = re.compile(r'\d+\.\d+\.\d+')
|
||||
|
||||
|
||||
def newer_mapping(image_tags):
|
||||
key = list(image_tags.keys())[0]
|
||||
tags = {t: t for t in image_tags[key] if RE_STABLE_VERSION.fullmatch(t)}
|
||||
version = semantic_versioning(list(tags))
|
||||
if not version:
|
||||
return {}
|
||||
|
||||
return {
|
||||
'tags': {key: tags[version]},
|
||||
'app_version': version,
|
||||
}
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
try:
|
||||
versions_json = json.loads(sys.stdin.read())
|
||||
except ValueError:
|
||||
raise ValueError('Invalid json specified')
|
||||
|
||||
print(json.dumps(newer_mapping(versions_json)))
|
||||
Reference in New Issue
Block a user