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;fp=meta-stx%2Frecipes-core%2Fstx-monitor-armada-app%2Fmonitor-helm_1.0.bb;h=375c0067b47fb0c7b000519992a9c0b7ae72d9e2;hb=f4dde4fe30d1ac9e14ac80a64a480624aa92596d;hp=78503ace8890f110df0713037adbbd501ecf7c94;hpb=3ab773f8b6972829a2977ab440c71cb72e9f7394;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} }