kolla-kubernetes/tools/build_helm_templates.sh
Kevin Fox e8b988469e Helm template testing
This PS lays the groundwork for testing helm packages
rendered yaml in the gate. This should allow us to test
many more configurations much more quickly.

It also fixes a problem it discovered. A broken
cinder-backup template.

Change-Id: I24a70fb4dbdbf06f8340abe3b7e72f794e09a5d9
2017-01-30 19:04:37 -08:00

13 lines
328 B
Bash

#!/bin/bash
mkdir -p /tmp/.helmbuild.$$
cd /tmp/.helmbuild.$$
export GOPATH=`pwd`
export PATH="$PATH:$(pwd)/bin"
mkdir -p $GOPATH/src/github.com/technosophos/
cd $GOPATH/src/github.com/technosophos/
git clone --depth=1 https://github.com/technosophos/helm-template.git
cd helm-template
make install
cd
rm -rf /tmp/.helmbuild.$$