Add dev train and excluded common-test chart.lock (#318)
This commit is contained in:
parent
6342bdc292
commit
64aa712dab
|
@ -21,6 +21,13 @@ on:
|
|||
- '!incubator/**/app-readme.md'
|
||||
- '!incubator/**/app-readme.md.gotmpl'
|
||||
- '!incubator/**/docs/*'
|
||||
- 'dev/**'
|
||||
- '!dev/**/*.md'
|
||||
- '!dev/**/README.md'
|
||||
- '!dev/**/README.md.gotmpl'
|
||||
- '!dev/**/app-readme.md'
|
||||
- '!dev/**/app-readme.md.gotmpl'
|
||||
- '!dev/**/docs/*'
|
||||
- '.github/workflows/apps.test.yaml'
|
||||
- '.github/ct-install.yaml'
|
||||
- '.github/ct-lint.yaml'
|
||||
|
@ -54,6 +61,7 @@ jobs:
|
|||
changed:
|
||||
- 'stable/**'
|
||||
- 'incubator/**'
|
||||
- 'dev/**'
|
||||
- run: echo '${{ toJson(steps.filter.outputs) }}' > changes.json
|
||||
- id: reduce
|
||||
run: |
|
||||
|
@ -78,8 +86,10 @@ jobs:
|
|||
run: |
|
||||
if test -f "./stable/${{ matrix.app }}/item.yaml"; then
|
||||
train="stable"
|
||||
else
|
||||
elif test -f "./incubator/${{ matrix.app }}/item.yaml"; then
|
||||
train="incubator"
|
||||
else
|
||||
train="dev"
|
||||
fi
|
||||
echo ::set-output name=train::${train}
|
||||
maxfolderversion=$(ls -l ${train}/${{ matrix.app }} | grep ^d | awk '{print $9}' | tail -n 1)
|
||||
|
|
|
@ -42,6 +42,7 @@ jobs:
|
|||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
- name: update folder names and dependencies for incubator
|
||||
run: |
|
||||
for chart in incubator/*; do
|
||||
|
@ -58,6 +59,21 @@ jobs:
|
|||
fi
|
||||
done
|
||||
|
||||
- name: update folder names and dependencies for incubator
|
||||
run: |
|
||||
for chart in dev/*; do
|
||||
if [ -d "${chart}" ]; then
|
||||
maxfolderversion=$(ls -l ${chart} | grep ^d | awk '{print $9}' | tail -n 1)
|
||||
maxchartversion=$(cat ${chart}/${maxfolderversion}/Chart.yaml | grep "^version: " | awk -F" " '{ print $2 }')
|
||||
chartname=$(basename ${chart})
|
||||
echo "Processing: ${chart} - folder: ${maxfolderversion} - version: ${maxchartversion}"
|
||||
helm dependency update ${chart}/${maxfolderversion}
|
||||
if [ "${maxfolderversion}" != "${maxchartversion}" ]; then
|
||||
mv -f ${chart}/${maxfolderversion} ${chart}/${maxchartversion}
|
||||
echo "renamed ${chart}/${maxfolderversion} to ${chart}/${maxchartversion}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
- name: Commit and push updated charts
|
||||
run: |
|
||||
|
|
|
@ -44,3 +44,4 @@ private_values.yaml
|
|||
temp/
|
||||
library/common-test/charts/
|
||||
.cr-release-packages/
|
||||
library/common-test/chart.lock
|
||||
|
|
|
@ -22,3 +22,15 @@ for chart in incubator/*; do
|
|||
|
||||
fi
|
||||
done
|
||||
|
||||
for chart in dev/*; do
|
||||
if [ -d "${chart}" ]; then
|
||||
maxfolderversion=$(ls -l ${chart} | grep ^d | awk '{print $9}' | tail -n 1)
|
||||
chartname=$(basename ${chart})
|
||||
echo "Processing: ${chart} - folder: ${maxfolderversion} - version: ${maxchartversion}"
|
||||
|
||||
rm -Rf ${chart}/${maxfolderversion}/charts/*.tgz
|
||||
cp -f library/common-test/charts/* ${chart}/${maxfolderversion}/charts/
|
||||
|
||||
fi
|
||||
done
|
||||
|
|
|
@ -29,7 +29,7 @@ for chart in stable/*; do
|
|||
done
|
||||
|
||||
|
||||
for chart in beta/*; do
|
||||
for chart in dev/*; do
|
||||
if [ -d "${chart}" ]; then
|
||||
maxfolderversion=$(ls -l ${chart} | grep ^d | awk '{print $9}' | tail -n 1)
|
||||
maxchartversion=$(cat ${chart}/${maxfolderversion}/Chart.yaml | grep "^version: " | awk -F" " '{ print $2 }')
|
||||
|
|
|
@ -67,7 +67,5 @@ for chart in incubator/*; do
|
|||
--output-file="app-readme.md" \
|
||||
--template-files="${repository}/.tools/templates/docs/app-readme.md.gotmpl" \
|
||||
--chart-search-root="${chart}/${maxfolderversion}"
|
||||
|
||||
|
||||
fi
|
||||
done
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
# Patterns to ignore when building packages.
|
||||
# This supports shell glob matching, relative path matching, and
|
||||
# negation (prefixed with !). Only one pattern per line.
|
||||
.DS_Store
|
||||
# Common VCS dirs
|
||||
.git/
|
||||
.gitignore
|
||||
.bzr/
|
||||
.bzrignore
|
||||
.hg/
|
||||
.hgignore
|
||||
.svn/
|
||||
# Common backup files
|
||||
*.swp
|
||||
*.bak
|
||||
*.tmp
|
||||
*~
|
||||
# Various IDEs
|
||||
.project
|
||||
.idea/
|
||||
*.tmproj
|
||||
.vscode/
|
||||
# OWNERS file for Kubernetes
|
||||
OWNERS
|
|
@ -0,0 +1,19 @@
|
|||
apiVersion: v2
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
name: placeholder
|
||||
version: 6.6.6
|
||||
upstream_version: 6.6.6
|
||||
appVersion: "placeholder"
|
||||
description: THIS IS A PLACEHOLDER AND SHOULD NOT BE INSTALLED
|
||||
type: application
|
||||
deprecated: false
|
||||
home: https://github.com/truecharts/apps/tree/master/stable/jackett
|
||||
icon: https://truecharts.org/_static/img/jackett-icon.png
|
||||
keywords:
|
||||
sources:
|
||||
dependencies:
|
||||
maintainers:
|
||||
- name: TrueCharts
|
||||
email: info@truecharts.org
|
||||
url: truecharts.org
|
||||
# annotations:
|
|
@ -0,0 +1 @@
|
|||
# No defaults
|
|
@ -0,0 +1,6 @@
|
|||
groups:
|
||||
- name: "Container Image"
|
||||
description: "Image to be used for container"
|
||||
|
||||
|
||||
questions: []
|
|
@ -0,0 +1 @@
|
|||
# No defaults
|
|
@ -0,0 +1 @@
|
|||
# This file is empty on purpose, as it should not be used with TrueNAS SCALE
|
|
@ -0,0 +1,3 @@
|
|||
categories:
|
||||
- placeholder
|
||||
icon_url: https://truecharts.org/_static/img/jackett-icon.png
|
Loading…
Reference in New Issue