X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-stx%2Frecipes-core%2Fstx-platform-armada-app%2Fstx-platform-helm_1.0.bb;fp=meta-stx%2Frecipes-core%2Fstx-platform-armada-app%2Fstx-platform-helm_1.0.bb;h=88cf8b2fa351be37fad330b257feb22963f04b51;hb=f4dde4fe30d1ac9e14ac80a64a480624aa92596d;hp=6f041e4294f6799e6b8eb3e436ec064ceb2c9775;hpb=3ab773f8b6972829a2977ab440c71cb72e9f7394;p=pti%2Frtp.git diff --git a/meta-stx/recipes-core/stx-platform-armada-app/stx-platform-helm_1.0.bb b/meta-stx/recipes-core/stx-platform-armada-app/stx-platform-helm_1.0.bb index 6f041e4..88cf8b2 100644 --- a/meta-stx/recipes-core/stx-platform-armada-app/stx-platform-helm_1.0.bb +++ b/meta-stx/recipes-core/stx-platform-armada-app/stx-platform-helm_1.0.bb @@ -80,6 +80,7 @@ do_compile () { # Host a server for the charts helm serve --repo-path . & + sleep 1 helm repo rm local helm repo add local http://localhost:8879/charts @@ -92,9 +93,8 @@ do_compile () { make node-feature-discovery cd - - # Terminate helm server - pid=`/bin/pidof helm` - kill ${pid} + # Terminate helm server (the last backgrounded task) + kill $! rm -rf ${helm_home} # Create a chart tarball compliant with sysinv kube-app.py