summaryrefslogtreecommitdiffstats
path: root/shell/helm-repo-init.sh
blob: d8990434a2f6c458d6b370a4a9442d9ab233bce0 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
# Ensure we fail the job if any steps fail
set -e -o pipefail

mkdir -p ".chartstorage"

chartmuseum --port=6464 --storage="local" --storage-local-rootdir=".chartstorage" &> /dev/null &
source helm.prop
$HELM_BIN plugin install https://github.com/chartmuseum/helm-push.git
$HELM_BIN repo add local http://localhost:6464