Post Code-Freeze Review, Bugsfixes and Documentation
- Fix traefik Portal Button - Touchup Security Policies - Update Support Policies - Re-Add Deluge as incubator App - Add Canary to Security Policies - Add all-contributors basic config
This commit is contained in:
@@ -14,13 +14,13 @@ on:
|
||||
- '!stable/**/app-readme.md'
|
||||
- '!stable/**/app-readme.md.gotmpl'
|
||||
- '!stable/**/docs/*'
|
||||
- 'beta/**'
|
||||
- '!beta/**/*.md'
|
||||
- '!beta/**/README.md'
|
||||
- '!beta/**/README.md.gotmpl'
|
||||
- '!beta/**/app-readme.md'
|
||||
- '!beta/**/app-readme.md.gotmpl'
|
||||
- '!beta/**/docs/*'
|
||||
- 'incubator/**'
|
||||
- '!incubator/**/*.md'
|
||||
- '!incubator/**/README.md'
|
||||
- '!incubator/**/README.md.gotmpl'
|
||||
- '!incubator/**/app-readme.md'
|
||||
- '!incubator/**/app-readme.md.gotmpl'
|
||||
- '!incubator/**/docs/*'
|
||||
- '.github/workflows/apps.test.yaml'
|
||||
|
||||
jobs:
|
||||
@@ -227,7 +227,7 @@ jobs:
|
||||
filters: |
|
||||
changed:
|
||||
- 'stable/**'
|
||||
- 'beta/**'
|
||||
- 'incubator/**'
|
||||
- run: echo '${{ toJson(steps.filter.outputs) }}' > changes.json
|
||||
- id: reduce
|
||||
run: |
|
||||
@@ -253,7 +253,7 @@ jobs:
|
||||
if test -f "./stable/${{ matrix.app }}/item.yaml"; then
|
||||
train="stable"
|
||||
else
|
||||
train="beta"
|
||||
train="incubator"
|
||||
fi
|
||||
echo ::set-output name=train::${train}
|
||||
maxfolderversion=$(ls -l ${train}/${{ matrix.app }} | grep ^d | awk '{print $9}' | tail -n 1)
|
||||
|
||||
@@ -42,9 +42,9 @@ jobs:
|
||||
fi
|
||||
fi
|
||||
done
|
||||
- name: update folder names and dependencies for beta
|
||||
- name: update folder names and dependencies for incubator
|
||||
run: |
|
||||
for chart in beta/*; do
|
||||
for chart in incubator/*; 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 }')
|
||||
|
||||
@@ -5,12 +5,13 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- staging
|
||||
tags-ignore:
|
||||
- '**'
|
||||
paths:
|
||||
- 'library/**/Chart.yaml'
|
||||
- '.tools/gen-helm-docs.sh'
|
||||
- '.tools/templates/docs/**'
|
||||
- '.tools/templates/app/*.gotmpl'
|
||||
- '**.gotmpl'
|
||||
- '**/LICENSE'
|
||||
- '**LICENSE'
|
||||
@@ -43,7 +44,7 @@ jobs:
|
||||
- name: Copy general readme to website
|
||||
run: |
|
||||
yes | cp -rf .github/README.md docs/about/index.md || echo "readme copy failed, continuing..."
|
||||
yes | cp -rf .github/CODE_OF_CONDUCT docs/about/code_of_conduct.md || echo "CODE_OF_CONDUCT copy failed, continuing..."
|
||||
yes | cp -rf .github/CODE_OF_CONDUCT docs/about/code_of_conduct.md || echo "CODE_OF_CONDUCT copy failed, continuing..."
|
||||
yes | cp -rf .github/CONTRIBUTING docs/development/contributing.md || echo "CONTRIBUTING copy failed, continuing..."
|
||||
yes | cp -rf LICENSE docs/about/LICENSE.md || echo "license copy failed, continuing..."
|
||||
sed -i '1s/^/# License<br>\n\n/' docs/about/LICENSE.md
|
||||
@@ -58,28 +59,30 @@ jobs:
|
||||
maxfolderversion=$(ls -l ${chart} | grep ^d | awk '{print $9}' | tail -n 1)
|
||||
chartname=$(basename ${chart})
|
||||
echo "Processing: ${chart} - folder: ${maxfolderversion}"
|
||||
mkdir -p docs/apps/${chartname} || echo "app path already exists, continuing..."
|
||||
yes | cp -rf ${chart}/${maxfolderversion}/README.md docs/apps/${chartname}/index.md || echo "readme copy failed, continuing..."
|
||||
yes | cp -rf ${chart}/${maxfolderversion}/LICENSE docs/apps/${chartname}/LICENSE.md || echo "license copy failed, continuing..."
|
||||
sed -i '1s/^/# License<br>\n\n/' docs/apps/${chartname}/LICENSE.md || echo "license edit failed, continuing..."
|
||||
mkdir -p docs/apps/stable/${chartname} || echo "app path already exists, continuing..."
|
||||
yes | cp -rf ${chart}/${maxfolderversion}/README.md docs/apps/stable/${chartname}/index.md || echo "readme copy failed, continuing..."
|
||||
yes | cp -rf ${chart}/${maxfolderversion}/CONFIG.md docs/apps/stable/${chartname}/CONFIG.md || echo "config copy failed, continuing..."
|
||||
yes | cp -rf ${chart}/${maxfolderversion}/LICENSE docs/apps/stable/${chartname}/LICENSE.md || echo "license copy failed, continuing..."
|
||||
sed -i '1s/^/# License<br>\n\n/' docs/apps/stable/${chartname}/LICENSE.md || echo "license edit failed, continuing..."
|
||||
fi
|
||||
done
|
||||
ls docs/apps/
|
||||
ls docs/apps/stable/
|
||||
|
||||
- name: Copy beta Apps readme to website
|
||||
- name: Copy incubator Apps readme to website
|
||||
run: |
|
||||
for chart in beta/*; do
|
||||
for chart in incubator/*; 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}"
|
||||
mkdir -p docs/apps/${chartname} || echo "app path already exists, continuing..."
|
||||
yes | cp -rf ${chart}/${maxfolderversion}/README.md docs/apps/${chartname}/index.md || echo "readme copy failed, continuing..."
|
||||
yes | cp -rf ${chart}/${maxfolderversion}/LICENSE docs/apps/${chartname}/LICENSE.md || echo "license copy failed, continuing..."
|
||||
sed -i '1s/^/# License<br>\n\n/' docs/apps/${chartname}/LICENSE.md || echo "license edit failed, continuing..."
|
||||
mkdir -p docs/apps/incubator/${chartname} || echo "app path already exists, continuing..."
|
||||
yes | cp -rf ${chart}/${maxfolderversion}/README.md docs/apps/incubator/${chartname}/index.md || echo "readme copy failed, continuing..."
|
||||
yes | cp -rf ${chart}/${maxfolderversion}/CONFIG.md docs/apps/incubator/${chartname}/CONFIG.md || echo "config copy failed, continuing..."
|
||||
yes | cp -rf ${chart}/${maxfolderversion}/LICENSE docs/apps/incubator/${chartname}/LICENSE.md || echo "license copy failed, continuing..."
|
||||
sed -i '1s/^/# License<br>\n\n/' docs/apps/incubator/${chartname}/LICENSE.md || echo "license edit failed, continuing..."
|
||||
fi
|
||||
done
|
||||
ls docs/apps/
|
||||
ls docs/apps/incubator/
|
||||
|
||||
- name: Commit and Push updated docs
|
||||
run: |
|
||||
|
||||
@@ -4,10 +4,10 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- staging
|
||||
paths:
|
||||
- 'docs/**'
|
||||
- '.github/workflows/docs.deploy.yaml'
|
||||
- 'mkdocs.yml'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
@@ -5,7 +5,6 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- staging
|
||||
paths:
|
||||
- ".github/workflows/general.security-scan.yaml"
|
||||
schedule:
|
||||
|
||||
Reference in New Issue
Block a user