Skip to content

Commit

Permalink
trying to fix CI - round 4
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbdias committed Oct 16, 2024
1 parent 2242e9e commit 97839a6
Showing 1 changed file with 14 additions and 16 deletions.
30 changes: 14 additions & 16 deletions scripts/update_chart_deps.sh
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
time {
echo "Add helm repositories"
echo ""
echo "Add helm repositories"
echo ""

helm repo add traefik https://traefik.github.io/charts --force-update
helm repo add ory https://k8s.ory.sh/helm/charts --force-update
helm repo add jetstack https://charts.jetstack.io --force-update
helm repo add nats https://nats-io.github.io/k8s/helm/charts/ --force-update
helm repo add opentelemetry https://open-telemetry.github.io/opentelemetry-helm-charts --force-update
helm repo add traefik https://traefik.github.io/charts --force-update
helm repo add ory https://k8s.ory.sh/helm/charts --force-update
helm repo add jetstack https://charts.jetstack.io --force-update
helm repo add nats https://nats-io.github.io/k8s/helm/charts/ --force-update
helm repo add opentelemetry https://open-telemetry.github.io/opentelemetry-helm-charts --force-update

PROJECT_ROOT=$(dirname "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)")
PROJECT_ROOT=$(dirname "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)")

for chart_dir in $PROJECT_ROOT/charts/*; do
printf "\n\e[42m\e[1mClear dependencies for $(basename "$chart_dir")\e[0m\e[0m\n"
rm "$chart_dir/charts/*"
for chart_dir in $PROJECT_ROOT/charts/*; do
printf "\n\e[42m\e[1mClear dependencies for $(basename "$chart_dir")\e[0m\e[0m\n"
rm "$chart_dir/charts/*"

printf "\n\e[42m\e[1mBuilding dependencies for $(basename "$chart_dir")\e[0m\e[0m\n"
helm dependency update "$chart_dir"
done
}
printf "\n\e[42m\e[1mBuilding dependencies for $(basename "$chart_dir")\e[0m\e[0m\n"
helm dependency update "$chart_dir"
done

0 comments on commit 97839a6

Please sign in to comment.