Skip to content

Commit

Permalink
Exclude common chart from the readme-generator changes
Browse files Browse the repository at this point in the history
Signed-off-by: Jota Martos <[email protected]>
  • Loading branch information
jotamartos committed Oct 19, 2023
1 parent 075f754 commit e32eb0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/generate-chart-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
curl -Lkso $TEMP_FILE $DIFF_URL
files_changed="$(sed -nr 's/[\-\+]{3} [ab]\/(.*)/\1/p' $TEMP_FILE | sort | uniq)"
# Adding || true to avoid "Process exited with code 1" errors
charts_dirs_changed="$(echo "$files_changed" | xargs dirname | grep -o "bitnami/[^/]*" | sort | uniq || true)"
charts_dirs_changed="$(echo "$files_changed" | xargs dirname | grep -o "bitnami/[^/]*" | grep -v "bitnami/common" | sort | uniq || true)"
for chart in ${charts_dirs_changed}; do
echo "Updating README.md for ${chart}"
readme-generator --values "charts/${chart}/values.yaml" --readme "charts/${chart}/README.md" --schema "/tmp/schema.json"
Expand Down
1 change: 1 addition & 0 deletions bitnami/common/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Looking to use our applications in production? Try [VMware Application Catalog](
## Parameters
## Special input schemas
### ImageRoot
Expand Down

0 comments on commit e32eb0a

Please sign in to comment.