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 03b600b commit b93691a
Show file tree
Hide file tree
Showing 193 changed files with 8 additions and 35,490 deletions.
13 changes: 5 additions & 8 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
helm repo add $random_name() $repo || true
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 <<< $(yq eval '.dependencies[] | .repository' "$chart_lock_file")
done <<< "$(find . -mindepth 2 -maxdepth 2 -name "Chart.lock")
- name: Helm build
working-directory: helm
Expand Down Expand Up @@ -76,7 +73,7 @@ jobs:
- name: Commit The Chart Realease
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "update :: new chart realease"
commit_message: ${{ github.event.head_commit.message }}
branch: gh-pages
commit_options: '--no-verify --signoff'
repository: .
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 b93691a

Please sign in to comment.