Merge "build: support helm-toolkit pinning"

This commit is contained in:
Zuul 2019-03-12 19:29:08 +00:00 committed by Gerrit Code Review
commit 16a75d9622
1 changed files with 5 additions and 1 deletions

View File

@ -20,6 +20,9 @@ HELM=${1}
HELM_PIDFILE=${2}
SERVE_DIR=$(mktemp -d)
# TODO: Set this back to "master" when uplifting armada to helm 2.13.1.
HTK_STABLE_COMMIT=${HTK_COMMIT:-"d6996b8004db35acad7d51412b0b3216189e745f"}
${HELM} init --client-only
if [[ -s ${HELM_PIDFILE} ]]; then
@ -65,8 +68,9 @@ fi
{
cd "${SERVE_DIR}"
git clone --depth 1 https://git.openstack.org/openstack/openstack-helm-infra.git || true
git clone https://git.openstack.org/openstack/openstack-helm-infra.git || true
cd openstack-helm-infra
git reset --hard "${HTK_STABLE_COMMIT}"
make helm-toolkit
}