Skip to content

Commit

Permalink
🔀 :: git action
Browse files Browse the repository at this point in the history
  • Loading branch information
rlaisqls committed Aug 24, 2023
1 parent 1fba400 commit 202e938
Show file tree
Hide file tree
Showing 193 changed files with 5 additions and 35,487 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ jobs:
- name: Add helm repo
working-directory: helm
run: |
function random_name() {
echo $(LC_ALL=C tr -dc 'a-zA-Z0-9' < /dev/urandom | fold -w 12 | head -n 1)
}
find . -mindepth 1 -maxdepth 1 -type d |
while IFS= read -r package_directory; do
helm dependency update $(basename "$package_directory")
Expand All @@ -42,10 +38,11 @@ jobs:
while IFS= read -r chart_lock_file; do
while IFS= read -r repo; do
if [ -n "$repo" ]; then
random_name=$(LC_ALL=C tr -dc 'a-zA-Z0-9' < /dev/urandom | fold -w 12 | head -n 1)
helm repo add $random_name() $repo || true
fi
done <<< $(yq eval '.dependencies[] | .repository' "$chart_lock_file") # repos
done <<< "$(find . -name "Chart.lock") # chart lock files
done <<< "$(find . -mindepth 2 -maxdepth 2 -name "Chart.lock") # chart lock files
- name: Helm build
working-directory: helm
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**/charts/*
!**/charts/crds/
!**/charts/crds/**
Binary file removed helm/argocd/charts/redis-ha-4.16.0.tgz
Binary file not shown.
27 changes: 0 additions & 27 deletions helm/cert-manager/.helmignore

This file was deleted.

12 changes: 0 additions & 12 deletions helm/cost-analyzer/Chart.lock

This file was deleted.

23 changes: 0 additions & 23 deletions helm/cost-analyzer/Chart.yaml

This file was deleted.

70 changes: 0 additions & 70 deletions helm/cost-analyzer/README.md

This file was deleted.

Loading

0 comments on commit 202e938

Please sign in to comment.