Эх сурвалжийг харах

Publish new changes in catalog

sonicaj 2 жил өмнө
parent
commit
408bfc997d

+ 0 - 0
community/tdarr/1.0.15/Chart.lock → community/tdarr/1.0.16/Chart.lock


+ 2 - 2
community/tdarr/1.0.15/Chart.yaml → community/tdarr/1.0.16/Chart.yaml

@@ -3,9 +3,9 @@ description: Tdarr is a Distributed Transcoding System
 annotations:
   title: Tdarr
 type: application
-version: 1.0.15
+version: 1.0.16
 apiVersion: v2
-appVersion: '2.00.21'
+appVersion: '2.00.20.1'
 kubeVersion: '>=1.16.0-0'
 maintainers:
   - name: truenas

+ 0 - 0
community/tdarr/1.0.15/README.md → community/tdarr/1.0.16/README.md


+ 0 - 0
community/tdarr/1.0.15/app-readme.md → community/tdarr/1.0.16/app-readme.md


+ 0 - 0
community/tdarr/1.0.15/charts/common-1.0.12.tgz → community/tdarr/1.0.16/charts/common-1.0.12.tgz


+ 0 - 0
community/tdarr/1.0.15/ci/basic-values.yaml → community/tdarr/1.0.16/ci/basic-values.yaml


+ 0 - 0
community/tdarr/1.0.15/ci/no-internal-node-values.yaml → community/tdarr/1.0.16/ci/no-internal-node-values.yaml


+ 1 - 1
community/tdarr/1.0.15/ix_values.yaml → community/tdarr/1.0.16/ix_values.yaml

@@ -1,7 +1,7 @@
 image:
   repository: haveagitgat/tdarr
   pullPolicy: IfNotPresent
-  tag: '2.00.21'
+  tag: '2.00.20.1'
 
 resources:
   limits:

+ 0 - 0
community/tdarr/1.0.15/metadata.yaml → community/tdarr/1.0.16/metadata.yaml


+ 0 - 0
community/tdarr/1.0.15/migrations/migrate → community/tdarr/1.0.16/migrations/migrate


+ 0 - 0
community/tdarr/1.0.15/questions.yaml → community/tdarr/1.0.16/questions.yaml


+ 0 - 0
community/tdarr/1.0.15/templates/NOTES.txt → community/tdarr/1.0.16/templates/NOTES.txt


+ 0 - 0
community/tdarr/1.0.15/templates/_portal.tpl → community/tdarr/1.0.16/templates/_portal.tpl


+ 0 - 0
community/tdarr/1.0.15/templates/_tdarr.tpl → community/tdarr/1.0.16/templates/_tdarr.tpl


+ 0 - 0
community/tdarr/1.0.15/templates/common.yaml → community/tdarr/1.0.16/templates/common.yaml


+ 31 - 0
community/tdarr/1.0.16/upgrade_strategy_disable

@@ -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'[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+')
+
+
+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)))