X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-stx%2Frecipes-core%2Fstx-openstack-armada-app%2Fstx-openstack-helm_1.0.bb;h=d4635a85ea7f9def02d102f16aed5e6d73430afe;hb=9977af6534bef19eb246c8a508e415b18bd8b26d;hp=0941ab724ceebe1c0fc9ea2f228f6d35367d2cf1;hpb=57fdea704bd62af847872c40508f00aa1d7cac60;p=pti%2Frtp.git diff --git a/meta-stx/recipes-core/stx-openstack-armada-app/stx-openstack-helm_1.0.bb b/meta-stx/recipes-core/stx-openstack-armada-app/stx-openstack-helm_1.0.bb index 0941ab7..d4635a8 100644 --- a/meta-stx/recipes-core/stx-openstack-armada-app/stx-openstack-helm_1.0.bb +++ b/meta-stx/recipes-core/stx-openstack-armada-app/stx-openstack-helm_1.0.bb @@ -74,6 +74,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 @@ -87,9 +88,8 @@ do_compile () { make dcdbsync cd - - # terminate helm server - pid=`/bin/pidof helm` - kill ${pid} + # terminate helm server (the last backgrounded task) + kill $! rm -rf ${helm_home} # Remove the helm-toolkit tarball