9c3ebe68c7
- Update Helm to v2.10.0 - Update hapi protoc gen files Change-Id: Ibcf813e4d79df104e972fae9f9328fb49b403649
14 lines
597 B
Bash
Executable File
14 lines
597 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
HELM_BRANCH='release-2.10'
|
|
|
|
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
|