X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-stx%2Frecipes-core%2Fstx-monitor-armada-app%2Fmonitor-helm_1.0.bb;h=375c0067b47fb0c7b000519992a9c0b7ae72d9e2;hb=8b65a96eb2ed5275184b9fbd60236ac5e5c9654c;hp=78503ace8890f110df0713037adbbd501ecf7c94;hpb=57fdea704bd62af847872c40508f00aa1d7cac60;p=pti%2Frtp.git diff --git a/meta-stx/recipes-core/stx-monitor-armada-app/monitor-helm_1.0.bb b/meta-stx/recipes-core/stx-monitor-armada-app/monitor-helm_1.0.bb index 78503ac..375c006 100644 --- a/meta-stx/recipes-core/stx-monitor-armada-app/monitor-helm_1.0.bb +++ b/meta-stx/recipes-core/stx-monitor-armada-app/monitor-helm_1.0.bb @@ -88,6 +88,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 @@ -101,9 +102,8 @@ do_compile () { make logstash make elasticsearch-curator - # terminate helm server - pid=`/bin/pidof helm` - kill ${pid} + # terminate helm server (the last backgrounded task) + kill $! rm -rf ${helm_home} }