summaryrefslogtreecommitdiffstats
path: root/build/creating_data
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-12-22 10:36:47 +0100
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-12-22 10:36:47 +0100
commitb0b87b21a194d473eb85479c62ec6a92827bb767 (patch)
tree3b8ac156b5fc43787207bff60b7b30bd02d68745 /build/creating_data
parent13d0703af7844652face28a19e00dab8880558a2 (diff)
Don't refresh repository cache upon init
Main reason for adding this option is that stable repo url of https://kubernetes-charts.storage.googleapis.com has been obsoleted hence the "init" command fails on trying to reach it. Since we're removing it afterwards anyway thus --skip-refresh will allow "init" to pass without actually trying to get it's contents. Change-Id: I0719648fcfaf30da52ae19327f024b901471f188 Issue-ID: OOM-2660 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'build/creating_data')
-rwxr-xr-xbuild/creating_data/docker-images-collector.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/creating_data/docker-images-collector.sh b/build/creating_data/docker-images-collector.sh
index d1233a83..e33d5003 100755
--- a/build/creating_data/docker-images-collector.sh
+++ b/build/creating_data/docker-images-collector.sh
@@ -160,7 +160,7 @@ HELM_HOME=$(mktemp -p /tmp -d .helm.XXXXXXXX)
export HELM_HOME
kill_helm # make sure it's not already running
mkdir -p "${PROJECT_DIR}/../${HELM_REPO_PATH}"
-helm init -c --local-repo-url "http://${HELM_REPO}"
+helm init --skip-refresh -c --local-repo-url "http://${HELM_REPO}"
helm serve --address ${HELM_REPO} --repo-path "${PROJECT_DIR}/../${HELM_REPO_PATH}" &
helm repo remove stable 2>/dev/null || true
check_helm