Skip to content

Sort files when capturing user_dir contents for populateValuesYAML fu… #716

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

## unreleased

* **Overall**
* [CHANGE] A minor tweak to an internal function, v4m_replace, was made to improve its handling of
some special characters.

* **Metrics**
* [CHANGE] Removed temporary fix (added w/1.2.27) replacing a small number of Grafana dashboards
inherited from the Kube-Prometheus Stack Helm chart that did not work with Grafana 11.x due to Angular
Expand All @@ -24,7 +20,11 @@ deployment of the (generally unused) `Node Exporter/MacOS` dashboard within Graf
* [UPGRADE] Prometheus Operator has been upgraded from 0.76.1 to 0.79.2.
* [UPGRADE] Prometheus Pushgateway has been upgraded from 1.9.0 to 1.11.0.


* **Overall**
* [CHANGE] A minor tweak to an internal function, `v4m_replace`, was made to improve its handling of
some special characters.
* [CHANGE] A minor tweak to an internal function, `populateValuesYAML`, was made to sort the list of
files in the USER_DIR directory captured as part of deploying the V4M Helm Chart.


## Version 1.2.33 (14JAN2025)
Expand Down
2 changes: 1 addition & 1 deletion bin/version-include.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function populateValuesYAML() {
echo '"user_dir":' >> "$v4mValuesYAML"
echo " path: $USER_DIR" >> "$v4mValuesYAML"
echo ' files: |' >> "$v4mValuesYAML"
l=($(find "$USER_DIR" -type f))
l=($(find "$USER_DIR" -type f|sort))
for (( i=0; i<${#l[@]}; i++ )); do
fullPath=${l[i]}
path=${fullPath#"$USER_DIR/"}
Expand Down