rename insecure to deprecated

This commit is contained in:
kjeld Schouten-Lebbing
2021-05-09 13:31:49 +02:00
parent 2f6bf84d95
commit 4c027dc2ed
4 changed files with 35 additions and 17 deletions
+9 -5
View File
@@ -7,7 +7,11 @@ on:
tags-ignore: tags-ignore:
- '**' - '**'
paths: paths:
- 'test/**' - 'stable/**'
- 'develop/**'
- 'incubator/**'
- 'non-free/**'
- 'deprecated/**'
- '.github/workflows/apps.release.yaml' - '.github/workflows/apps.release.yaml'
jobs: jobs:
@@ -38,7 +42,7 @@ jobs:
path: catalog path: catalog
- name: Remove if release already exists - name: Remove if release already exists
run: | run: |
for train in stable incubator develop non-free insecure for train in stable incubator develop non-free deprecated
do do
for chart in master/${train}/*; do for chart in master/${train}/*; do
if [ -d "${chart}" ]; then if [ -d "${chart}" ]; then
@@ -52,7 +56,7 @@ jobs:
done done
- name: fetch dependencies - name: fetch dependencies
run: | run: |
for train in stable incubator develop non-free insecure for train in stable incubator develop non-free deprecated
do do
for chart in master/${train}/*; do for chart in master/${train}/*; do
if [ -d "${chart}" ]; then if [ -d "${chart}" ]; then
@@ -64,7 +68,7 @@ jobs:
done done
- name: Add Chart release - name: Add Chart release
run: | run: |
for train in stable incubator develop non-free insecure for train in stable incubator develop non-free deprecated
do do
for chart in master/${train}/*; do for chart in master/${train}/*; do
if [ -d "${chart}" ]; then if [ -d "${chart}" ]; then
@@ -78,7 +82,7 @@ jobs:
done done
- name: Apply SCALE Patches - name: Apply SCALE Patches
run: | run: |
for train in stable incubator develop non-free insecure for train in stable incubator develop non-free deprecated
do do
for chart in catalog/${train}/*; do for chart in catalog/${train}/*; do
if [ -d "${chart}" ]; then if [ -d "${chart}" ]; then
+24 -10
View File
@@ -21,13 +21,27 @@ on:
- '!incubator/app-readme.md' - '!incubator/app-readme.md'
- '!incubator/app-readme.md.gotmpl' - '!incubator/app-readme.md.gotmpl'
- '!incubator/docs/*' - '!incubator/docs/*'
- 'dev/**' - 'develop/**'
- '!dev/*.md' - '!develop/*.md'
- '!dev/README.md' - '!develop/README.md'
- '!dev/README.md.gotmpl' - '!develop/README.md.gotmpl'
- '!dev/app-readme.md' - '!develop/app-readme.md'
- '!dev/app-readme.md.gotmpl' - '!develop/app-readme.md.gotmpl'
- '!dev/docs/*' - '!develop/docs/*'
- 'non-free/**'
- '!non-free/*.md'
- '!non-free/README.md'
- '!non-free/README.md.gotmpl'
- '!non-free/app-readme.md'
- '!non-free/app-readme.md.gotmpl'
- '!non-free/docs/*'
- 'deprecated/**'
- '!deprecated/*.md'
- '!deprecated/README.md'
- '!deprecated/README.md.gotmpl'
- '!deprecated/app-readme.md'
- '!deprecated/app-readme.md.gotmpl'
- '!deprecated/docs/*'
- '.github/workflows/apps.test.yaml' - '.github/workflows/apps.test.yaml'
- '.github/ct-install.yaml' - '.github/ct-install.yaml'
- '.github/ct-lint.yaml' - '.github/ct-lint.yaml'
@@ -50,7 +64,7 @@ jobs:
- 'stable/**' - 'stable/**'
- 'incubator/**' - 'incubator/**'
- 'develop/**' - 'develop/**'
- 'insecure/**' - 'deprecated/**'
- 'non-free/**' - 'non-free/**'
- run: echo '${{ toJson(steps.filter.outputs) }}' > changes.json - run: echo '${{ toJson(steps.filter.outputs) }}' > changes.json
- id: reduce - id: reduce
@@ -78,8 +92,8 @@ jobs:
train="stable" train="stable"
elif test -f "./incubator/${{ matrix.app }}/Chart.yaml"; then elif test -f "./incubator/${{ matrix.app }}/Chart.yaml"; then
train="incubator" train="incubator"
elif test -f "./insecure/${{ matrix.app }}/Chart.yaml"; then elif test -f "./deprecated/${{ matrix.app }}/Chart.yaml"; then
train="insecure" train="deprecated"
elif test -f "./non-free/${{ matrix.app }}/Chart.yaml"; then elif test -f "./non-free/${{ matrix.app }}/Chart.yaml"; then
train="non-free" train="non-free"
else else
+1 -1
View File
@@ -59,7 +59,7 @@ jobs:
- name: Copy Apps readme to website - name: Copy Apps readme to website
run: | run: |
for train in stable incubator develop non-free insecure; do for train in stable incubator develop non-free deprecated; do
for chart in ${train}/*; do for chart in ${train}/*; do
if [ -d "${chart}" ]; then if [ -d "${chart}" ]; then
chartname=$(basename ${chart}) chartname=$(basename ${chart})
+1 -1
View File
@@ -18,7 +18,7 @@ readme_template="${repository}/.tools/templates/docs/README.md.gotmpl"
config_template="${repository}/.tools/templates/docs/CONFIG.md.gotmpl" config_template="${repository}/.tools/templates/docs/CONFIG.md.gotmpl"
root="${repository}" root="${repository}"
for train in stable incubator develop non-free insecure; do for train in stable incubator develop non-free deprecated; do
for chart in ${train}/*; do for chart in ${train}/*; do
if [ -d "${chart}" ]; then if [ -d "${chart}" ]; then
maxchartversion=$(cat ${chart}/Chart.yaml | grep "^version: " | awk -F" " '{ print $2 }') maxchartversion=$(cat ${chart}/Chart.yaml | grep "^version: " | awk -F" " '{ print $2 }')