X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-stx%2Frecipes-core%2Fstx-openstack-armada-app%2Fopenstack-helm-infra_1.0.bb;h=2b7e1969ab18b85245da965ab1df6b674c4681a2;hb=309feac1a899c73782c0a30110d1afba1a400975;hp=92ad89935fb74d409520104c0f13c1af87375501;hpb=57fdea704bd62af847872c40508f00aa1d7cac60;p=pti%2Frtp.git diff --git a/meta-stx/recipes-core/stx-openstack-armada-app/openstack-helm-infra_1.0.bb b/meta-stx/recipes-core/stx-openstack-armada-app/openstack-helm-infra_1.0.bb index 92ad899..2b7e196 100644 --- a/meta-stx/recipes-core/stx-openstack-armada-app/openstack-helm-infra_1.0.bb +++ b/meta-stx/recipes-core/stx-openstack-armada-app/openstack-helm-infra_1.0.bb @@ -78,6 +78,7 @@ do_compile () { # Host a server for the charts tmpdir=`mktemp -d ${B}/charts-XXXXXX` helm serve ${tmpdir} --address localhost:8879 --url http://localhost:8879/charts & + sleep 1 helm repo rm local helm repo add local http://localhost:8879/charts @@ -92,9 +93,8 @@ do_compile () { make rabbitmq make ceph-rgw - # terminate helm server - pid=`/bin/pidof helm` - kill ${pid} + # terminate helm server (the last backgrounded task) + kill $! rm -rf ${helm_home} }