All checks were successful
continuous-integration/drone/push Build is passing
17 lines
346 B
Bash
Executable File
17 lines
346 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -exu
|
|
|
|
if [[ $# -eq 0 ]]
|
|
then
|
|
echo "No argument supplied"
|
|
exit 1
|
|
fi
|
|
|
|
mkdir "$1"
|
|
curl --proto '=https' --tlsv1.2 -sSf https://git.grachevko.ru/helm/common/archive/master.tar.gz | \
|
|
tar -xz -C "$1" --strip=2 common-chart-master/starter
|
|
find "$1" -type f | xargs sed -i "" "s/<CHARTNAME>/$1/g"
|
|
|
|
helm dep build "$1"
|