Skip to content

Instantly share code, notes, and snippets.

@matheusneder
Created September 12, 2019 19:14
Show Gist options
  • Save matheusneder/0544e55e7f8ec50e90d1316f933b1735 to your computer and use it in GitHub Desktop.
Save matheusneder/0544e55e7f8ec50e90d1316f933b1735 to your computer and use it in GitHub Desktop.
#!/bin/bash
set -e
if [ -z "$HELM_APPLY_REPO" ]
then
echo "Falta a variavel de ambiente 'HELM_APPLY_REPO'." >&2
exit 1
fi
cd $HELM_APPLY_REPO
git pull
helm-apply $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment