Skip to content

Instantly share code, notes, and snippets.

@mmontes11
Created April 19, 2021 19:54
Show Gist options
  • Select an option

  • Save mmontes11/b906d71e086cd377e5f39aab0b4a95cc to your computer and use it in GitHub Desktop.

Select an option

Save mmontes11/b906d71e086cd377e5f39aab0b4a95cc to your computer and use it in GitHub Desktop.
#!/bin/bash
set -e
echo "☸️ Updating repos..."
helm repo add gotway https://charts.gotway.duckdns.org
helm repo add mmontes https://charts.mmontes-dev.duckdns.org
helm repo add chartmuseum https://chartmuseum.github.io/charts
helm repo update
echo "☸️ Updating deps..."
for ch in $(ls -d charts/*); do
helm dep update $ch
done
helm plugin install https://github.com/chartmuseum/helm-push.git
for path in $(ls -d charts/*); do
name=$(basename "$path")
echo "📦 Releasing '${name}'..."
helm push "$path" gotway
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment