Bug for build helm-toolkit

About helm-toolkit chart, you should to path <HELM_CHART_ROOT_PATH> run the script when build helm-toolkit, not here.Otherwise, the old code will not work here.

Change-Id: Ic3ee9209742a74153935faa7de20411461eabef8
This commit is contained in:
jinyuanliu 2021-01-27 07:21:41 -05:00
parent ceb3b08428
commit fd6ad0bab4

View File

@ -18,6 +18,8 @@ sudo -H -E pip3 install \
-c${UPPER_CONSTRAINTS_FILE:=https://releases.openstack.org/constraints/upper/${OPENSTACK_RELEASE:-stein}} \
cmd2 python-openstackclient python-heatclient --ignore-installed
export HELM_CHART_ROOT_PATH="${HELM_CHART_ROOT_PATH:="${OSH_INFRA_PATH:="../openstack-helm-infra"}"}"
sudo -H mkdir -p /etc/openstack
sudo -H chown -R $(id -un): /etc/openstack
FEATURE_GATE="tls"; if [[ ${FEATURE_GATES//,/ } =~ (^|[[:space:]])${FEATURE_GATE}($|[[:space:]]) ]]; then
@ -52,4 +54,4 @@ EOF
fi
#NOTE: Build helm-toolkit, most charts depend on helm-toolkit
make helm-toolkit
make -C ${HELM_CHART_ROOT_PATH} helm-toolkit