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-elastic_1.0.bb;h=1f54f1d630eb5920ec5f77dc64b94b3421e45535;hb=210d0f78485e760dffcdd3f630f59cec797f3f11;hp=7cc8dab75b55786afe127c6d2fcb60c5a89f7fd5;hpb=57fdea704bd62af847872c40508f00aa1d7cac60;p=pti%2Frtp.git diff --git a/meta-stx/recipes-core/stx-monitor-armada-app/monitor-helm-elastic_1.0.bb b/meta-stx/recipes-core/stx-monitor-armada-app/monitor-helm-elastic_1.0.bb index 7cc8dab..1f54f1d 100644 --- a/meta-stx/recipes-core/stx-monitor-armada-app/monitor-helm-elastic_1.0.bb +++ b/meta-stx/recipes-core/stx-monitor-armada-app/monitor-helm-elastic_1.0.bb @@ -81,6 +81,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 @@ -88,9 +89,8 @@ do_compile () { rm -rf elasticsearch/Makefile make elasticsearch - # terminate helm server - pid=`/bin/pidof helm` - kill ${pid} + # terminate helm server (the last backgrounded task) + kill $! rm -rf ${helm_home} }