summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJessica Wagantall <jwagantall@linuxfoundation.org>2020-12-28 20:13:30 +0000
committerGerrit Code Review <gerrit@onap.org>2020-12-28 20:13:30 +0000
commitafaa2d32b57028e2599a88fd2e99cfffc6646f37 (patch)
tree03d5149cbfc48b1ee976116793fece2e29e7fecd
parent2363ece1a15cf1408d8ce0be66e022fdfb714905 (diff)
parentf0803b2c056cddb1a49b3cc99d4eba26ae099b40 (diff)
Merge "[OOM] use ramdisk to store chartmuseum packages"
-rwxr-xr-xshell/helm-repo-init.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/helm-repo-init.sh b/shell/helm-repo-init.sh
index 6bf1338e3..c3b0a36d6 100755
--- a/shell/helm-repo-init.sh
+++ b/shell/helm-repo-init.sh
@@ -3,6 +3,7 @@
set -e -o pipefail
mkdir -p ".chartstorage"
-chartmuseum --port=6464 --storage="local" --storage-local-rootdir=".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