wip: fix atlantis helmfiles et al.
This commit is contained in:
+1
-6
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user