remove some old scripts

This commit is contained in:
Kjeld Schouten 2023-12-14 13:10:04 +01:00
parent cc78be9a46
commit 7f6b2e9875
3 changed files with 0 additions and 50 deletions

View File

@ -1,23 +0,0 @@
#!/usr/bin/env bash
# The format of the to-app.txt file is as follows:
# PORT:tccr.io/truecharts/CHART:TAG
for i in $(cat to-app.txt); do
SOURCE=${i##*/}
PORT=$( echo $i | cut -d':' -f1 )
PLAIN=$( echo $SOURCE | cut -d':' -f1 )
TAG=$( echo $SOURCE | cut -d':' -f2 )
CLEANTAG=${TAG//$'\r'/}
CLEANPORT=${PORT//$'\r'/}
CLEAN=${PLAIN//$'\r'/}
echo "${CLEAN##*|} ${CLEANTAG}"
mkdir -p charts/dev/${CLEAN}
cp -rf templates/app/* charts/dev/${CLEAN}
sed -i "s|CHARTNAME|${CLEAN}|g" charts/dev/${CLEAN}/Chart.yaml
sed -i "s|CHARTNAME|${CLEAN}|g" charts/dev/${CLEAN}/values.yaml
sed -i "s|CHARTTAG|${CLEANTAG}|g" charts/dev/${CLEAN}/values.yaml
sed -i "s|CHARTPORT|${CLEANPORT}|g" charts/dev/${CLEAN}/values.yaml
sed -i "s|CHARTPORT|${CLEANPORT}|g" charts/dev/${CLEAN}/questions.yaml
done

View File

@ -1,13 +0,0 @@
#!/usr/bin/env bash
set -eu
# This script requires pyBump to be installed using pip.
for train in stable incubator develop non-free deprecated; do
for chart in charts/${train}/*; do
if [ -d "${chart}" ]; then
echo "merging item.yaml into chart.yaml"
cat ${chart}/SCALE/item.yaml >> ${chart}/chart.yaml
fi
done
done

View File

@ -1,14 +0,0 @@
#!/usr/bin/env bash
# The format of the to-app.txt file is as follows:
# tccr.io/truecharts/CHART:TAG
for i in $(cat to-app.txt); do
PLAIN=${i##*/}
PLAIN=$( echo $PLAIN | cut -d':' -f1 )
CLEAN=${PLAIN//$'\r'/}
echo ${CLEAN##*|}
PORT=$(curl -v --silent https://raw.githubusercontent.com/linuxserver/docker-${CLEAN}/master/README.md | grep " \-p" | grep ':' | head -1 | cut -d':' -f1 | cut -d' ' -f4)
echo "${PORT}:${i}" >> output.txt
done