summaryrefslogtreecommitdiffstats
path: root/build/creating_data
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-01-19 11:28:43 +0100
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-01-21 08:48:25 +0000
commitbfda0d26dbf458f196d7b5b4de58eeb5e73a4b66 (patch)
treee58bc421e0dc07fd4d20226cf1aa6d23cd0f3b71 /build/creating_data
parent7d8836e1e8c653abddafe2319c75d463199766bd (diff)
Fix cleanup sequence
Chart repository process should be killed before removing it's storage Change-Id: Idd53a0cc812ca0d17beb3e0f7264de4280a6b536 Issue-ID: OOM-2665 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'build/creating_data')
-rwxr-xr-xbuild/creating_data/docker-images-collector.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/creating_data/docker-images-collector.sh b/build/creating_data/docker-images-collector.sh
index e6aa5c57..71f2e72b 100755
--- a/build/creating_data/docker-images-collector.sh
+++ b/build/creating_data/docker-images-collector.sh
@@ -238,9 +238,9 @@ sed -i "1i# generated from ${COMMENT}" "${LIST}"
echo -e ${MSG}
echo -e 'The list has been created:\n '"${LIST}"
-# Remove temporary helm directory
-rm -rf ${HELM_HOME}
# Kill helm
kill_chart_repo
+# Remove temporary helm directory
+rm -rf ${HELM_HOME}
exit 0