Merge "[POLICY] Create the jenkins jobs for policy-clamp"
[ci-management.git] / shell / helm-repo-init.sh
1 #!/bin/bash
2 # Ensure we fail the job if any steps fail
3 set -e -o pipefail
4
5 mkdir -p ".chartstorage"
6 sudo mount -t tmpfs -o size=128M tmpfs .chartstorage
7 chartmuseum --debug --port=6464 --storage="local" --storage-local-rootdir=".chartstorage" &
8 helm3 plugin install https://github.com/chartmuseum/helm-push.git
9 helm3 repo add local http://localhost:6464