wip: atlantis local chart and muliple envs
This commit is contained in:
+6
-2
@@ -7,7 +7,7 @@ manifests=${4:-manifests}
|
||||
outdir=${5:-_manifests}
|
||||
|
||||
build() {
|
||||
if [ ! -d "$manifests" ]; then
|
||||
if [ ! -e "$manifests" ]; then
|
||||
echo "nothing to do here..." 1>&2
|
||||
exit 0
|
||||
fi
|
||||
@@ -24,7 +24,11 @@ name: $chart
|
||||
version: 0.1.0
|
||||
EOF
|
||||
|
||||
cp -r $manifests/* $outdir/templates
|
||||
if [ -d $manifests ]; then
|
||||
cp -r $manifests/* $outdir/templates
|
||||
else
|
||||
cp $manifests $outdir/templates
|
||||
fi
|
||||
}
|
||||
|
||||
clean() {
|
||||
|
||||
Reference in New Issue
Block a user