wip: fix atlantis helmfiles et al.

This commit is contained in:
2025-05-17 09:54:16 +02:00
parent ee09bf74ac
commit 8ee21a4946
2 changed files with 5 additions and 12 deletions
+1 -6
View File
@@ -7,11 +7,6 @@ manifests=${4:-manifests}
outdir=${5:-_manifests}
build() {
if [ ! -e "$manifests" ]; then
echo "nothing to do here..." 1>&2
exit 0
fi
mkdir -p $outdir/templates
echo "generating $outdir/Chart.yaml" 1>&2
@@ -26,7 +21,7 @@ EOF
if [ -d $manifests ]; then
cp -r $manifests/* $outdir/templates
else
elif [ -f $manifests ]; then
cp $manifests $outdir/templates
fi
}