- use $! instead of pidof to get the last backgrounded helm service
- add a sleep after helm serve to ensure the servie is running
Issue-ID: INF-42
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I431b49da630c43948b956b702bf57480d44096b8
# Host a server for the charts
helm serve --repo-path . &
# Host a server for the charts
helm serve --repo-path . &
helm repo rm local
helm repo add local http://localhost:8879/charts
helm repo rm local
helm repo add local http://localhost:8879/charts
rm -rf elasticsearch/Makefile
make elasticsearch
rm -rf elasticsearch/Makefile
make elasticsearch
- # terminate helm server
- pid=`/bin/pidof helm`
- kill ${pid}
+ # terminate helm server (the last backgrounded task)
+ kill $!
# Host a server for the charts
helm serve --repo-path . &
# Host a server for the charts
helm serve --repo-path . &
helm repo rm local
helm repo add local http://localhost:8879/charts
helm repo rm local
helm repo add local http://localhost:8879/charts
make logstash
make elasticsearch-curator
make logstash
make elasticsearch-curator
- # terminate helm server
- pid=`/bin/pidof helm`
- kill ${pid}
+ # terminate helm server (the last backgrounded task)
+ kill $!
# Host a server for the charts
tmpdir=`mktemp -d ${B}/charts-XXXXXX`
helm serve ${tmpdir} --address localhost:8879 --url http://localhost:8879/charts &
# Host a server for the charts
tmpdir=`mktemp -d ${B}/charts-XXXXXX`
helm serve ${tmpdir} --address localhost:8879 --url http://localhost:8879/charts &
helm repo rm local
helm repo add local http://localhost:8879/charts
helm repo rm local
helm repo add local http://localhost:8879/charts
make rabbitmq
make ceph-rgw
make rabbitmq
make ceph-rgw
- # terminate helm server
- pid=`/bin/pidof helm`
- kill ${pid}
+ # terminate helm server (the last backgrounded task)
+ kill $!
# Host a server for the charts
helm serve --repo-path . &
# Host a server for the charts
helm serve --repo-path . &
helm repo rm local
helm repo add local http://localhost:8879/charts
helm repo rm local
helm repo add local http://localhost:8879/charts
make panko
make placement
make panko
make placement
- # 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
rm -rf ${helm_home}
# Remove the helm-toolkit tarball
# Host a server for the charts
helm serve --repo-path . &
# Host a server for the charts
helm serve --repo-path . &
helm repo rm local
helm repo add local http://localhost:8879/charts
helm repo rm local
helm repo add local http://localhost:8879/charts
- # 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
rm -rf ${helm_home}
# Remove the helm-toolkit tarball
# Host a server for the charts
helm serve --repo-path . &
# Host a server for the charts
helm serve --repo-path . &
helm repo rm local
helm repo add local http://localhost:8879/charts
helm repo rm local
helm repo add local http://localhost:8879/charts
make node-feature-discovery
cd -
make node-feature-discovery
cd -
- # Terminate helm server
- pid=`/bin/pidof helm`
- kill ${pid}
+ # Terminate helm server (the last backgrounded task)
+ kill $!
rm -rf ${helm_home}
# Create a chart tarball compliant with sysinv kube-app.py
rm -rf ${helm_home}
# Create a chart tarball compliant with sysinv kube-app.py