armada/tools/helm-hapi.sh
Sean Eagan e51db14add Revert "Move to helm 2.14"
There is a breaking change in helm 2.14.0 [0]. This is expected to be fixed in helm 2.14.1, reverting until we can update to that.

[0]: https://github.com/helm/helm/issues/5750

This reverts commit 89d98fb827.

Change-Id: Ica6d51b5c67a26c356804fd69d466e88ad5c216b
2019-06-05 20:11:53 +00:00

14 lines
592 B
Bash
Executable File

#!/usr/bin/env bash
HELM_BRANCH='v2.13.1'
git clone https://github.com/helm/helm ./helm -b $HELM_BRANCH
python -m grpc_tools.protoc -I helm/_proto --python_out=. --grpc_python_out=. helm/_proto/hapi/chart/*
python -m grpc_tools.protoc -I helm/_proto --python_out=. --grpc_python_out=. helm/_proto/hapi/services/*
python -m grpc_tools.protoc -I helm/_proto --python_out=. --grpc_python_out=. helm/_proto/hapi/release/*
python -m grpc_tools.protoc -I helm/_proto --python_out=. --grpc_python_out=. helm/_proto/hapi/version/*
find ./hapi/ -type d -exec touch {}/__init__.py \;
rm -rf ./helm