Created
March 5, 2018 14:04
-
-
Save mhrivnak/4665e6e46c45d8dbd6c12fb87715fa55 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# This is just where I keep my apb tool installed in a virtualenv | |
PYTHON=~/pythons/apb/bin/python | |
PATH=$PATH:~/pythons/apb/bin/ | |
for chart in $(helm search stable | grep -v NAME | awk '{ print $1 }' | sed -e 's/stable\///'); do | |
echo $chart | |
mkdir -p $chart | |
pushd $chart | |
helm fetch "stable/$chart" | |
helm2bundle *.tgz | |
image="docker.io/helmbundle/$chart-apb" | |
apb build --tag $image | |
docker push $image | |
popd | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment