#!/bin/bash | |
# Ensure we fail the job if any steps fail | |
set -e -o pipefail | |
mkdir -p ".chartstorage" | |
sudo mount -t tmpfs -o size=128M tmpfs .chartstorage | |
chartmuseum --debug --port=6464 --storage="local" --storage-local-rootdir=".chartstorage" & | |
helm3 plugin install https://github.com/chartmuseum/helm-push.git | |
helm3 repo add local http://localhost:6464 |