fix(charts): fixing the name of kube-aws charts (#301)

Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
This commit is contained in:
Shubham Chaudhary
2020-08-22 17:53:02 +05:30
committed by GitHub
parent bd6c48dfdd
commit 16e912c054
5 changed files with 18 additions and 131 deletions

View File

@@ -1,18 +1,15 @@
directories=$(find ./charts -maxdepth 1 -mindepth 1 -type d)
for directory in $directories
do
subDirectories=$(find $directory -maxdepth 1 -mindepth 1 -type d)
subDirectories=$(find $directory -maxdepth 1 -mindepth 1 -type d)
echo -e "---\n" > $directory/experiments.yaml
for subDirectory in $subDirectories
do
if test -f "$subDirectory/experiment.yaml"; then
cat $subDirectory/experiment.yaml >> $directory/experiments.yaml
echo -e "\n---\n" >> $directory/experiments.yaml
fi
done
done
echo "validating combine charts for generic"
cat ./charts/generic/experiments.yaml
echo "validating combine charts for openebs"
cat ./charts/openebs/experiments.yaml
do
if test -f "$subDirectory/experiment.yaml"; then
cat $subDirectory/experiment.yaml >> $directory/experiments.yaml
echo -e "\n---\n" >> $directory/experiments.yaml
fi
done
echo "validating combine charts for "$directory
cat $directory/experiments.yaml
done