try adding some normalisation to the test release system

This commit is contained in:
kjeld Schouten-Lebbing
2021-05-05 18:25:31 +02:00
parent d2fe43531d
commit b9a49425f3
10 changed files with 66 additions and 56 deletions
+19
View File
@@ -52,6 +52,25 @@ jobs:
mv catalog/test/${chartname}/${maxchartversion}/item.yaml catalog/test/${chartname}/
fi
done
- name: Apply SCALE Patches
run: |
for chart in catalog/test/*; do
if [ -d "${chart}" ]; then
maxfolderversion=$(ls -l ${chart} | grep ^d | awk '{print $9}' | tail -n 1)
chartname=$(basename ${chart})
path="${chart}/${maxfolderversion}"
echo "Processing... Applying SCALE patch... Chart: ${chartname} - Version: ${maxfolderversion}"
mv ${path}/SCALE/item.yaml catalog/test/${chartname}/
mv ${path}/SCALE/ix_values.yaml ${path}/
mv ${path}/SCALE/questions.yaml ${path}/
cp -rf ${path}/SCALE/templates/* ${path}/templates
rm -rf ${path}/SCALE/templates
mv ${path}/values.yaml ${path}/test_values.yaml
touch ${path}/values.yaml
description=$(cat ${chart}/Chart.yaml | grep "^description: " | sed -r 's/^description: //')
echo "${description}" >> ${path}/app-readme.md
fi
done
- name: Commit and Push new App releases
run: |
cd catalog
-6
View File
@@ -1,6 +0,0 @@
dependencies:
- name: common
repository: https://truecharts.org/
version: 3.5.5
digest: sha256:ea66c36be2fa73e56bc33f7e89af9ce338cdfbed0b347484888e87228b825015
generated: "2021-05-04T15:26:57.938658773Z"
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v2
kubeVersion: ">=1.16.0-0"
name: jackett
version: 3.1.6
version: 3.1.7
upstream_version: 7.0.1
appVersion: "auto"
description: API Support for your favorite torrent trackers.
-2
View File
@@ -1,2 +0,0 @@
API Support for your favorite torrent trackers.
This App is supplied by TrueCharts, for more information please visit https://truecharts.org
Binary file not shown.
-46
View File
@@ -1,46 +0,0 @@
# Default values for Jackett.
image:
repository: ghcr.io/truecharts/jackett
pullPolicy: IfNotPresent
tag: v0.17.1006
strategy:
type: Recreate
services:
main:
enabled: true
port:
port: 9117
env: {}
# TZ: UTC
# PUID: 1001
# PGID: 1001
persistence:
config:
enabled: true
mountPath: "/config"
emptyDir: true
accessMode: ReadWriteOnce
size: 1Gi
storageClass: ""
## TrueCharts Values
ingress:
main:
enabled: true
# Used when including ingress using {{ include "common.ingress" . }}
type: "HTTP"
entrypoint: "websecure"
certType: ""
annotations: {}
hosts:
- host: chart-example.local
path: /
+46 -1
View File
@@ -1 +1,46 @@
# This file is empty on purpose, as it should not be used with TrueNAS SCALE
# Default values for Jackett.
image:
repository: ghcr.io/truecharts/jackett
pullPolicy: IfNotPresent
tag: v0.17.1006
strategy:
type: Recreate
services:
main:
enabled: true
port:
port: 9117
env: {}
# TZ: UTC
# PUID: 1001
# PGID: 1001
persistence:
config:
enabled: true
mountPath: "/config"
emptyDir: true
accessMode: ReadWriteOnce
size: 1Gi
storageClass: ""
## TrueCharts Values
ingress:
main:
enabled: true
# Used when including ingress using {{ include "common.ingress" . }}
type: "HTTP"
entrypoint: "websecure"
certType: ""
annotations: {}
hosts:
- host: chart-example.local
path: /